Skip to main content
Glama

invoices_quote_change

Change a draft quote (quote: its number, Q-0007): give only what changes. lines is every line after the change, as in invoices_quote_prepare (prices in the company's currency). needs_signature: whether the client signs it before paying. options: every option after the change, as in invoices_quote_prepare, for a quote with options (its lines are each option's), or to make one into options; one option left makes its lines the quote's. discount: on the whole quote, {"percent": 10}, {"amount": 200}, or {} to remove it; lines' "no_tax" as in invoices_quote_prepare. A sent quote can't change: it's cancelled or copied in Invoices by a person. In Activity with Undo.

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>",
      "author": "<author>"
    },
    "name": "invoices_quote_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNo
linesNo
modelNo
quoteYes
termsNo
authorYes
contactNo
optionsNo
discountNo
due_percentNo
valid_untilNo
needs_signatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / discount
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Discount"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, but the description adds real value beyond them: 'give only what changes' discloses merge-not-replace semantics, and 'In Activity with Undo' discloses that the change is logged and reversible. The sent-quote restriction adds a hard precondition. It does not mention permissions or what happens to fields omitted from lines/options.

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 verb, resource, and identifier, then parameter notes in a compact order. The semicolon-chained sentences are dense and require re-reading in places, but no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter mutation with zero schema descriptions and no output schema, the definition covers the structurally complex fields well but leaves seven parameters (author is required) entirely unexplained. An agent would have to guess at author, contact, terms, valid_until, and due_percent.

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 0% across 12 parameters, so the description must carry the burden. It does well on the tricky ones — quote, lines, needs_signature, options, discount (with literal shapes {"percent": 10}, {"amount": 200}, {}), and lines' no_tax — but email, model, terms, author, contact, due_percent, and valid_until get no mention at all.

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 ('Change a draft quote') with an example identifier (Q-0007), and anchors the format of the mutable fields to the sibling invoices_quote_prepare. An agent can distinguish this from preparing a quote or from reading one 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 explicit partial-update semantics ('give only what changes') and an explicit when-not: a sent quote can't be changed and must be cancelled or copied in Invoices by a person. There is no tool-level alternative named for editing non-draft quotes, but the description makes clear none exists, which is nearly as useful.

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.