Skip to main content
Glama

taxapp.nz

Get an expense record

get_expense_record
Read-onlyIdempotent

One expense record in full, by its id from list_expenses: its date and due date, supplier, expense type and account, the amount in NZD, the property for a rental cost, the people liable for it, notes, and whether it is reconciled with the bank.

Input Schema

NameRequiredDescriptionDefault
expense_idYesThe expense record's id, from list_expenses.
organisation_idNoThe id of the organisation to use, from list_organisations. Leave it out when the connection covers only one organisation; it is required when it covers more than one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, non-open-world, so the safety profile is covered. The description adds genuine behavioral value by enumerating what the record contains (amount in NZD, liability people, reconciliation status), which matters because there is no output schema. It does not mention error behavior for a missing id, keeping it from a 5.

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?

A single front-loaded sentence that leads with the core purpose before the field enumeration. The long list of fields is slightly listy but earns its place since no output schema exists to convey the return shape.

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 read-only single-record fetch with no output schema, the description adequately covers both the input source (id from list_expenses) and the expected return contents. Only the failure mode for an unknown id is absent, which is a minor gap.

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%, so both parameters are already documented in the schema, including the conditional organisation_id rule. The description reinforces that the id comes from list_expenses but adds no syntax or format detail beyond the schema, so the baseline 3 is correct.

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 ('Get'), resource ('expense record'), and scope ('in full, by its id'), and distinguishes itself from the sibling 'list_expenses' by naming it as the source of the id. An agent can tell this single-record fetch apart from the list tool without opening either schema.

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 phrase 'by its id from list_expenses' establishes the workflow context for when to call this tool (after listing expenses) and where the required id comes from. It stops short of an explicit exclusion such as 'use list_expenses when you do not already have an id', so it is clear context without full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.