Skip to main content
Glama

Ask a business for a quote

request_quote
Idempotent

Ask a business's own inbox for a price for what your person describes: only for a listed business with an inbox, and only when your person asked you to contact it. It carries their name and the email address they agreed to give (consent): ask them first. The business answers by email. Keep the access_token for your person: it reads the request and its quote.

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>",
      "what": "<what>",
      "details": "<details>",
      "contact": "<contact>",
      "consent": "<consent>"
    },
    "name": "request_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
whatYesWhat the quote is for, in a few words: Wheel rebuild, Kitchen tiling.
domainYesThe business's domain, as search_businesses or get_business gave it, like bikes.example.
consentYestrue only when your person agreed to give this business their name and email address for its answer. Without it nothing is sent.
contactYesWho the request is from, as your person agreed to give it to this business: their name and their email address. Never a phone number.
detailsYesWhat the business needs to know to give a price.
languageNoThe language your person wants the answer in, as a tag like en, pt or pt-BR.
quantityNoHow many, when it is a number of things.
needed_byNoThe date your person needs it by, as YYYY-MM-DD.

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: -"true only when your person agreed to give this business their email address for its answer. Without it nothing is sent."New value: +"true only when your person agreed to give this business their name and email address for its answer. Without it nothing is sent."
    • changedInput schema / properties / contact / description
      Previous value: -"Where the business can answer. Only an email address and a name: never a phone number."New value: +"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. Changed28 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / needed_by / 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 / title
      Removed value: -"MCP request_quote: 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_quote: structuredContent"
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare this as a non-read-only, non-destructive, idempotent, open-world write, and the description complements that well by disclosing the delivery channel (the business's inbox, answered by email) and the consent gate. The line about keeping the access_token to read the request and its quote adds useful post-call context that the agent would not otherwise know.

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?

Four sentences, front-loaded with the core action followed by eligibility gates, consent, and the answer channel. Dense but each sentence carries a distinct constraint; the opening phrasing is slightly tangled but not wasteful.

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?

For an eight-parameter, nested-object, open-world write tool with an output schema, the description covers the key things an agent needs: eligibility, consent, what the business receives, and how the answer arrives. The presence of an output schema excuses it from explaining return values.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already explains every one of the eight parameters in detail, including the consent boolean, the contact object, and the language tag. The description only reinforces the consent and name/email semantics, adding little beyond what the structured fields carry, so baseline 3 applies.

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?

The description names a specific verb and target: asking a business's own inbox for a price for a described job. It implicitly distinguishes itself from the sibling request_booking (a price, not a booking) but never draws that contrast explicitly, so the agent must infer which of the two quote/booking flows to pick.

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 states explicit preconditions and exclusions: only for a listed business that has an inbox, and only when the person has asked you to contact it. It also directs the agent to obtain consent first, which functions as a when-not gate ('without it nothing is sent' in the schema reinforces this).

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