Skip to main content
Glama

Multi Books

Delete a bill

bills_delete
Destructive

Delete one bill of a company. On FreeAgent it is written with no record, the bill being gone. On Xero only a draft is deleted, by its Status DELETED, and answered as it reads deleted: a bill awaiting approval or approved is refused with nothing deleted. On Zoho Books any bill Zoho lets go is deleted, written with no record, Zoho refusing one it keeps, as one a payment is set against, in its own words. On QuickBooks any bill QuickBooks lets go is deleted, sent against the bill as just read, and answered with its id and status Deleted; a payment set against it stays in QuickBooks, applied to nothing, and is deleted in QuickBooks itself. One whose answer never came is written where the bill reads gone or deleted and not_written where it does not. 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>",
      "bill": "<bill>"
    },
    "name": "bills_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
billYesThe bill's id, as bills_list answers it.
companyYesThe id companies_list gives the company.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior5/5

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

Far beyond the destructiveHint annotation, the description discloses what is actually destroyed per provider (record erased on FreeAgent/Zoho/QuickBooks, status flip on Xero), idempotency via per-provider request keys, read-only company refusal, prompt-attack screening, and the not_written/refused/xero_role/unknown outcome taxonomy with read-back reconciliation. This is exactly the behavioral context a mutation tool needs and annotations alone could never supply.

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 roughly 400 words of run-on, fragmentary prose with near-duplicated clauses ('so Xero never takes it twice' / 'so QuickBooks never takes it twice') and tangled constructions like 'written where the bill reads gone or deleted and not_written where it does not.' The information is valuable but the packaging actively impedes parsing.

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 two-parameter destructive tool with no output schema, the description covers the outcome contract (record, not_written with reason, unknown), per-provider semantics, idempotency, and withheld-word handling. It stops short of stating general authorization or confirmation requirements, but nothing critical for correct invocation is absent.

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%, so both the bill id and company uuid are already documented, establishing a baseline of 3. The description does add that an id in another program's form is refused with reason refused, which sharpens what the pattern actually accepts, but it adds nothing about the company parameter or the id's expected provenance beyond what the schema says.

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 sentence, 'Delete one bill of a company,' states a specific verb and resource and makes the destructive intent unmistakable. It never names a sibling (bills_update, bills_get) to contrast against, so differentiation from the rest of the bills_* family is left to inference.

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 implied rather than stated: the per-provider notes reveal that on Xero only draft bills can be deleted and approved bills are refused, which is decision-relevant, but the agent is never told when to prefer bills_update or when not to call this at all. Guidance exists only as scattered behavioral detail, not as explicit selection criteria.

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.