Skip to main content
Glama

Multi Books

Delete a sales order on Zoho Books

sales_orders_delete
Destructive

Delete one sales order of a Zoho Books organisation, any Zoho lets go - one it has invoiced refused in Zoho's own words. Deleted, it is written with no record, the sales order being gone; one whose answer never came is written where it reads gone and not_written where it still reads. A FreeAgent company or Xero organisation keeps no sales orders and is refused before its program is asked, saying what stands in for one there. Each write is sent to Zoho Books once. On Zoho Books the organisation's own workflow rules in Zoho may still email on any write. A company set to read only refuses it before Zoho 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 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'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>",
      "sales_order": "<sales_order>"
    },
    "name": "sales_orders_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyYesThe id companies_list gives the company.
sales_orderYesThe sales order's id, as sales_orders_list answers it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=false, and the description goes well beyond them: deletion is permanent with no record kept, each write is sent exactly once and never retried, an unanswered write is settled by reading the books back, and workflow rules may still email on the write. It also discloses the read-only refusal and the prompt-attack screening gate. The garbled phrasing ('written where it reads gone and not_written') blunts the value, but the substance is there.

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 body is dense, metaphor-laden, and hard to parse ('any Zoho lets go', 'written where it reads gone'). Several clauses restate the outcome taxonomy in near-unreadable form, and an agent must decode meaning rather than read it. Length is not the problem; clarity is.

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

Completeness3/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 try to explain return values (outcome, not_written with reason, unknown, withheld fields, duplicate-record reporting), and it covers permanence and idempotency. However, the return-value explanation is so convoluted that an agent may not reliably reconstruct the response contract. Coverage is broad but not usable as written.

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%: both company and sales_order carry their own descriptions and formats, so the schema already does the heavy lifting. The description adds no syntax, format, or constraint detail beyond what the schema states, so the baseline of 3 applies.

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 opening clause states a specific verb and resource ('Delete one sales order of a Zoho Books organisation'), so the operation is identifiable immediately. It does not distinguish itself from the *_delete siblings, but the resource name itself does most of that work. The remaining clauses are about scope and failure modes rather than purpose, which is acceptable.

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?

It implies when the tool will be refused (sales orders already invoiced, FreeAgent/Xero companies, read-only companies) rather than when to choose a different tool; no alternative such as update, void, or an invoice-related sibling is named. The preconditions are genuinely useful context, but the agent is left to infer the correct alternative when deletion is refused.

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.