Skip to main content
Glama

SendQuoteNow — AI Quote Engine for Contractors

Preview quote totals

preview_quote

Compute line items, subtotal, tax, discount, and total for a quote payload without creating anything. Use this to confirm pricing with the user before create_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": {
      "services": "<services>"
    },
    "name": "preview_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNoDefaults to USD
discountNoRendered as a negative line item on the PDF
languageNoDocument language: en, pt-BR or es. Defaults to pt-BR for BRL, es for the Spanish-speaking Latin American currencies, otherwise en
servicesYesLine items for the quote
tax_rateNoDecimal tax rate, e.g. 0.08 for 8%
templateNoPDF accent style, defaults to standard
tax_labelNoCustom tax label, e.g. IVA, IGV, ITBMS. Defaults to the language word (Tax / Imposto / Impuesto)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / currency / enum
      Previous value: -[
      -  "USD",
      -  "CAD",
      -  "EUR",
      -  "GBP",
      -  "AUD"
      -]New value: +[
      +  "USD",
      +  "CAD",
      +  "EUR",
      +  "GBP",
      +  "AUD",
      +  "BRL",
      +  "ARS",
      +  "BOB",
      +  "CLP",
      +  "COP",
      +  "CRC",
      +  "CUP",
      +  "DOP",
      +  "GTQ",
      +  "HNL",
      +  "MXN",
      +  "NIO",
      +  "PAB",
      +  "PEN",
      +  "PYG",
      +  "UYU",
      +  "VES"
      +]
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "Document language: en, pt-BR or es. Defaults to pt-BR for BRL, es for the Spanish-speaking Latin American currencies, otherwise en",
      +  "enum": [
      +    "en",
      +    "pt-BR",
      +    "es"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / services / items / properties / unit_price / description
      Previous value: -"Price per unit in the quote currency"New value: +"Price per unit in the quote currency (max 9,999,999.99, or 999,999,999 for zero-decimal CLP/PYG)"
    • changedInput schema / properties / services / items / properties / unit_price / maximum
      Previous value: -9999999.99New value: +999999999
    • addedInput schema / properties / tax_label
      Added value: +{
      +  "description": "Custom tax label, e.g. IVA, IGV, ITBMS. Defaults to the language word (Tax / Imposto / Impuesto)",
      +  "maxLength": 40,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations present, the description carries the burden and does disclose the most important trait: this is a side-effect-free dry run that creates nothing. It does not say whether invalid payloads throw versus return errors, nor anything about rate limits or persistence, but for a pure computation tool the critical behavioral fact is covered.

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

Conciseness5/5

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

Two sentences, both load-bearing: the first declares the computation and its non-mutating nature, the second routes the agent to the correct workflow. Nothing is repeated from the schema and the dry-run guarantee is front-loaded.

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 a 7-parameter tool with nested service objects and no output schema, the description usefully enumerates the returned figures (line items through total), which compensates for the missing output schema. Remaining gaps are minor: rounding/precision behavior and error signaling on bad payloads are unaddressed.

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 defaults, currency/language interplay, discount rendering, and tax_rate format are already fully documented in the schema. The description's mention of discount and tax merely echoes parameter names without adding format or edge-case guidance, so the baseline 3 applies.

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?

Specific verb (compute) plus the exact quantities produced (line items, subtotal, tax, discount, total) for a named resource (quote payload). The clause 'without creating anything' immediately separates it from create_quote, so an agent can classify it without opening 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 Guidelines4/5

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

Gives a concrete when-to-use rule: confirm pricing with the user before create_quote, which also names the correct follow-up sibling. No explicit exclusions or when-not conditions are stated, so it falls short of a full 5.

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