Skip to main content
Glama

Multi Books

Delete a recurring invoice on QuickBooks

recurring_invoices_delete
Destructive

Delete one recurring invoice of a QuickBooks company, by its id as recurring_invoices_list answers it: QuickBooks makes no more invoices from it, and those it made stay in the books. Deleted, it is written with its id alone; one whose answer never came is written where QuickBooks no longer holds it and not_written where it still does. A recurring bill's id names no recurring invoice and is refused. A Zoho Books organisation is refused, as recurring_invoices_create says. 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 QuickBooks is asked, and so do words that screen as a prompt attack. outcome is written with the record; not_written with reason and, where QuickBooks 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 QuickBooks'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>",
      "recurring_invoice": "<recurring_invoice>"
    },
    "name": "recurring_invoices_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyYesThe id companies_list gives the company.
recurring_invoiceYesThe recurring invoice's id, as recurring_invoices_list answers it.

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?

Far beyond the annotations: it discloses the exact destructive scope (future generation stops, existing invoices survive), idempotency via a per-write request key so QuickBooks never takes it twice, read-back settlement for lost responses, and the outcome/not_written/unknown result states. It also documents a pre-flight read-only block and a prompt-attack screen, plus obstacle-handling when QuickBooks's words are withheld.

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?

Every sentence carries real information, but the prose is dense, clause-heavy, and front-loads effect details before stating the basic refusal rules, making it harder to scan. Some sentences ('Deleted, it is written with its id alone; one whose answer never came is written where QuickBooks no longer holds it...') are close to unparseable on first read.

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 destructive, cross-provider delete with no output schema, the description covers effect, refusals, idempotency, failure settlement, and the shape of outcome/reason/found fields. There is no material behaviour an agent needs before invoking this tool that is left unstated.

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 100%, so the baseline is 3; the description adds provenance for recurring_invoice (it must be an id as recurring_invoices_list answers it) and explicitly states that a recurring bill's id will not be accepted, which meaningfully narrows the valid value space.

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?

States a specific verb and resource (delete one recurring invoice of a QuickBooks company) and immediately defines the effect: no further invoices are generated but already-created invoices remain. It also distinguishes the resource from a recurring bill, which is refused, so an agent can tell it apart from recurring-bills and one-off invoice tools.

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 concrete when-not conditions: a recurring bill id is refused, a Zoho organisation is refused (pointing at recurring_invoices_create for that path), and FreeAgent/Xero/read-only companies are refused before any call is sent. It never explicitly contrasts with invoices_delete or invoices_void for cancelling already-issued invoices, so the alternative-routing guidance is slightly incomplete.

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.