Skip to main content
Glama
Beankeeper

Beankeeper

Official

expense_claim_amend

Revise a draft or rejected expense claim by updating its details, splits, and funding for resubmission.

Instructions

Revise a draft or rejected expense claim.

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

Input Schema

NameRequiredDescriptionDefault
idYes
termsYes
companyYes
revisionYes
referenceYes

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?

Annotations only supply readOnlyHint=false, so the description adds real value by disclosing the claim-state gate for amendment. It omits other important behavior for a mutation with a required revision field: whether the terms object fully replaces the prior claim, how revision conflicts are handled, and whether validation failures leave the claim untouched.

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

Conciseness4/5

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

A single tight sentence with the key state constraint front-loaded and no wasted words. Its brevity is only a problem because content is missing, not because of verbosity or poor ordering.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-required-parameter mutation with a nested terms object, splits, and funding variants, and no output schema, one sentence is far from sufficient. An agent must fall back entirely on the JSON schema to learn that amendment replaces a full claim body and requires a revision number.

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 reported at 0%, and the description contributes no meaning for company, id, revision, reference, or the nested terms object. Some nested properties carry inline schema descriptions, so the agent is not completely blind, but the description itself adds nothing and leaves the optimistic-concurrency semantics of 'revision' and the shape of 'terms' unclarified.

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 ('Revise') and resource ('expense claim') plus a state scope ('draft or rejected'), which lets an agent separate it from create/submit/void siblings. It does not explicitly name those siblings, but the mutation target is unambiguous.

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 'draft or rejected' phrase functions as an implicit precondition and rules out amending a submitted or approved claim. However, nothing is said about which sibling to use instead (e.g., submit or void) or what to do when the claim is in another state.

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