Skip to main content
Glama

Multi Books

Change an expense

expenses_update
Destructive

Change one expense of a company and answer it whole. Only the fields given change: on FreeAgent by the names expenses_list answers a FreeAgent expense with. On Zoho Books by Zoho's own - one Zoho holds itemised, on more than one line, is refused a change to its amount, account_id, tax_id or is_inclusive_tax with nothing sent and a note, as Zoho would put it on lines the change does not name - the person makes it in Zoho. A Xero organisation is refused before Xero is asked: Xero records spending as a bill, made with bills_create, or a spend money entry, made with bank_transactions_code. A QuickBooks company is refused before Intuit is asked: QuickBooks records spending as an expense from a bank or card account, made with bank_transactions_code, or a bill, made with bills_create. On Zoho Books the organisation's own workflow rules in Zoho may still email on any write. Each write is sent to the company's program once - to FreeAgent. A Zoho Books organisation's write goes to Zoho Books, which takes no request key. One given in Zoho Books' names on a FreeAgent company, or in FreeAgent's on a Zoho Books organisation, is not_written with reason refused, nothing sent. A company set to read only refuses it before its program is asked, and so do words that screen as a prompt attack. outcome is written with the record; not_written with reason and, where its program refused it, what it said; or unknown where its answer never came and reading the books back could not tell, found naming every identical new record where two were made and none where that read itself failed. A write whose answer never came is settled by reading the books back, never sent again. Where the screening holds back its program's words in the answer, the outcome and each record's id stand, marked withheld with why.

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": {
      "company": "<company>",
      "expense": "<expense>",
      "changes": "<changes>"
    },
    "name": "expenses_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesYes
companyYesThe id companies_list gives the company.
expenseYesThe expense's id, as expenses_list answers it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the destructive/openWorld annotations, it discloses idempotency ('sent once'), read-back reconciliation after missing answers, refusal reasons, provider-specific write paths, and screening withholding. This is unusually rich operational detail for an update tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a long, run-on block with repeated refusal explanations and tangled clauses ('as Zoho would put it on lines the change does not name'). The purpose is front-loaded, but the rest is not structured for quick parsing.

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?

With no output schema, the description does explain the three outcome states (written, not_written, unknown) and read-back behavior, which is essential. It also covers provider limits and screening, so it is substantively complete even though the presentation is poor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

It adds meaning beyond the 67%-covered schema by explaining that only supplied fields change, that FreeAgent uses expenses_list names while Zoho uses its own names, and that certain Zoho itemised fields cannot be changed. It does not add much for company/expense, but those are already documented.

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 opens with a specific verb and resource, 'Change one expense of a company,' and explicitly identifies FreeAgent and Zoho Books as the supported backends while saying Xero and QuickBooks are refused. That differentiates it from sibling write tools, though the phrasing 'answer it whole' is opaque.

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?

It gives explicit when-not cases and names alternatives: Xero and QuickBooks changes must go through bills_create or bank_transactions_code, and Zoho itemised lines with certain fields are refused. However, the conditions are buried in dense prose rather than presented as a clear use-this-when list.

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.