Infrastructure
For AI agents
Two forms on AI Spy register WebMCP tools: the free-check form at /free-check (requestFreeAiVisibilityAudit) and the paid-service enquiry form at /enquire (requestAuditEnquiry). Registration uses document.modelContext / navigator.modelContext — an early-stage W3C draft with limited browser support today — and both forms are also annotated with the declarative toolname/tooldescription/toolparamdescription attributes. For agents without WebMCP support, the same action is available as a plain JSON endpoint below.
POST /api/audit-request
Request a free AI Spy audit. Body: { name, email, phone?, websiteAddress, competitors?, sampleQuestions? }. The business's name, what it does and where it is are read from its website. (company, companyLocation, whatBusinessDoes and marketsSoldInto are still accepted if you have them.) sampleQuestions is optional: give one or more customer questions (one per line) and they're built out to five as test prompts, or leave it out and we write all five. Response includes a `reference` ID (e.g. AISPY-7F3K9M) for tracking the request.
POST /api/enquiry
Enquire about a paid service. Body: { service, name, company, email, phone?, websiteAddress, markets?, message? }, where service is one of tracker (monthly report), reviewed, managed or not-sure. The older values full-audit, audit-fix and retest are still accepted. Response includes a `reference` ID for tracking the enquiry.
Note: submitting a request or enquiry does not send an automated confirmation email — they are reviewed and replied to directly (free-audit requests typically within 3 working days). Do not assume immediate confirmation.