Skip to main content
Glama

Multi Books

Change an estimate

estimates_update
Destructive

Change one estimate of a company - its details, a line by its id, or a line added - and answer it whole. Only the fields given change: on FreeAgent by the names estimates_list answers a FreeAgent estimate with, on Xero by Xero's own, its contact named by ContactID alone and every line the change does not name sent back by its LineItemID, so each stays as it was. On Zoho Books by Zoho's own names: the customer stays, and every line the change does not name goes back by its line_item_id, so each stays as it was - a line with none is added, naming its item by item_id. On QuickBooks by QuickBooks' own names, as invoices_update changes a QuickBooks invoice: the customer stays, the change goes to the estimate as just read, and one naming lines sends every line it holds back by its Id. On Zoho Books the organisation's own workflow rules in Zoho may still email on any write. Each call is one write, sent to the company's program once - to FreeAgent, or to Xero under a request key of its own, so Xero never takes it twice. A Zoho Books organisation's write goes to Zoho Books, which takes no request key. One given in another program's names, or naming an id of another program's form, is not_written with reason refused, nothing sent; one Xero keeps from the person's Xero role, with reason xero_role. 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. A QuickBooks company's write goes to QuickBooks under a request key of its own, so QuickBooks never takes it twice.

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>",
      "estimate": "<estimate>",
      "changes": "<changes>"
    },
    "name": "estimates_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesYes
companyYesThe id companies_list gives the company.
estimateYesThe estimate's id, as estimates_list answers it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Well beyond the annotations, it discloses the mutation model ('Only the fields given change', unnamed lines returned intact), idempotency guarantees (a request key per write so Xero/QuickBooks 'never takes it twice'), refusal classes (read-only company, xero_role, another program's names, prompt-attack screening), and the exact outcome vocabulary written/not_written/unknown plus the rule that an unanswered write is settled by reading back and 'never sent again'. This is unusually rich for a destructive write.

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 one sprawling block of run-on clauses with visible redundancy ('so each stays as it was' appears twice; the request-key guarantee is stated for Xero mid-text and again for QuickBooks at the very end). Per-program rules are interleaved with outcome/error semantics rather than grouped, making it heavy for an agent to parse despite mostly useful content.

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 multi-provider partial-update tool with no output schema, it covers the essentials: the four provider shapes, id preservation, idempotency, refusals, and the outcome values that would otherwise live in a return schema. Minor gaps remain about ordering (whether the estimate must be read first on QuickBooks, and via estimates_get vs estimates_list) and about what 'withheld' looks like.

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 nested field descriptions are already detailed, but the prose adds the semantics the schema cannot express: lines identified by LineItemID/line_item_id/Id are edited in place while 'a line with none is added', the contact must be named 'by ContactID alone', and on Zoho/QuickBooks 'the customer stays'. That partial-update contract is the most important parameter meaning and it is only in the description.

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 states a specific verb and resource ('Change one estimate of a company') and immediately scopes it to a partial update ('its details, a line by its id, or a line added'), which separates it from estimates_create and estimates_delete. It loses a point for the trailing 'and answer it whole', which is vague, and for burying the clean statement under per-program detail.

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?

It gives strong conditional guidance on which shape to send: 'on FreeAgent by the names estimates_list answers a FreeAgent estimate with, on Xero by Xero's own', and explicitly points at invoices_update as the model for QuickBooks. What's missing is any explicit when-not guidance (e.g. use estimates_create for a new estimate, estimates_delete to remove one), so the agent must infer boundaries from the title and siblings.

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.