Skip to main content
Glama

Multi Books

Import a bank statement on Zoho Books

bank_statements_import

Import statement lines into one bank account of a Zoho Books organisation, as the person gives them from a statement their AI app reads, by Zoho's own names. debit_or_credit is as the bank's statement gives it: debit for money leaving the account, credit for money arriving; Zoho lists each line the other way round, from its books' side. The lines arrive uncategorised, as bank_transactions_list lists them, for bank_transactions_code to code. The statement Zoho made is read again and answered whole as statement: its id, by which bank_statements_delete undoes it, its days and its lines. Sent once, Zoho taking no request key; one whose answer never came is written where a new statement of as many lines stands last in the account, and not_written where the one before 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_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyYesThe id companies_list gives the company.
statementYes
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?

Well beyond the annotations, it discloses the idempotency contract (sent once, no request key), what happens on ambiguous failures (written / not_written with reason / unknown, resolved by reading the books back and never resending), and the side effect that the organisation's Zoho workflow rules may still email on any write. It also describes the reply shape (statement id, days, lines, per-record ids) and withholding behaviour when screening suppresses Zoho's words.

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?

The purpose is front-loaded, but the retry/idempotency section is a dense run-on ('one whose answer never came is written where a new statement of as many lines stands last in the account, and not_written where the one before still does') that most readers will have to parse twice. Every sentence carries content, so nothing is filler, but the phrasing costs clarity rather than saving space.

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 three-parameter mutation with a nested transaction array and no output schema, the description covers the gaps an agent needs: outcome states, partial-failure handling, refusal conditions, retry policy, and the shape of the returned statement. Very little is left to guess.

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?

Schema coverage is 67%, and the description adds real meaning beyond it: the debit_or_credit field is re-stated as the bank's perspective while Zoho books it the other way round, which is a sign-flip trap the schema text alone states less forcefully. It also clarifies that statement lines must arrive uncategorised. Undescribed fields like payee and reference_number are obvious enough not to need it.

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?

Opens with a specific verb and resource: import statement lines into one bank account of a Zoho Books organisation, sourced from a statement an AI app read. It also names the downstream siblings (bank_transactions_list shows the lines uncategorised, bank_transactions_code codes them, bank_statements_delete undoes the import), so the agent can place the tool in the workflow without opening another 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?

Gives clear context for when this applies (importing a statement the app has read, before coding) and points to bank_transactions_code as the follow-on step and bank_statements_delete as the undo. It also states refusal preconditions (FreeAgent/Xero company, read-only company, prompt-attack-shaped text). It stops short of explicitly ruling out alternatives such as creating transactions one at a time, but the routing is inferable.

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.