{
  "schema_version": "1.0",
  "webmcp": {
    "supported": true,
    "description": "Bilarna exposes its tools to browser-based AI agents via the WebMCP API (navigator.modelContext.provideContext). All tools listed here are callable directly from the browser on any Bilarna page without additional configuration.",
    "discovery": "https://bilarna.com/.well-known/mcp.json"
  },
  "tools": [
    {
      "name": "bilarna_match",
      "description": "Find verified B2B technology providers by service need. Returns only business_id, score and a short description for each match. Use the returned business_id with bilarna_request to submit a service request to a specific provider.",
      "parameters": {
        "need": {
          "type": "string",
          "required": true,
          "description": "Free-text service description (e.g. Salesforce CRM implementation, AWS cloud migration, AI chatbot development, Power BI dashboard setup, Kubernetes cluster configuration)"
        }
      },
      "endpoint": "https://api.bilarna.com/api/agent/match?api-version=1.0"
    },
    {
      "name": "bilarna_request",
      "description": "Submit a B2B technology service request. When business_id is provided the request is routed directly to that provider; otherwise it is sent to the best-matching providers. Contact details are captured for lead routing.",
      "parameters": {
        "business_id": {
          "type": "number",
          "required": false,
          "description": "The business_id of a provider returned by bilarna_match. When omitted the request is routed to relevant providers automatically."
        },
        "need": {
          "type": "string",
          "required": true,
          "description": "Free-text description of the service need (e.g. HubSpot onboarding, LLM-powered support bot, ERP migration to NetSuite, multi-cloud architecture design, MLOps pipeline setup)"
        },
        "contact_name": {
          "type": "string",
          "required": true,
          "description": "Full name of the decision-maker or project owner"
        },
        "email": {
          "type": "string",
          "required": true,
          "description": "Business email address — used for lead routing and provider outreach"
        },
        "phone": {
          "type": "string",
          "required": false,
          "description": "Business phone number for direct follow-up (optional)"
        },
        "category": {
          "type": "string",
          "required": false,
          "description": "Service category (e.g. AI & ML development, SaaS integration, cloud infrastructure, data analytics, no-code/low-code platforms, API development, IT security audit)"
        },
        "country": {
          "type": "string",
          "required": false,
          "description": "Country where the provider should be located (e.g. Turkey, United States, Germany, United Kingdom)"
        },
        "budget_max": {
          "type": "number",
          "required": false,
          "description": "Maximum project budget in USD"
        }
      },
      "endpoint": "https://api.bilarna.com/api/agent/request?api-version=1.0"
    },
    {
      "name": "bilarna_trial_audit",
      "description": "Start a free AEO (Answer Engine Optimization) audit for a website. Returns a jobId for polling. The audit runs asynchronously — use bilarna_trial_audit_status to check progress, then bilarna_trial_audit_results to get the full report once complete.",
      "parameters": {
        "url": {
          "type": "string",
          "required": true,
          "description": "Full website URL to audit (e.g. https://example.com)"
        }
      },
      "endpoint": "https://api.bilarna.com/api/agent/trial-audit/start?api-version=1.0"
    },
    {
      "name": "bilarna_trial_audit_status",
      "description": "Check the status and progress of a trial audit job. Returns status (Pending/Running/Completed/Failed), progress percentage, current step, and estimated time remaining. Poll until status is Completed, then use bilarna_trial_audit_results to get the report.",
      "parameters": {
        "job_id": {
          "type": "string",
          "required": true,
          "description": "The jobId returned by bilarna_trial_audit"
        }
      },
      "endpoint": "https://api.bilarna.com/api/agent/trial-audit/job-status?api-version=1.0"
    },
    {
      "name": "bilarna_trial_audit_results",
      "description": "Get the full AEO audit results for a completed trial audit job. Returns detailed checklist results with scores, recommendations, and solutions. Only call when the job status is Completed.",
      "parameters": {
        "job_id": {
          "type": "string",
          "required": true,
          "description": "The jobId returned by bilarna_trial_audit"
        }
      },
      "endpoint": "https://api.bilarna.com/api/agent/trial-audit/job-results?api-version=1.0"
    }
  ]
}
