Skip to main content
Glama

Request a booking

request_booking
Idempotent

Without start: a service's free times, from the business's own inbox; nothing is sent. With start: ask the inbox to book that time for your person, with their name and the email address they agreed to give (consent): ask them first. A priced service first answers with its terms: show them to your person, and send terms_sha only after their yes. Only for a listed business with an inbox, only when your person asked you to contact it; the business answers by email.

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": {
      "domain": "<domain>",
      "service": "<service>"
    },
    "name": "request_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoWithout start: the first day to show free times for (today when left out).
notesNoAnything the business should know.
startNoWhen your person wants it to start, from this tool's free times. Leave it out to see them first.
domainYesThe business's domain, as search_businesses or get_business gave it, like bikes.example.
consentNoNeeded with start: true only when your person agreed to give this business their name and email address for its answer.
contactNoNeeded with start: who the request is from, as your person agreed to give it to this business: their name and their email address. Never a phone number.
serviceYesThe service's name, as get_business lists it, or its id from this tool's answer.
languageNoThe language your person wants the answer in, as a tag like en, pt or pt-BR.
terms_shaNoThe confirm.terms_sha of the last answer, sent only after your person said yes to its summary.
party_sizeNoHow many people it is for, when that matters.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / consent / description
      Previous value: -"Needed with start: true only when your person agreed to give this business their email address."New value: +"Needed with start: true only when your person agreed to give this business their name and email address for its answer."
    • changedInput schema / properties / contact / description
      Previous value: -"Needed with start: where the business can answer."New value: +"Needed with start: who the request is from, as your person agreed to give it to this business: their name and their email address. Never a phone number."
    • changedInput schema / properties / contact / properties / email / description
      Previous value: -"Your person's email address, which they agreed to give this business for its answer."New value: +"Your person's email address, which they agreed to give this business for its answer: one that receives mail, never a no-reply one or one at .invalid, .test or localhost."
    • changedInput schema / properties / contact / properties / name / description
      Previous value: -"The name your person wants the business to use."New value: +"Your person's name, as they gave it for the business to use: with a letter in it and no @, and never a placeholder (N/A, Test, {{name}}). A business's inbox refuses a request without it, or with one that is not a name."
    • changedInput schema / properties / contact / required
      Previous value: -[
      -  "email"
      -]New value: +[
      +  "email",
      +  "name"
      +]
  2. Changed2 schema fields changed
    • removedOutput schema / properties
      Removed value: -{
      -  "access_token": {
      -    "type": "string"
      -  },
      -  "access_token_withheld": {
      -    "const": true,
      -    "type": "boolean"
      -  },
      -  "answer": {
      -    "type": "string"
      -  },
      -  "business": {
      -    "type": "string"
      -  },
      -  "confirm": {
      -    "properties": {
      -      "obligation_to_pay": {
      -        "type": "boolean"
      -      },
      -      "summary": {
      -        "type": "string"
      -      },
      -      "terms_sha": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "summary",
      -      "terms_sha",
      -      "obligation_to_pay"
      -    ],
      -    "type": "object"
      -  },
      -  "delivered": {
      -    "type": "boolean"
      -  },
      -  "elsewhere": {
      -    "format": "uri",
      -    "type": "string"
      -  },
      -  "inbox": {
      -    "format": "uri",
      -    "type": "string"
      -  },
      -  "item": {
      -    "properties": {
      -      "id": {
      -        "type": "string"
      -      },
      -      "state": {
      -        "type": "string"
      -      },
      -      "type": {
      -        "enum": [
      -          "message",
      -          "quote_request",
      -          "booking"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "type",
      -      "state"
      -    ],
      -    "type": "object"
      -  },
      -  "kept": {
      -    "type": "string"
      -  },
      -  "outcome": {
      -    "enum": [
      -      "delivered",
      -      "confirm",
      -      "times",
      -      "not_free",
      -      "refused",
      -      "busy",
      -      "failed",
      -      "switched_off",
      -      "no_inbox",
      -      "not_taken",
      -      "elsewhere"
      -    ],
      -    "type": "string"
      -  },
      -  "replayed": {
      -    "type": "boolean"
      -  },
      -  "service": {
      -    "properties": {
      -      "duration_min": {
      -        "type": "integer"
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name",
      -      "duration_min"
      -    ],
      -    "type": "object"
      -  },
      -  "services": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "status_url": {
      -    "format": "uri",
      -    "type": "string"
      -  },
      -  "times": {
      -    "items": {
      -      "properties": {
      -        "end": {
      -          "format": "date-time",
      -          "type": "string"
      -        },
      -        "start": {
      -          "format": "date-time",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "start",
      -        "end"
      -      ],
      -      "type": "object"
      -    },
      -    "maxItems": 24,
      -    "type": "array"
      -  },
      -  "timezone": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "outcome",
      -  "delivered",
      -  "business",
      -  "kept"
      -]
  3. Changed29 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / from / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    • removedInput schema / properties / start / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • removedInput schema / title
      Removed value: -"MCP request_booking: arguments"
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / description
      Added value: +"Every field is described in this tool's outputSchema at https://network.surfingdog.ai/.well-known/mcp/server-card.json."
    • removedOutput schema / properties / access_token / description
      Removed value: -"The inbox gives it once, to read or cancel this request at status_url: keep it for your person only."
    • removedOutput schema / properties / access_token_withheld / description
      Removed value: -"A repeat of a request already delivered: the inbox gives the access token only the first time."
    • removedOutput schema / properties / answer / description
      Removed value: -"The business's own words about the request, from its inbox: tell your person as they are."
    • removedOutput schema / properties / business / description
      Removed value: -"The business's domain."
    • removedOutput schema / properties / confirm / properties / summary / description
      Removed value: -"The terms in the business's words: show your person this, as it is."
    • removedOutput schema / properties / confirm / properties / terms_sha / description
      Removed value: -"Send it back as terms_sha only after your person said yes."
    • removedOutput schema / properties / delivered / description
      Removed value: -"Whether the request is in the business's inbox now."
    • removedOutput schema / properties / elsewhere / description
      Removed value: -"Where the business takes this kind of request instead."
    • removedOutput schema / properties / inbox / description
      Removed value: -"The business's own inbox, where the request went."
    • removedOutput schema / properties / item / description
      Removed value: -"The request as the inbox keeps it."
    • removedOutput schema / properties / kept / description
      Removed value: -"What this network keeps of the request."
    • removedOutput schema / properties / outcome / description
      Removed value: -"delivered: in the business's inbox. confirm: nothing sent yet, the terms are for your person to confirm. times: the free times, nothing sent. not_free: that time is not free, nothing sent. refused: the inbox refused it (its words say why). busy: the inbox asked for a pause. failed: the inbox could not be reached. switched_off: the business does not take requests carried by a network. no_inbox: the business has no inbox to carry it to, or its inbox has not said it takes requests carried by a network. not_taken: its inbox does not take this kind of request. elsewhere: it takes this kind somewhere else."
    • removedOutput schema / properties / replayed / description
      Removed value: -"The same request again: the inbox answered as it did the first time."
    • removedOutput schema / properties / service / description
      Removed value: -"The service a booking is for."
    • removedOutput schema / properties / service / properties / duration_min / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / service / properties / duration_min / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / services / description
      Removed value: -"The services the business books, when service named none of them."
    • removedOutput schema / properties / status_url / description
      Removed value: -"Where its state can be read, with access_token."
    • removedOutput schema / properties / times / description
      Removed value: -"Free times, in UTC; timezone says the business's own, the clock to tell your person."
    • removedOutput schema / properties / times / items / properties / end / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    • removedOutput schema / properties / times / items / properties / start / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    • removedOutput schema / properties / timezone / description
      Removed value: -"The business's time zone."
    • removedOutput schema / title
      Removed value: -"MCP request_booking: structuredContent"
  4. Added

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing that the no-`start` mode sends nothing, that `start` triggers a real request with consent gating, that priced services return terms requiring a confirm round-trip, and that the business replies by email. The annotations (readOnlyHint=false, idempotentHint=true, openWorldHint=true) cover the safety profile, so no contradiction; only failure/refusal behavior beyond the name rules is left implicit.

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

Conciseness4/5

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

Roughly 90 words for a 10-parameter, two-mode, consent-gated tool, and the mode split is front-loaded. The telegraphic, semicolon-chained style ('With start: ask the inbox…(consent): ask them first.') costs some readability but no sentence is filler.

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

Completeness4/5

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

Output schema exists, so return values need not be described, and the description covers consent, terms negotiation, allowed business types, and the email answer channel. The notable gap is disambiguation from request_quote for price-seeking requests, and there is no mention of failure modes or rate limits.

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 baseline is 3, but the description adds cross-field meaning the per-field schema cannot: the `start`-present vs `start`-absent mode split and the rule that `terms_sha` comes from the last answer only after a human yes. That sequencing semantics materially improves correct invocation.

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

Purpose4/5

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

States a specific verb and resource ('request_booking') and splits behavior into two clearly named modes: without `start` it returns a service's free times, with `start` it asks the inbox to book. It does not name or contrast the nearest sibling (request_quote), so an agent must infer which of the two request flows applies.

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

Usage Guidelines4/5

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

Gives concrete preconditions: 'Only for a listed business with an inbox, only when your person asked you to contact it' and the consent/terms sequencing ('ask them first', 'send terms_sha only after their yes'). What is missing is explicit routing against alternatives such as request_quote when the intent is a price rather than a time slot.

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