Skip to main content
Glama
muness

Xero Expenses MCP

by muness

xero_create_expense

Record already-paid business expenses like receipts in Xero accounting software by creating spend money transactions with vendor details, amounts, and account codes.

Instructions

Create a spend money transaction (direct expense) in Xero - use for already-paid expenses like receipts

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vendorNameYesName of the vendor
vendorEmailNoEmail of the vendor (optional)
amountYesTotal amount of the expense
descriptionYesDescription of the expense
accountCodeNoXero expense account code (e.g., '620' for meals)
dateNoTransaction date (YYYY-MM-DD)
referenceNoReference number from the receipt
bankAccountIdNoXero bank account ID (optional, uses first available if not specified)
Behavior3/5

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

With no annotations provided, the description carries full burden. It indicates this is a creation/mutation tool ('Create') and specifies the type of transaction ('direct expense'), but doesn't disclose important behavioral aspects like authentication requirements, error handling, rate limits, or what happens if creation fails.

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?

The description is extremely concise (one sentence) and front-loaded with the core purpose. Every word earns its place by specifying the action, resource, and key usage context without any fluff or redundancy.

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?

For a mutation tool with no annotations and no output schema, the description provides adequate basic context about what it does and when to use it. However, it lacks information about return values, error conditions, or system behavior that would be important for a creation operation.

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%, so the schema already documents all 8 parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema descriptions, so it meets the baseline expectation but doesn't provide additional value.

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 clearly states the specific action ('Create a spend money transaction'), the resource ('in Xero'), and distinguishes it from siblings by specifying it's for 'direct expense' and 'already-paid expenses like receipts'. This differentiates it from tools like xero_create_bill or xero_create_expense_claim.

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

Usage Guidelines4/5

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

The description provides clear context on when to use this tool ('use for already-paid expenses like receipts'), which helps differentiate it from other expense-related tools. However, it doesn't explicitly state when NOT to use it or name specific alternatives among the siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/muness/xero-expenses-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server