Skip to main content
Glama

Invio Xero MCP

create_xero_quote

create_xero_quote

Proposes creating a new quote in this Xero organisation - it does NOT create anything in Xero itself, and never will on its own. This queues a pending change that a human must explicitly approve (your Xero MCP connector - the exact link is this response's own approvalUrl field) before Xero is touched at all; you may approve it yourself only with approve_xero_pending_change, and only after the person has explicitly said to approve THIS change. Tell the user what you are proposing (contact, line items, total) and that it needs their approval in Invio before it goes anywhere - do not describe it as created, sent, or delivered. contactId must come from list_xero_contacts (never invented); if the contact doesn't exist yet, propose it with create_xero_contact first and wait for that to be approved and executed. Even once approved, Xero's "SENT" status is only an internal label - this connector has no way to email or deliver the quote to the customer at any status, and never will on its own; a human still shares it from within Xero itself, or another channel, whenever they choose to. You CAN state a currency (currency, e.g. "NZD") when the user names one - it is checked against the organisation's own configured currencies, and refused with the real list if it is not one of them, so a currency is never silently swapped for the base currency. You CAN also say whether the amounts include tax (lineAmountTypes): use "INCLUSIVE" for "$1,500 including GST", "EXCLUSIVE" (the default) for "$1,500 plus GST", "NOTAX" for no tax at all. Never adjust the numbers yourself to fake either one. You CAN also set a quoteNumber, reference, expiryDate, title, summary or terms whenever the user gives you one - every one of them is optional and Xero fills in its own sensible default (an auto-assigned number, no expiry, blank text) when omitted. DATES: date and expiryDate are strict YYYY-MM-DD, so you always have to convert whatever the user actually said. A date carrying a month name ("8 Sep", "Sept 8th"), a weekday ("last Tuesday"), or an already-unambiguous full date ("2026-09-08") is yours to convert normally. A BARE NUMERIC date with no month name - "9/8", "08/09", "9-8" - is the one that is not: it means 9 August to most of the world and 8 September in the United States, and getting it wrong puts a quote a month out in a way nobody skimming the approval card will catch. This Invio account is based in a country that writes the DAY first, so read a bare "9/8" as 9 August, not 8 September. Say in plain words how you read it ("I read 9/8 as 9 August") so the user can correct you before they approve. If their own wording points the other way anywhere in the same request, ask them which they meant instead of picking.

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": {
      "contactId": "<contactId>",
      "date": "<date>",
      "lineItems": "<lineItems>"
    },
    "name": "create_xero_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate the quote was issued, YYYY-MM-DD. If the user wrote a bare numeric date with no month name ("9/8", "08/09"), do NOT settle it on your own judgement - it is 9 August to most of the world and 8 September in the US, and nothing downstream of this field can tell which you meant once it is a date. Follow the DATES instruction in this tool's description.
termsNoTerms and conditions text shown on the quote.
titleNoA short title for the quote (e.g. "Kitchen renovation"), shown at the top of it.
statusNoWhat state the quote lands in inside Xero once a human approves this in Invio. Defaults to "DRAFT". Xero also documents "SENT" as directly creatable, but SENT is only Xero's own internal status label - choosing it does NOT email or deliver the quote to the contact, and this connector has no way to do that at any status. Only pass "SENT" when the user explicitly wants the quote marked that way in Xero (e.g. because they already shared it some other way); otherwise leave this as the default.DRAFT
summaryNoA longer free-text summary of what the quote covers.
currencyNoThe currency this quote is raised in, e.g. "NZD". Set this whenever the user names a currency or a currency symbol ("NZ$1,500", "quote them in USD") - it is checked against the currencies this organisation is actually set up to invoice in, and the draft is refused, with the real list, if it is not one of them. Omit it only when the user did not say: the quote is then raised in the organisation's own base currency.
contactIdYesThe Xero contact this quote is for. Get this from list_xero_contacts first - never invent one. If the contact does not exist in Xero yet, use create_xero_contact first, wait for it to be approved and executed, then use the contactId it produced.
lineItemsYes
referenceNoFree-text reference shown on the quote.
expiryDateNoDate this quote expires, YYYY-MM-DD. Set it whenever the user says one ("valid for 30 days", "expires end of month"). If the user wrote a bare numeric date with no month name ("9/8", "08/09"), do NOT settle it on your own judgement - it is 9 August to most of the world and 8 September in the US, and nothing downstream of this field can tell which you meant once it is a date. Follow the DATES instruction in this tool's description.
quoteNumberNoA specific quote number to use, if the user names one. Omit this and Xero assigns the next number in its own sequence automatically - that is the right choice unless the user explicitly asks for a particular number.
organisationNoThe Xero organisation to use, by its display name. Only needed if this connection reaches more than one organisation - omit it when there is only one.
lineAmountTypesNoHow to read every unitAmount below. "EXCLUSIVE" (the default) = the amounts do NOT include tax and Xero adds it on top - this is what "$1,500 plus GST" means. "INCLUSIVE" = the amounts ALREADY include tax and Xero works the tax out of them - this is what "$1,500 including GST", "$1,500 inc GST" or "$1,500 all up" means. "NOTAX" = no tax is calculated at all. If the user says which one they mean, say so here rather than adjusting the numbers yourself.EXCLUSIVE

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / contactId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • removedInput schema / properties / lineItems / items / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only say this is a non-read-only, non-idempotent, open-world write; the description adds substantial behaviour beyond that: nothing is created until a human approves, the approval link is in the response's approvalUrl, and no status ever delivers the quote to the customer. It also discloses the currency validation-with-refusal behaviour and the accountCode auto-fill/refuse rules. Minor gap: it never describes what the pending-change response contains beyond approvalUrl.

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

Conciseness3/5

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

The critical constraint (queues, does not create) is front-loaded and the rest is organised by topic (approval, contact, currency, tax, optional fields, dates). But it is very long for a tool description, with repeated asides ("and never will on its own" twice, the SENT/email point made in both description and schema) and a meandering final paragraph on date parsing that could be tightened considerably.

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 13-parameter mutation tool with no output schema, coverage is strong: approval flow, contact resolution, currency validation, tax-mode interpretation, optional-field defaults and date ambiguity are all addressed. The only real omission is a description of the returned pending-change object, which matters because the description instructs the agent to point the user at its approvalUrl field.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 92%, so the schema already documents most parameters; the description goes further only where behaviour is non-obvious, notably the DATE resolution heuristic (day-first for this account, state the reading aloud) and the currency-refusal semantics. It does not restate the enum meanings of lineAmountTypes as clearly as the schema does, and it re-references rather than extends a few fields, so it is additive but partly duplicative.

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 precise verb+resource ("Proposes creating a new quote in this Xero organisation") and immediately distinguishes the tool from itself-as-writer: it queues a pending change rather than creating anything in Xero. It also names the relevant siblings (approve_xero_pending_change, list_xero_contacts, create_xero_contact), so an agent can place the tool in the workflow without opening other schemas.

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

Usage Guidelines5/5

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

Guidance is explicit and conditional throughout: approve only after the person explicitly says to approve THIS change; resolve contactId via list_xero_contacts and create_xero_contact first if missing; set currency only when the user names one; choose lineAmountTypes based on inclusive/exclusive phrasing; ask rather than guess on ambiguous bare numeric dates. Both when-to-use and when-not-to-use are covered.

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