Skip to main content
Glama
Beankeeper

Beankeeper

Official

expense_claim_void

Cancel an approved but unpaid expense claim and post an audited compensating journal entry to reverse the reimbursement liability.

Instructions

Cancel an approved, unpaid reimbursement claim with an audited compensating journal.

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>",
      "revision": "<revision>",
      "reference": "<reference>",
      "date": "<date>",
      "reason": "<reason>"
    },
    "name": "expense_claim_void"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
dateYesA real calendar date. Text input accepts the CLI's legacy unpadded dates.
reasonYes
companyYes
revisionYes
referenceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, so the description carries most of the burden and does deliver real value: it discloses that the cancellation is effected by an audited compensating journal rather than a deletion, which tells the agent the original record persists and the action is audit-visible. It stops short of stating irreversibility, required permissions, or the resulting claim status.

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 the verb, the eligibility constraint, and the accounting effect, with zero filler. Nothing can be trimmed without losing signal.

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 six-required-parameter mutation with no output schema, the description covers purpose and side effect but not parameter meaning or what comes back after the void. Adequate as a headline, insufficient as a call contract.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 17% - only `date` is annotated, and even that note is about legacy unpadded input rather than meaning. The description adds nothing about `id`, `company`, `revision` (apparently an optimistic-concurrency token), `reference`, or `reason`, leaving the two free-text fields and the revision guard entirely unexplained.

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 description names a specific verb (cancel) and a narrowly qualified resource (an approved, unpaid reimbursement claim), plus the accounting mechanism (audited compensating journal). That qualifier set is enough to tell it apart from amend/create/submit siblings without opening another schema, though no sibling is named explicitly.

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?

The preconditions 'approved, unpaid' implicitly define when this tool is valid versus when it will fail, which is useful gating. However, it never points to the obvious alternatives - amend a claim, show a claim, or submit one - so the agent must infer routing from sibling names alone.

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