Skip to main content
Glama

Send a quote request

submit_quote_request
DestructiveIdempotent

After 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. If the result includes customer_notice, show it to the customer word for word.

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": {
      "business_id": "<business_id>",
      "context_token": "<context_token>",
      "idempotency_key": "<idempotency_key>",
      "service": "<service>",
      "details": "<details>",
      "consent": "<consent>"
    },
    "name": "submit_quote_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
consentYesTrue only after the customer explicitly agrees to send these contact details and this request to the named business
detailsYesBrief service requirements; exclude sensitive medical, financial and authentication information
serviceYesService the customer wants a quote for
business_idYesThe exact provider_business_id (public business slug) returned by request_service
contact_nameNo
contact_emailNo
contact_phoneNo
context_tokenYesOpaque business context from request_service; pass unchanged
idempotency_keyYesA UUID for this request; reuse unchanged when checking or retrying an uncertain submission
service_addressNoAddress where the customer needs the service, if relevant
preferred_windowNoCustomer's preferred day and time; this is a request, not a confirmed appointment

Output Schema

NameRequiredDescriptionDefault
codeNo
statusYes
messageYes
replayedNo
request_idYes
status_tokenNoPass to get_request_status to read the business's answer. For this caller only.
customer_noticeNoA sentence for the customer. When present, show it to them word for word.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / customer_notice
      Added value: +{
      +  "description": "A sentence for the customer. When present, show it to them word for word.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / status_token
      Added value: +{
      +  "description": "Pass to get_request_status to read the business's answer. For this caller only.",
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / preferred_window
      Added value: +{
      +  "description": "Customer's preferred day and time; this is a request, not a confirmed appointment",
      +  "maxLength": 120,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / service_address
      Added value: +{
      +  "description": "Address where the customer needs the service, if relevant",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / contact_email / pattern
      Previous value: -"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"New value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
  5. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true; the description goes further by naming the notification channel (business email or opted-in SMS), clarifying that the output is a request for a business response rather than a commitment, and specifying PII exclusions. It stops short of explaining what destructive means here (whether a sent request can be withdrawn, or what happens to previously submitted details), which is the main remaining gap.

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?

Front-loaded with the triggering condition and the core action, then moves to retry semantics, exclusions and the customer_notice display rule. Six sentences is on the long side, but each carries a distinct constraint; nothing is padding.

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 11-parameter, non-read-only tool with an output schema, the description covers the key agent-facing behaviors: consent gating, idempotent retry, sensitive-data exclusion, and how to surface customer_notice. It is close to complete, with only the failure/edge behavior (no configured destination, rejected submissions) left unaddressed.

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 73%, but the undocumented contact_name/contact_email/contact_phone fields gain meaning from "contact details" plus the exclusion of medical, payment-card and authentication information. The description also adds operational meaning to idempotency_key (reuse unchanged with identical details) and context_token (comes from request_service) beyond the schema's own wording.

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?

States a specific verb and resource set: save the customer's service requirements and contact details and send a notification to the business's configured email or opted-in SMS destination. It also draws a hard boundary against adjacent siblings ("not a price commitment, booking or payment"), so an agent can separate it from confirm_booking or create_booking_payment_link from the description alone.

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?

Gives an explicit precondition ("After the customer explicitly agrees"), an upstream dependency ("Use context from request_service"), and an explicit retry rule (reuse the same idempotency_key AND details to check an uncertain submission; never automatically start a new request). The negative case, when not to treat this as a price commitment, booking or payment, is spelled out rather than implied.

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