Skip to main content
Glama

Xero Update Contact

xero_update_contact

Update an existing Xero contact's name, email, phone, first and last name, and account number by contact UUID to correct or maintain customer and supplier records.

Instructions

Update a 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": {
      "contact_id": "<contact_id>"
    },
    "name": "xero_update_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoUpdated name
emailNoUpdated email
phoneNoUpdated phone
last_nameNoUpdated last name
contact_idYesContact UUID
first_nameNoUpdated first name
account_numberNoUpdated account number

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it only discloses the write-flag prerequisite. It never says whether the update is a partial patch (omitted fields left untouched) or a replace (omitted fields cleared), given every field defaults to null, nor does it cover error behavior, permissions, or reversibility of a mutation.

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?

Two short sentences, front-loaded and free of filler, so nothing needs trimming. However, the brevity comes at the cost of under-specification for a seven-parameter mutation tool rather than earning its place through efficiency.

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

Completeness2/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 not be explained. But for a write tool with zero annotations and six nullable optional fields, the description omits the essential semantics (patch vs replace, null handling) that an agent needs to invoke it correctly.

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%, and each of the seven fields is documented in the schema (name, email, phone, first/last name, account number, contact UUID). The description adds no meaning beyond it, so this sits at the baseline for fully documented parameters.

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

Purpose2/5

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

"Update a contact" restates the tool name and title (Xero Update Contact) almost verbatim, so it is essentially tautological. It names no distinguishing characteristic from siblings such as xero_contacts (read), xero_archive_contact, or xero_update_invoice, and gives no sense of what an update involves.

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?

There is a prerequisite (XERO_WRITE_ENABLED=true), which is useful, but it is a gate rather than guidance on when to choose this tool. Nothing indicates when to update versus create a contact, archive one, or fetch one with xero_contacts, and no exclusions or alternatives are named.

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