Skip to main content
Glama

Multi Books

Undo a statement import on Zoho Books

bank_statements_delete
Destructive

Undo the statement last imported into one bank account of a Zoho Books organisation, named by its id as bank_statements_import answers it: Zoho deletes every line it brought, and with a line categorised what categorising made in the books, as an expense. Zoho undoes an account's last import alone, so any other is refused with nothing sent, its note naming the last; one holding a reconciled line Zoho refuses in its own words until bank_reconciliations_delete undoes that reconciliation. Undone, it is written with no record, the statement being gone; one whose answer never came is written where it no longer stands last, and not_written where it still does. On Zoho Books the organisation's own workflow rules in Zoho may still email on any write. A FreeAgent company or Xero organisation is refused before anything is sent, the refusal saying where that program does it. A company set to read only refuses it before Zoho Books is asked, and so do words that screen as a prompt attack. outcome is written with the record; not_written with reason and, where Zoho Books 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 Zoho Books'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>",
      "bankAccount": "<bankAccount>",
      "statement": "<statement>"
    },
    "name": "bank_statements_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyYesThe id companies_list gives the company.
statementYesThe statement's id, as bank_statements_import answers it.
bankAccountYesThe bank or card account, as bank_accounts_list answers it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / bankAccount / description
      Previous value: -"The Zoho Books bank or card account, as bank_accounts_list answers it."New value: +"The bank or card account, as bank_accounts_list answers it."
    • changedInput schema / properties / bankAccount / pattern
      Previous value: -"^\\d+$"New value: +"^\\d+$|^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description goes far beyond them: it states exactly what is removed (every imported line plus the expense created by categorising), that other imports and reconciled lines are refused, that workflow rules may still fire email on the write despite openWorldHint=false, and that a write whose answer never came is settled by reading back rather than resending. This is unusually rich disclosure of side effects, refusal modes, and idempotency for a destructive tool.

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

Conciseness3/5

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

Purpose and preconditions are front-loaded, and nearly every clause carries behavioral information, but the prose is a single dense block of run-on sentences with murky phrasing such as 'one whose answer never came is written where it no longer stands last.' It is information-rich yet hard to parse quickly, which costs it structure points.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, multi-platform, conflict-prone mutation with no output schema, the description covers what an agent needs: outcome/not_written/unknown result semantics, refusal reasons, reconciliation blocking, side-effect emails, and verification-by-read-back. Nothing material to calling it correctly or interpreting failure appears missing.

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 both the company, statement, and bankAccount ids are already documented in the schema, and the description largely restates the same provenance ('as bank_statements_import answers it'). It adds no format, range, or edge-case detail about the parameters beyond what structured fields already supply, so the baseline 3 applies.

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 opens with a precise verb and resource: undo the statement last imported into one bank account, named by id as bank_statements_import answers it. It distinguishes itself from the import sibling by inversion and names bank_reconciliations_delete as the tool for the reconciliation case, so an agent can route correctly without opening the schema.

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

Usage Guidelines5/5

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

Explicit when/when-not rules are given: only an account's last import can be undone, any other import is refused, and a statement containing a reconciled line is refused until bank_reconciliations_delete clears it. It also names the alternative platform behavior (FreeAgent/Xero refused up-front) and read-only company refusal, so the agent knows the preconditions before calling.

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.