Skip to main content
Glama

Multi Books

Delete a customer payment on Zoho Books

payments_delete
Destructive

Delete one customer payment of a Zoho Books organisation - one payments_list answers with party customer - the invoices it settled owing again; one Zoho will not let go refused in Zoho's own words. On Zoho Books it is written with no record once deleted, the payment being gone; one whose answer never came is written where it reads gone and not_written where it still reads. 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 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>",
      "payment": "<payment>"
    },
    "name": "payments_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyYesThe id companies_list gives the company.
paymentYesThe customer payment's id, as payments_list answers one with party customer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the destructiveHint annotation it discloses real behavioral traits: deletion is permanent with no record, invoices the payment settled become owed again, read-only companies refuse before dispatch, prompt-injection screening can block, and a write with no answer is resolved by reading the books back rather than resent. That last point is valuable idempotency guidance. The gain is undercut by opaque phrasing such as 'one Zoho will not let go refused in Zoho's own words.'

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 purpose is front-loaded, but the rest is a single run-on, grammatically broken paragraph with repeated 'On Zoho Books' openings and semi-cryptic constructions ('one whose answer never came is written where it reads gone and not_written where it still reads'). Density here costs comprehension rather than saving space.

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 destructive mutation with no output schema, it covers the failure surface well: outcome vs not_written with reason, unknown resolved by read-back, duplicate records reported by 'found', and withheld fields. The remaining gap is that the described result fields are never given a clean structure, leaving the agent to parse the prose.

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%, with both company and payment already documented in the schema, so the description need not carry parameter detail. It only restates that the payment id comes from payments_list, which the schema description already says, adding no new meaning.

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 first clause names a specific verb and resource ('Delete one customer payment of a Zoho Books organisation') and points at payments_list as the source of the id, so an agent knows exactly what is being removed. It does not contrast against other delete siblings (invoices_delete, bank_reconciliations_delete), but the resource itself is distinct enough.

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

Usage Guidelines3/5

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

Usage is only implied: the agent must infer it should first call payments_list to get a payment id, and there is no mention of payments_update as the non-destructive alternative. The one genuine routing signal is that FreeAgent and Xero organisations are refused, which scopes the tool to Zoho Books.

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.