Skip to main content
Glama

Xero Archive Contact

xero_archive_contact

Archive a Xero contact by UUID; requires XERO_WRITE_ENABLED=true and confirm=true.

Instructions

Archive a contact. Requires XERO_WRITE_ENABLED=true and confirm=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_archive_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to archive
contact_idYesContact UUID

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?

No annotations are supplied, so the description carries the disclosure burden. It does add genuinely useful gating context (XERO_WRITE_ENABLED must be true and confirm must be true), which tells the agent this is a guarded mutation. It stops short of explaining what archiving actually does to the contact, whether it is reversible, or how it affects related records.

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 with the action first and the gate second — no padding or repetition. It is efficient, though the brevity leaves room that could have been used for the missing behavioral detail.

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 not be explained, and the prerequisite flag is covered. What is missing for a destructive-adjacent mutation is the effect and reversibility of archiving, which the agent needs in order to advise or act safely.

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% for both parameters, so the baseline is 3. The description restates the confirm=true requirement without adding format, identifier, or side-effect meaning beyond what the schema already documents.

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 ('Archive a contact'), which is unambiguous and clearly distinct from create/update siblings. It does not, however, differentiate archiving from other mutating operations such as updating or removing a contact, nor state what archiving does to the record.

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 description gives a precondition (write flag plus confirm=true) but no when-to-use guidance at all: no statement of when archiving is preferred over xero_update_contact, and no note on whether the action is reversible or how to undo it. Usage is only implied by the name.

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