Skip to main content
Glama

Xero Create Quote

xero_create_quote

Create a Xero quote with a contact, line items, dates, reference, and summary to issue accurate sales quotes directly from accounting data.

Instructions

Create a quote. Requires XERO_WRITE_ENABLED=true.

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": {
      "contact_id": "<contact_id>",
      "line_items": "<line_items>"
    },
    "name": "xero_create_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoQuote date (YYYY-MM-DD)
titleNoQuote title
summaryNoQuote summary
referenceNoReference
contact_idYesContact UUID
line_itemsYesJSON array of line items
expiry_dateNoExpiry date (YYYY-MM-DD)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add one genuinely useful behavioral fact: the call requires XERO_WRITE_ENABLED=true, which tells the agent a feature flag must be set. It omits other important traits — whether the quote is created as DRAFT, what happens if the flag is off, whether the operation is reversible, and any auth/scope requirements.

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?

Two short sentences, front-loaded with the action and followed by the prerequisite, with zero wasted wording. It is arguably too terse, but nothing is redundant or buried.

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?

Because the schema fully documents all seven parameters and an output schema exists to describe return values, the main missing piece is usage/behavioral context rather than structural detail. For a straightforward create tool, the definition is serviceable but thin on when-to-use and creation semantics.

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 every parameter (date, title, summary, reference, contact_id, line_items, expiry_date) is already documented, setting the baseline at 3. The description adds no format hints of its own — notably it does not clarify the expected JSON shape of the string-typed line_items array, which is the one place extra prose would help.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Create a quote'), which distinguishes it from sibling create tools such as xero_create_invoice or xero_create_purchase_order. It does not, however, explicitly contrast itself with those siblings or note what kind of quote (draft vs. sent) results.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The only usage signal is the write-gate prerequisite; there is no guidance on when to create a quote versus an invoice or purchase order, nor on required preconditions such as an existing contact. An agent must infer selection logic from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.