Skip to main content
Glama
Beankeeper

Beankeeper

Official

expense_claim_receipt_intake

Stage size-limited PNG, JPEG, or PDF receipts as expense-claim evidence, plus optional unconfirmed OCR findings for review and confirmation.

Instructions

Stage bounded PNG, JPEG or PDF evidence and optional unconfirmed OCR findings.

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

Input Schema

NameRequiredDescriptionDefault
companyYes
filenameNo
findingsNo
findings_hashNo
content_base64YesStandard Base64 of one receipt, bounded to 5 MiB after decoding.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/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 must carry the behavioral burden. It does add real nuance beyond the annotations: that the upload is size-bounded, that only PNG/JPEG/PDF are accepted, and that OCR findings are "unconfirmed" and therefore not authoritative. It still omits what staging actually creates, whether re-staging is idempotent, and what happens when the same evidence is submitted twice.

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 no filler; the key action and constraints appear immediately. Nothing is redundant or buried.

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 mutating intake tool with a nested findings object, a 64-hex hash parameter, a 5 MiB payload limit, and no output schema, one sentence is not enough. The agent is left without the return value (staged receipt id or hash), the relationship between findings and findings_hash, or error/precondition behavior.

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 only 20%, so the description must compensate, and it partly does: the accepted MIME types are nowhere in the schema, and "unconfirmed" clarifies the intent of the findings object. However, company, filename, and findings_hash receive no explanation at all, leaving most of a 5-parameter surface uninterpreted.

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 uses a specific verb ("Stage") with a specific resource ("evidence" plus "optional unconfirmed OCR findings"), and adds the accepted file types. It clearly reads as the intake path for receipt evidence, distinct in intent from the sibling show/resolve tools, though it never names an alternative explicitly.

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?

There is no when-to-use guidance: nothing says this is the first step before expense_claim_submit, nor when to use collection_resolve_receipt or expense_claim_receipt_show instead. The word "Stage" hints at a preliminary role, but the agent must infer it from the name rather than the description.

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