Skip to main content
Glama

Send a request to several matching businesses

request_match
Destructive

Sends one booking request, quote request or question from the user to the directory, to be matched with businesses, instead of to one named business. query and place take the words for the kind of business and the place, as search_businesses does; with no place, only businesses that work online or ship here are asked, and a booking that names a place goes only to businesses in it or near it. The businesses asked are the first that search lists for those words and place (nothing is sold for placement; among equals the order changes daily) that can take this request now: they have joined and are taking requests, take this kind, its answers answer their required questions and, for a booking with a time, they have it open when they offer open times. max_businesses says how many: 5 by default, at most 8. It contacts real business owners in the user's name, with the name and the phone number or email address the user gave. user_requested: true states that the user explicitly asked for their request to be sent to several matching businesses; a call without it is refused and sends nothing. The same request sent again soon after returns the first match, with duplicate true, and sends nothing new; a match counts as one request against the daily limit for the user's phone number or email address. On an address without a key the user confirms every request once first, by texting a code to our number from the phone they gave (confirm says how), or with only an email address by a link we email them, and no business hears anything until then. We never text the user first; after they text us, the answers come in that conversation. Each business is then sent the request, told that others have it too; other matching businesses nearby can see it on their own pages and answer it too. Each may accept, pass, reply or put a question to the user, as with send_request, and every answer and question reaches the user through us without their contact. The user then chooses one business, from the link they are sent or through answer_request with choose: that business alone is given the user's name and contact (the others see only the first name and the words), and the others' copies are closed as not chosen. If none is chosen within the time to answer, the user is told, with the numbers of those that answered. get_request_status follows it by the public_ref returned: match.replies lists each business's answer. When outcome is no_match, nothing was sent or kept, and contacts lists the businesses an ordinary search finds. next_step describes, in plain words, what happens next for the user.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>",
      "query": "<query>",
      "summary": "<summary>",
      "customer": "<customer>",
      "user_requested": "<user_requested>"
    },
    "name": "request_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesbooking: the user wants a time with a business. quote: the user wants to know what a job would involve. question: anything else the user wants to ask.
placeNoWhere: a town, optionally with its state or region, or a postcode. Every word of it has to match where a business is or the places it serves, so a longer place matches fewer businesses. A booking that names a place goes only to businesses that serve in person in it or near it; for a quote or a question, businesses that work online or ship to the place's country are asked too. Left out, as when the user needs no one in person, only businesses that work online or ship here are asked.
queryYesThe kind of business wanted, in a few plain words, as search_businesses takes them in query. The businesses asked are those search_businesses lists first for these words and place, among those that can take the request.
answersNoAnswers to questions businesses ask, keyed by each question's id as get_business lists them in request.questions. Each business takes the answers to its own questions; one that cannot use the answer given is not asked, and one whose required question is not answered here is sent it with that question marked as not answered. They are the user's own answers, sent to each business as the user's words: a guessed answer reaches the business as if the user gave it.
summaryYesWhat the person needs, in plain words, at most 1000 characters, as the user wants it passed on, with their budget in their own words if they gave one: each business reads it as written.
customerYesWho the request is from: the user's own name and contact, as the user gave them. At least one of phone and email is needed: the confirmation message and every answer go there. Only the business the user chooses is given them; the others see the first name only.
quantityNoHow many people or items, when the user said.
time_windowNoOne time that would suit the user. For a booking, a business that offers open times is asked only when one of them starts in this window (or at start, when there is no end); a business that offers none is asked and answers whether it can. Nothing is held.
timing_noteNoTiming in words when exact times are not known, at most 120 characters.
max_businessesNoHow many businesses to send it to, from 1 to 8. Default 5.
user_requestedYesTrue states that the user has explicitly asked for this request to be sent to several matching businesses at once. Anything else is refused, and nothing is sent.
declared_clientNoOptional: the name of the assistant sending this. Recorded as a claim only.
idempotency_keyNoA random value made for this one request, such as a UUID. Another call with the same key and the same request returns the match already made instead of a second one.

Output Schema

NameRequiredDescriptionDefault
matchNoA request sent to several businesses at once with request_match.
reasonNoWhen outcome is no_match: why no business was asked.
statusNoAs get_request_status gives it: awaiting_customer, then delivered once sent, answered once a business answered or the user chose one.
confirmNo
outcomeYesno_match: no business that can take this request matched the words and place, so nothing was sent or kept; contacts lists what an ordinary search finds instead.
contactsNoWhen outcome is no_match: the businesses search_businesses finds for the words and place, joined or not, with their public phone numbers. Nothing was sent to them.
duplicateNoTrue when this match already existed and was returned instead of a new one.
next_stepYesPlain words describing what happens next for the user.
public_refNoThe reference for get_request_status.
respond_byNo
status_urlNoA page where the user can follow the request.
confirmation_sent_byNo"email" when a link to confirm was emailed. We never text one: "sms" is not used.
needs_customer_confirmationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description goes well past the annotations: it discloses that real business owners are contacted in the user's name, that only the chosen business receives full contact details, the confirmation gate (SMS code or email link) on keyless addresses, the daily-limit accounting, and duplicate detection returning duplicate: true. It does not spell out failure/error modes or the cost of re-sending beyond the daily-limit note, so it falls just short of the top.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and precondition are front-loaded, but the body is a single dense paragraph of run-on sentences covering matching, confirmation, responses, selection and follow-up. Several items (place, query, max_businesses) duplicate the schema verbatim, so the length is not fully earned.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 13 parameters, nested objects and an output schema, this is a complex tool, and the description covers the full lifecycle: send, matching rules, confirmation, duplicate handling, business responses, user selection, no_match behavior and next_step. Nothing an agent needs to call it correctly or explain the outcome is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning the schema does not: with no place only online/shipping businesses are asked, a booking naming a place goes only to businesses in or near it, and user_requested acts as a refusal gate rather than a plain flag. Some of it (max_businesses 5/8) merely restates the schema, so it is not a full 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource and draws the exact boundary against the sibling: "Sends one booking request, quote request or question ... to be matched with businesses, instead of to one named business." An agent can immediately tell this apart from send_request without reading the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly routes to alternatives: search_businesses for how query/place are interpreted, send_request for how businesses respond, answer_request with choose for picking a business, and get_request_status by public_ref for follow-up. It also names a hard precondition (user_requested: true, otherwise "a call without it is refused and sends nothing"), which is exactly the when-to-use guidance an agent needs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources