Skip to main content
Glama

Xero Email Invoice

xero_email_invoice

Sends a Xero invoice to its contact by invoice ID, requiring writes to be enabled.

Instructions

Email an invoice to its contact. 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": {
      "invoice_id": "<invoice_id>"
    },
    "name": "xero_email_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
invoice_idYesInvoice UUID

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add genuinely useful context by disclosing the XERO_WRITE_ENABLED=true gate, which signals this is a write/side-effecting operation. However, it does not say that an email is dispatched immediately and irreversibly to an external party, nor what happens on failure or whether the invoice status changes.

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?

Two short sentences with no waste, and the core action is front-loaded ahead of the prerequisite. Nothing is repeated from the title or schema.

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?

An output schema exists, so return values need no explanation, and a single fully documented parameter keeps the surface small. The remaining gap is behavioral: for an irreversible outbound-email action with no annotations, the definition should state sending behavior and any invoice-state preconditions.

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 100% for the single invoice_id parameter, so the schema already documents it as an Invoice UUID. The description only implies that the ID selects the invoice whose contact receives the email; it adds no format or sourcing detail beyond the schema, so baseline 3 applies.

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 (email) and resource (invoice) plus the implicit recipient ('its contact'), which also tells the agent no recipient parameter is needed. This cleanly separates it from read-oriented siblings such as xero_invoice and from xero_create_invoice.

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

Usage Guidelines3/5

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

The action is self-explanatory, so usage is implied rather than stated. There is no guidance on when this should be used versus alternatives (e.g. fetching the invoice with xero_invoice to preview it first), and no preconditions such as the invoice needing to be approved or awaiting payment before an email is appropriate.

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