Skip to main content
Glama

Multi Books

Create a sales order on Zoho Books

sales_orders_create

Create a sales order in one Zoho Books organisation's books, by Zoho's own names, and answer it whole with its lines: its customer by customer_id, and each line naming its item by item_id, as items_list answers it - items_create makes one - with the tax its organisation's edition asks for, as invoices_create takes it; one missing what its edition needs is refused in Zoho's own words. It is not emailed, which the answer says. 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_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyYesThe id companies_list gives the company.
sales_orderYesOn Zoho Books, the sales order by the names sales_orders_get answers one with, and its lines, each naming its item.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare this is a non-read-only, non-destructive write; the description goes well beyond that by disclosing that the call is not emailed but Zoho workflow rules may still email, that prompt-attack screening can block input, and that Zoho's own refusal wording is surfaced. It spells out the full outcome vocabulary (outcome written, not_written with reason, unknown after a failed read-back), the idempotency rule of exactly one send, and the duplicate-detection behaviour on ambiguous results. That is unusually rich behavioural disclosure for a write 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?

The core action is front-loaded, but the body is one long semicolon-chained sentence with idiosyncratic phrasing ("answer it whole with its lines", "one missing what its edition needs") that forces re-reading. Nearly every clause carries real information, so the problem is density and parseability rather than filler; breaking the write semantics and failure modes into separate sentences would cost nothing in length.

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 nested write tool with no output schema, the description covers the return shape (the created order with its lines), all failure outcomes and what accompanies each, the duplicate/read-back ambiguity case, and the redaction behaviour when screening withholds Zoho's words. Nothing an agent needs in order to call it correctly and interpret the result is left out.

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 description coverage is 100%, so the schema already documents customer_id, item_id, tax_id and the edition-specific treatment fields. The description still adds cross-tool meaning the schema cannot: which edition demands which tax treatment, that item_id comes from items_list and items_create, and that a payload missing an edition-required field is rejected by Zoho in its own words. A useful increment over baseline for a fully documented schema.

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 ("Create a sales order in one Zoho Books organisation's books") and immediately scopes it to Zoho Books, explicitly noting that FreeAgent companies and Xero organisations are refused. It names the sibling tools that supply the referenced ids (items_list, items_create) and the tool whose tax convention it mirrors (invoices_create), so an agent can separate it from sales_orders_update or invoices_create without opening a 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 preconditions and exclusions: the company must be an editable Zoho Books organisation, read-only companies are refused before Zoho is called, and FreeAgent/Xero are refused because they keep no sales orders. It also prescribes the retry posture ("A write whose answer never came is settled by reading the books back, never sent again"). It stops short of naming sales_orders_update as the alternative for modifying an existing order, so the mutation-vs-modification boundary is only implied.

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.