Skip to main content
Glama

Tradify MCP Server and API by Cotlet

Create quote

create_quote
Destructive

Draft quote with line items. Nothing is sent until you call send_quote. Creates a draft quote for a customer, as New Quote does. Each line is misc (description, quantity, unit_price), time (hours at a billing rate) or price_list (item_code of a price list item); time and price list lines take the customer's price group price unless unit_price is given. Tax uses the default rate (a price list item's own rate), or tax_rate by name; amounts, tax and totals are worked out as Tradify does. job_id links it to a job of the same customer. theme picks a theme by name (default the customer's); terms sets the quote terms (default the theme's). Expiry defaults to your expiry days setting. Kits are not supported. The quote stays a draft until send_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": {
      "customer_id": "<customer_id>",
      "line_items": "<line_items>"
    },
    "name": "create_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
termsNoQuote terms. Default: the theme's quote terms.
themeNoTheme name (Settings > Themes). Default: the customer's.
job_idNoLink the quote to this customer's job (list_jobs).
referenceNoCustomer reference.
line_itemsYes
customer_idYesFrom list_customers or create_customer.
descriptionNoShown on the quote.
expiry_dateNoDefault: your expiry days setting.
tax_inclusiveNoPrices include tax.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / line_items / items / properties / description / description
      Previous value: -"Default for time: the rate's."New value: +"Required for misc. Default for time: the rate's; for price_list: the item's."
    • addedInput schema / properties / line_items / items / properties / item_code
      Added value: +{
      +  "description": "price_list only: the price list item's code (or its exact description).",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / line_items / items / properties / type / enum
      Previous value: -[
      -  "misc",
      -  "time"
      -]New value: +[
      +  "misc",
      +  "time",
      +  "price_list"
      +]
    • changedInput schema / properties / line_items / items / properties / unit_cost / description
      Previous value: -"Your cost per unit. Default: 0."New value: +"Quotes: your cost per unit. Default: 0."
    • changedInput schema / properties / line_items / items / properties / unit_price / description
      Previous value: -"Price per unit before tax. Required for misc; time defaults to the rate."New value: +"Price per unit before tax. Required for misc; time and price_list default to the price list."
    • addedInput schema / properties / terms
      Added value: +{
      +  "description": "Quote terms. Default: the theme's quote terms.",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / theme
      Added value: +{
      +  "description": "Theme name (Settings > Themes). Default: the customer's.",
      +  "maxLength": 255,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, the description discloses defaulting rules (theme, terms, expiry), pricing behavior (price group pricing overridden by unit_price), tax computation, and the draft lifecycle. It does not reconcile why destructiveHint=true applies to a tool that only drafts and never sends, leaving that annotation unexplained.

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?

The draft-only constraint is front-loaded and each sentence carries operational detail. It is somewhat run-on, and the no-send state is stated twice ('Nothing is sent until you call send_quote' and 'The quote stays a draft until send_quote'), which is mild redundancy.

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 9-parameter mutation with no output schema, the description covers defaults, pricing rules, and limitations well. The remaining gap is the return value — it never says the response yields a quote identifier needed to call send_quote later.

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 coverage is 89%, so the schema already documents nearly every parameter. The description still adds real meaning for line item semantics — time/price_list defaulting to the customer's price group price, tax_rate names, and job_id requiring the same customer — but most of this is mirrored in the nested schema descriptions.

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 opening verb+resource ('Draft quote with line items') is specific, and the description immediately names the sibling boundary by stating nothing is sent until send_quote. An agent can distinguish this from send_quote and create_invoice_from_quote without inspecting either 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 explicitly routes the agent to send_quote as the follow-up action and states a hard exclusion ('Kits are not supported'). It also anchors customer_id provenance to list_customers/create_customer in the schema, but it gives no guidance on when to prefer create_quote over create_invoice or create_invoice_from_quote.

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.