Skip to main content
Glama

Xero Payslips

xero_payslips

Retrieves payslips for a specified Australian Xero pay run using its pay run UUID, enabling payroll review and verification.

Instructions

List payslips for a pay run (AU Payroll API).

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": {
      "payrun_id": "<payrun_id>"
    },
    "name": "xero_payslips"
  }
}

Input Schema

NameRequiredDescriptionDefault
payrun_idYesPay run UUID

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/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. "List" does signal a non-mutating read, and "(AU Payroll API)" usefully discloses that this only works against Australian payroll data, but there is no mention of pagination, page-size limits, or auth/tenant requirements for a potentially long collection.

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?

One sentence, front-loaded with the verb and resource, with the API-scope qualifier appended. Nothing is redundant and nothing needs trimming.

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 one-parameter list tool with a 100%-documented schema and an output schema covering return values, the definition covers what the tool returns and where it applies. The remaining gap is absence of pagination/volume expectations, which matters for a list endpoint but is a minor omission at this complexity.

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 the single required parameter (payrun_id as a pay run UUID), so the schema already documents it fully. The description only reinforces that the parameter scopes results to a pay run; baseline 3 applies when the schema does the heavy lifting.

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?

The description pairs a specific verb ("List") with a specific resource ("payslips") and scopes it to a pay run, so an agent can tell it retrieves payslips rather than pay runs or employees. It does not explicitly distinguish itself from sibling employee/payroll tools, which keeps it short of a 5.

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?

Usage is only implied by the phrase "for a pay run" – the obvious case is enumerating the payslips belonging to a known pay run. There is no statement of when not to use it, no alternative tool named for fetching a single payslip or payslips across pay runs, and no prerequisites.

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