Skip to main content
Glama

Create Quote

create_quote

Create a sales quote (estimate) for a customer. A quote never changes inventory. Each line is either an inventory item (inventoryItemId from get_inventory; the price defaults to the item's salePrice, or its cost when it has none) or a free-text line with a description (a service, freight, a custom part). taxRate is a percent (8.25 means 8.25%). The quote gets the next number from the company's quote numbering. Returns the quote with its number and totals.

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": {
      "quote": "<quote>"
    },
    "name": "create_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
quoteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the write-but-not-destructive profile is covered. The description usefully adds that the quote never changes inventory, that the number is auto-assigned from company numbering, and that the response carries the number and totals. It does not cover what happens to status defaults or whether a failed line rolls back the whole quote.

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?

Five short sentences, each front-loaded with a distinct fact (identity, inventory safety, line rules, tax format, numbering/return). No restatement of the name or title and no 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?

With no output schema, the description does supply the return shape (quote with number and totals), and it explains the nested line construction and pricing fallback that the schema leaves bare. Minor gaps remain around default status, date field expectations, and validation failure behavior.

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 0% and the single parameter is a nested quote object with many fields, so the description must carry weight. It explains the two line shapes (inventory item vs free-text description), the unitPrice default to salePrice then cost, and that taxRate is a percent (8.25 = 8.25%), which resolves the highest-risk ambiguities. It leaves notes, terms, status, quoteDateUTC, validUntilUTC and the customer contact fields unexplained.

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 opens with a specific verb+resource ('Create a sales quote (estimate)') and immediately scopes it apart from order creation by stating 'A quote never changes inventory'. An agent can distinguish this from convert_quote_to_order or create_order without reading 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?

It gives clear context for use: quotes are estimates, they don't touch inventory, and inventoryItemId must come from get_inventory, which routes the agent to the right prerequisite tool. It stops short of explicitly naming when to prefer a quote over an order or pointing at convert_quote_to_order for the follow-up step.

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