Skip to main content
Glama

Surfing Dog Inbox

Request a quote

request_quote
Idempotent

Ask for a price on something custom, in your person's words (itemOffered.name), or on a service or a product priced from, as a range or on request (itemOffered.serviceId or itemOffered.productId, from list_services or list_products). A budget, if your person gives one, is in the business's currency. Creates a quote_request item. Needs your person's name and an email address or a phone number in contact: ask them first, and send only what they agree to give this business. Never make them up or send your own; without them nothing is written.

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": {
      "payload": "<payload>",
      "contact": "<contact>"
    },
    "name": "request_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoThe person's key (sdkey1_…), if that is all you have: it is exchanged once for a pass, which comes back in identity.passes — keep the pass and send it next time instead. Never stored.
passNoThe person's passes (sdpass1_…), space-separated, at most 8: presented to the network that issued each, so the business recognises the customer. Or send them in the Sdi-Pass header. Never stored.
contactYesYour person's details, as they agreed to give them to this business: their name, and an email address or a phone number (at least one of the two). Ask them first; never make them up, and never send your own.
messageNo
payloadYes
attachmentsNoPhotos or plans of the job: JPEG, PNG, WebP or PDF, at most six of 10 MB each. Inline up to 4 MB each (8 MB a call), else by https address or upload_id. HEIC photos: send them as JPEG. Images are cleaned of where they were taken; a PDF is kept as sent.
idempotency_keyNoSame key + same request = same answer. Required for agents. Make it a fresh random UUID per request, never one made from the request itself: a retry of a create with a random key gets its access token again, so a key anyone could work out would give it to them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / contact / description
      Added value: +"Your person's details, as they agreed to give them to this business: their name, and an email address or a phone number (at least one of the two). Ask them first; never make them up, and never send your own."
    • addedInput schema / properties / contact / properties / email / description
      Added value: +"An email address the business can answer them at: one that receives mail, not a no-reply one."
    • addedInput schema / properties / contact / properties / email / maxLength
      Added value: +254
    • removedInput schema / properties / contact / properties / email / pattern
      Removed 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,}$"
    • addedInput schema / properties / contact / properties / locale / description
      Added value: +"The language they want answers in: en, pt."
    • addedInput schema / properties / contact / properties / name / description
      Added value: +"Their name, as they want the business to use it: with a letter in it and no @. Never a placeholder (N/A, Test, {{name}})."
    • addedInput schema / properties / contact / properties / name / minLength
      Added value: +1
    • addedInput schema / properties / contact / properties / phone / description
      Added value: +"A phone number the business can reach them on, with its country code: +351 912 345 678. 6 to 20 digits, no letters (no extension), and only spaces, +, -, (, ), . or / between them."
    • addedInput schema / properties / contact / required
      Added value: +[
      +  "name"
      +]
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Same key + same request = same answer. Required for agents. Make it a fresh random UUID per request: a retry of a create with a random key gets its access token again."New value: +"Same key + same request = same answer. Required for agents. Make it a fresh random UUID per request, never one made from the request itself: a retry of a create with a random key gets its access token again, so a key anyone could work out would give it to them."
    • changedInput schema / required
      Previous value: -[
      -  "payload"
      -]New value: +[
      +  "payload",
      +  "contact"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Same key + same request = same answer. Required for agents."New value: +"Same key + same request = same answer. Required for agents. Make it a fresh random UUID per request: a retry of a create with a random key gets its access token again."
  3. Changed2 schema fields changed
    • addedInput schema / properties / attachments
      Added value: +{
      +  "description": "Photos or plans of the job: JPEG, PNG, WebP or PDF, at most six of 10 MB each. Inline up to 4 MB each (8 MB a call), else by https address or upload_id. HEIC photos: send them as JPEG. Images are cleaned of where they were taken; a PDF is kept as sent.",
      +  "items": {
      +    "anyOf": [
      +      {
      +        "properties": {
      +          "upload_id": {
      +            "description": "What POST /v1/uploads answered, within its hour.",
      +            "pattern": "^upl_[A-Za-z0-9_-]{16,48}$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "upload_id"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "data_base64": {
      +            "description": "The file's bytes in base64: JPEG, PNG, WebP or PDF, up to 4 MB (8 MB in one call).",
      +            "maxLength": 5592412,
      +            "minLength": 4,
      +            "type": "string"
      +          },
      +          "name": {
      +            "description": "The file's name, for the business to recognise it.",
      +            "maxLength": 200,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "data_base64"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "name": {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          "url": {
      +            "description": "An https address the file can be fetched from, up to 10 MB.",
      +            "format": "uri",
      +            "maxLength": 2048,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "url"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  "maxItems": 6,
      +  "type": "array"
      +}
    • addedInput schema / properties / payload / properties / job
      Added value: +{
      +  "description": "The job: urgency (emergency, within_24h, this_week, flexible), whether a visit comes first, the site (address, how to find the way, home or business), up to three windows that suit, and budgetMax for a range.",
      +  "properties": {
      +    "budgetMax": {
      +      "properties": {
      +        "currency": {
      +          "maxLength": 3,
      +          "minLength": 3,
      +          "type": "string"
      +        },
      +        "value": {
      +          "description": "Minor units of the currency's own ISO 4217 exponent (minorUnits): 4500 is CA$45.00 or ₹45.00, ¥4,500 in JPY, 4.500 in KWD.",
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "value",
      +        "currency"
      +      ],
      +      "type": "object"
      +    },
      +    "site": {
      +      "properties": {
      +        "accessNotes": {
      +          "description": "Gate codes are never asked for: only how to find the way.",
      +          "maxLength": 500,
      +          "type": "string"
      +        },
      +        "address": {
      +          "properties": {
      +            "addressCountry": {
      +              "pattern": "^[A-Za-z]{2}$",
      +              "type": "string"
      +            },
      +            "addressLocality": {
      +              "maxLength": 100,
      +              "type": "string"
      +            },
      +            "addressRegion": {
      +              "maxLength": 100,
      +              "type": "string"
      +            },
      +            "postalCode": {
      +              "maxLength": 20,
      +              "type": "string"
      +            },
      +            "streetAddress": {
      +              "maxLength": 200,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "geo": {
      +          "description": "The site's point, when you have it: a radius is checked against it.",
      +          "properties": {
      +            "latitude": {
      +              "maximum": 90,
      +              "minimum": -90,
      +              "type": "number"
      +            },
      +            "longitude": {
      +              "maximum": 180,
      +              "minimum": -180,
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "latitude",
      +            "longitude"
      +          ],
      +          "type": "object"
      +        },
      +        "propertyType": {
      +          "enum": [
      +            "home",
      +            "business",
      +            "other"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "urgency": {
      +      "default": "flexible",
      +      "enum": [
      +        "emergency",
      +        "within_24h",
      +        "this_week",
      +        "flexible"
      +      ],
      +      "type": "string"
      +    },
      +    "visit": {
      +      "default": "unsure",
      +      "enum": [
      +        "needed",
      +        "not_needed",
      +        "unsure"
      +      ],
      +      "type": "string"
      +    },
      +    "windows": {
      +      "items": {
      +        "properties": {
      +          "from": {
      +            "format": "date-time",
      +            "pattern": "^(?:(?:\\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)))$",
      +            "type": "string"
      +          },
      +          "to": {
      +            "format": "date-time",
      +            "pattern": "^(?:(?:\\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)))$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "from",
      +          "to"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 3,
      +      "minItems": 1,
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and the description is consistent with that while adding real context the annotations cannot carry: a consent rule ('ask them first, and send only what they agree to give'), a prohibition on inventing or substituting the agent's own contact details, and the consequence that 'without them nothing is written'. It does not describe the shape of the created quote_request response, which 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?

Four sentences, front-loaded with purpose and the identifier options, then contact/consent, then the failure mode. It is dense but earns most of its length; the consent instruction is repeated twice ('ask them first' / 'Never make them up'), which is the only real redundancy.

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?

For a create tool with 7 parameters, nested job/site/window objects, and no output schema, the description covers the questions an agent must resolve before calling: what to quote, where to get IDs, whose contact details to use, and what happens if they are missing. The remaining mechanical detail (attachments, time windows, idempotency) is thoroughly handled in the schema, so nothing blocking is absent.

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 71%, so the schema already documents most fields, but the description adds meaning on top: itemOffered.name is framed as the person's own words, budget is denominated in the business's currency (a detail the schema does not state), and the contact object's name-or-email-or-phone rule is spelled out. It says nothing about attachments, job timing, or idempotency_key, leaving those entirely to the schema.

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 description names a specific verb and outcome ('Ask for a price', 'Creates a quote_request item') and enumerates the three ways to identify the thing being priced: a custom item by name, a serviceId, or a productId. It explicitly routes the agent to list_services/list_products for those identifiers, so the tool is distinguishable from sibling catalog and offer tools without opening any schema.

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?

It states the situations this tool covers (custom work, or a service/product priced 'from', as a range or on request) and gives a hard prerequisite: a person name plus an email or phone, asked of the person first. It does not explicitly exclude near-neighbours such as make_offer or create_booking, so the when-not-to-use side is implied rather than stated.

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.