Skip to main content
Glama
Beankeeper

Beankeeper

Official

document_revoke

Remove a payment allocation as of a given date and keep its history so bookkeeping corrections remain traceable.

Instructions

Remove a payment allocation as of the supplied date and retain its history.

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>",
      "id": "<id>",
      "date": "<date>"
    },
    "name": "document_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAn immutable allocation of a posting against a document.
dateYes
companyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With only readOnlyHint=false supplied, the description usefully adds that history is retained rather than erased, which matters for a mutation. However, it omits reversibility (can the revocation be undone?), permission requirements, and what happens to the document's balance after removal.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero padding; the action, the effective-date condition, and the history-retention behavior all earn their place.

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?

For a three-required-parameter mutation with no output schema and minimal annotations, the description conveys the core effect but leaves out return information, error conditions, and two of three parameters. Adequate to attempt a call, not complete.

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 33%: only 'id' is documented in the schema, while 'date' and 'company' have no descriptions. The description clarifies that 'date' is the effective date of removal ('as of the supplied date'), which is real added meaning, but 'company' and the exact format/meaning of 'id' remain undocumented.

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?

States a specific verb and resource ('Remove a payment allocation') with the as-of-date scoping and a notable effect ('retain its history'). It is clear on its own, but it offers no differentiation from siblings such as document_allocations or document_allocate, so an agent must infer which tool handles allocation inspection versus reversal.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus alternatives, no prerequisites (e.g., document must be posted, period open), and no mention of the inverse tool for re-allocating. The only implied usage is the 'as of the supplied date' backdating context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools