Skip to main content
Glama
Beankeeper

Beankeeper

Official

txn_reject

Reject a pending transaction proposal with an optional reason; resolved proposals cannot be rejected again.

Instructions

Reject a pending proposal with an optional reason. ledger/propose can withdraw the caller's own proposal; ledger/approve can reject any proposal. Resolved proposals cannot be resolved again.

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>"
    },
    "name": "txn_reject"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
reasonNo
companyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/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 add value: it discloses that a reason is optional, that rejection targets only pending proposals, and that resolved proposals are terminal ('cannot be resolved again'). It omits what a successful rejection returns and whether the reason is recorded or visible to others.

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?

Three short sentences, front-loaded with the action, then alternatives, then the terminal-state constraint. No filler, and each sentence contributes information an agent needs.

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 simple mutation with no output schema and thin annotations, this covers purpose, alternatives, and the key precondition about already-resolved proposals. Remaining gaps are the unexplained company parameter and the absence of any failure-mode or return-value context.

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 description coverage is 0%, so the description must compensate and it only partly does: it explains that 'reason' is optional and that 'id' refers to a pending proposal (reinforced by the proposal_ pattern). The required 'company' parameter is never mentioned, leaving one of three parameters with meaning only inferable from its pattern.

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 — 'Reject a pending proposal' — plus the optional reason argument, so the action is unambiguous. It also names two related operations, though it uses 'ledger/propose' and 'ledger/approve' rather than the sibling naming convention (txn_propose and no approve sibling is listed), which slightly blurs the cross-reference for an agent matching against tool names.

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 real routing guidance: use ledger/propose to withdraw your own proposal, approve to reject any proposal. That establishes the caller's relationship to the proposal as a decision factor. It stops short of stating plainly why an agent would pick reject over approve, since approve is described as able to reject any proposal too.

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