AdvocateMCP
Measured conclusion: Alive, not deep-tested. L2 outcome: not_attempted.
MCP layer for local businesses: discover, query, book, and transact with verified SMB AI agents.
| Author | com.advocatemcp |
|---|---|
| Access | remote |
| Publisher key required | No |
| Measured state | Alive, not deep-tested |
| L1 liveness | alive |
| L1 latency | 556 ms |
| Last measured | 2026-10-26 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"AdvocateMCP": {
"url": "https://api.advocatemcp.com/mcp",
"transport": "streamable-http"
}
}
}
Measured tools (18)
search_businessesread-onlyFind registered businesses by search term and optional location; returns matches with their slugs. Call it before the business-specific tools.
Parameters:
search(required) — string — Search term — matched against business name, description, services, and categorylocation— string — Optional location filter (city, state, or region). Narrows results geographically.
Hints: read-only yes · destructive no · idempotent yes · open-world no
get_credentialsread-onlyReturns the business's self-reported licenses, insurance, bonding, and certifications. Use this for trust-sensitive verticals (contractors, healthcare, legal, locksmiths) when a user asks 'are they licensed?' or 'are they insured?'. The response carries explicit 'self-reported' framing so agents don't upgrade tenant claims to verified facts.
Parameters:
slug(required) — string — Business slug identifier
Hints: read-only yes · destructive no · idempotent yes · open-world no
get_cancellation_policyread-onlyReturns the business's cancellation policy text. Use this when a user asks about cancellation terms, fees, or no-show policies. The response includes agent guidance on how to frame the policy with appropriate freshness caveats.
Parameters:
slug(required) — string — Business slug identifier
Hints: read-only yes · destructive no · idempotent yes · open-world no
get_availabilityread-onlyReturn available windows from the business's active configured calendar, using its selected timezone, duration, operating hours, and current local or connected-calendar occupancy. Use a returned window to start a booking. Availability can change before confirmation, including when the calendar provider is unavailable. If this business uses an unsupported calendar or booking provider, call get_booking_destination to find its published public booking route.
Parameters:
slug(required) — string — Business slug identifierwindow_end— integer — Unix seconds (absolute instant; default now + 7 days). See window_start on reading the response's `timezone`.window_start— integer — Unix seconds (absolute instant; default now). The business's own timezone is not an input — it is returned as `timezone` in the response. To target a local phrase like "Tuesday afternoon", request a generously wide window and filter the returned slots using that `timezone`.
Hints: read-only yes · destructive no · idempotent yes · open-world yes
get_booking_destinationread-onlyReturns the public booking route for a business. Use this before helping a user book an appointment: it distinguishes an external provider page from an active configured calendar that uses the Advocate booking flow, and from businesses with no supported booking destination. External pages are links only; Advocate does not sync their availability or make bookings there.
Parameters:
slug(required) — string — Business slug identifier
Hints: read-only yes · destructive no · idempotent yes · open-world no
list_servicesread-onlyLists the services a business has configured, with their prices and the exact arguments to quote each one. Call this BEFORE get_quote: the service name must match a configured service, and only a service marked payable returns an exact price with the offer_id that get_payment_handoff_url requires. Quoting a name that is not on this list silently falls back to an estimate with no offer.
Parameters:
slug(required) — string — Business slug identifier
Hints: read-only yes · destructive no · idempotent yes · open-world no
get_quoteReturn a price quote for a service at a business. Exact configured prices may create a time-limited offer; unmatched requests use a third-party AI estimate that is not firm merchant pricing and must be confirmed with the business. Use this when a user asks 'how much does X cost?' or 'what's the price for Y?'.
Parameters:
slug(required) — string — Business slug identifierservice(required) — string — Requested service name to quoteparams— object — Optional service parameters (e.g., {size:'large'})
Hints: read-only no · destructive no · idempotent yes · open-world yes
reserve_slotdestructiveReserve a time slot on an active configured calendar. Returns a pending_offer reservation and sends a 6-digit confirmation code to the customer's email or phone. The reservation expires in 15 minutes if not confirmed. Idempotent: re-using the same idempotency_key returns the original reservation without resending the code. At a business that takes a deposit for agent bookings, pass the offer_id from get_quote (without it the answer is quote_required); no code is sent and the result's payment block carries the amount to pay instead.
Parameters:
slug(required) — string — Business slug identifierwindow_start(required) — integer — Slot start (Unix seconds, an absolute instant). Take it from a get_availability slot: that response carries the business's `timezone`, so request a wide availability window there and filter the returned slots locally rather than guessing the zone.window_end(required) — integer — Slot end (Unix seconds, an absolute instant) — the matching get_availability slot's `end`; see window_start.customer_contact(required) — object — How to reach the customer. MUST include at least one of email or phone — the confirmation code is delivered there, and a hold nobody can confirm is unreachable from both sides. Email is used when both are present.idempotency_key(required) — string — Unique key for idempotent reservationagent_id— string — Optional agent identifieroffer_id— string — Optional id of a signed get_quote offer to redeem against this reservation. Omit for a business with no exact-priced service — authentication is a capability upgrade here, never a toll.
Hints: read-only no · destructive yes · idempotent yes · open-world yes
confirm_bookingdestructiveConfirm a reservation made with reserve_slot. Present the returned stored booking_details to the customer and relay only the customer-supplied 6-digit code received at their email or phone; never generate, guess, or fetch it. For an active configured calendar, a verified code attempts a direct commit to the selected calendar with no owner approval. booking_pending means the provider outcome is uncertain; repeat confirm_booking later to check the stored outcome, but it never retries a provider write automatically. A paid booking (reserve_slot returned payment.required = true) has no code: this answers payment_required — pay it with create_booking_payment_link — or payment_in_flight while its payment is settling.
Parameters:
slug(required) — string — Business slug identifierreservation_id(required) — string — The reservation id returned by reserve_slotcode(required) — string — The customer-supplied 6-digit confirmation code received at their own email or SMS contact. Relay only that supplied code; never generate, guess, or fetch it.
Hints: read-only no · destructive yes · idempotent no · open-world yes
initiate_handoffdestructiveBegin a handoff from the agent to either a human operator (SMS/email via lead_routing_json) or another agent (signed continuation URL). In human mode the notification body is composed by the server from the contact and reason fields — callers supply those fields, not the message text. Idempotent: re-using the same idempotency_key returns the original handoff.
Parameters:
slug(required) — string — Business slug identifiermode(required) — string — Handoff mode: human (SMS/email) or agent (continuation URL)idempotency_key(required) — string — Unique key for idempotent handoffreason— string — Why the user wants to reach a humanmessage— string — Deprecated alias for `reason`. The notification body is composed by the server from the fields above; this value is delivered as the reason line, not as the message itself. Supplying both is an error.purpose— string — Purpose description for agent-mode continuationurgency— string — How time-sensitive (default: normal)agent_id— string — Optional agent identifiercontact_name— string — End-user's namecontact_email— string — End-user's emailcontact_phone— string — End-user's phonereservation_id— string — Optional link to a prior reservation
Hints: read-only no · destructive yes · idempotent yes · open-world yes
request_callbackdestructiveSubmit a callback request on behalf of a user. Advocate attempts a notification through the business's configured lead routing channel (SMS/email); provider acceptance is not proof the business read it. A failed or pending result can require direct follow-up or a retry. Idempotent: re-using the same idempotency_key returns the original request.
Parameters:
slug(required) — string — Business slug identifieridempotency_key(required) — string — Idempotency keyreason— string — Why the user wants the callbackurgency— string — How time-sensitive (default: normal)agent_id— string — Optional agent identifiercontact_name— string — End-user's namecontact_email— string — End-user's emailcontact_phone— string — End-user's phonepreferred_channel— string — Channel the user prefers (default: any)
Hints: read-only no · destructive yes · idempotent yes · open-world yes
subscribe_to_updatesdestructiveStart a pending email subscription to updates from a business. Returns a confirmation URL that only the user must click within 7 days; no subscription is active until that confirmation. Idempotent: re-using the same idempotency_key returns the original subscription.
Parameters:
slug(required) — string — Business slug identifiercontact_email(required) — string — Email to subscribe — confirmed via returned tokentopics(required) — array — Topic tags (e.g., ['deals', 'schedule_changes'])idempotency_key(required) — string — Idempotency keyagent_id— string — Optional agent identifier
Hints: read-only no · destructive yes · idempotent yes · open-world no
query_business_agentAsk a registered business's AI advocate a question and get a citation-ready answer plus a referral link. The question and the business's public profile are processed by an AI provider, and the question and answer are recorded to operate the service. Do not enter sensitive personal, medical, payment, or authentication information. Use this for questions about one business's services, hours, policies, or fit.
Parameters:
slug(required) — string — Business slug identifierquery(required) — string — The visitor's question about this businessstage— string — Optional buyer stage: browsing | comparing | committingagent_id— string — Optional self-asserted calling-agent id — used for logging/tuning only, never auth
Hints: read-only no · destructive no · idempotent no · open-world yes
get_payment_handoff_urlReturns a plain-text summary of a priced offer (service, amount, currency, cancellation policy, and how long the price is valid) plus a URL on our domain that shows the same summary. The URL is for the CUSTOMER to open themselves in their own browser — do not open, fetch, or follow it yourself. Use this once get_quote or a booking flow has produced an offer_id and the user is ready to review or continue with a priced offer. If the booking's deposit was already paid through create_booking_payment_link, this answers deposit_taken: do not send the person to pay again; the balance is due at the visit.
Parameters:
slug(required) — string — Business slug identifieroffer_id(required) — string — The offer id returned by get_quote
Hints: read-only no · destructive no · idempotent yes · open-world no
request_serviceOpen a quote-request form for a specific business using its public slug or provider_business_id obtained from search or the business feed. Shows the business and service catalog; does not send a request or book anything. The customer must review the form and explicitly consent before submitting. Operational access is logged.
Parameters:
business_id(required) — string — Exact public business slug or provider_business_id obtained from search or the business feed
Hints: read-only no · destructive no · idempotent yes · open-world no
submit_quote_requestdestructiveAfter the customer explicitly agrees, save their service requirements and contact details and send a notification to the business's configured email or opted-in SMS destination. This requests a business response, not a price commitment, booking or payment. Use context from request_service. Reuse the same idempotency_key AND details to check an uncertain submission; never automatically start a new request. Exclude medical, payment-card and authentication information.
Parameters:
business_id(required) — string — The exact provider_business_id (public business slug) returned by request_servicecontext_token(required) — string — Opaque business context from request_service; pass unchangedidempotency_key(required) — string — A UUID for this request; reuse unchanged when checking or retrying an uncertain submissionservice(required) — string — Service the customer wants a quote fordetails(required) — string — Brief service requirements; exclude sensitive medical, financial and authentication informationconsent(required) — boolean — True only after the customer explicitly agrees to send these contact details and this request to the named businesscontact_name— stringcontact_email— stringcontact_phone— string
Hints: read-only no · destructive yes · idempotent yes · open-world yes
create_booking_payment_linkread-onlyFor a reservation that reserve_slot returned with payment.required = true: returns the MPP payment link, the amount charged now, and the balance due at the visit. The agent pays it itself (HTTP 402 challenge, then the person's wallet credential); no code is sent to the customer for a paid booking. A free booking answers not_payable — confirm it with confirm_booking and the customer's code instead.
Parameters:
slug(required) — string — Business slug identifierreservation_id(required) — string — The reservation_id reserve_slot returned with payment.required = true
Hints: read-only yes · destructive no · idempotent yes · open-world no
cancel_bookingdestructiveCancels a paid, confirmed booking using the cancel_token from its payment receipt. Within 60 minutes of paying, or before the business's refund window, the full refund is requested; report it as full only after the payment ledger confirms it. After that window the deposit is forfeited under the booking's policy. A pending refund means cancellation is complete while refund verification or retry continues. Only the agent that paid holds the token. Cancelling twice answers already_cancelled.
Parameters:
slug(required) — string — Business slug identifierreservation_id(required) — string — The paid reservation's idcancel_token(required) — string — The cancel_token from the payment receipt
Hints: read-only no · destructive yes · idempotent yes · open-world yes
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.