Skip to main content
Glama
Beankeeper

Beankeeper

Official

inventory_valuation

Read-only

Reconcile FIFO inventory value to stock accounts as of a cutoff date, verifying balances and resolving discrepancies.

Instructions

Reconcile FIFO inventory value to the stock accounts as of a cutoff.

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

Input Schema

NameRequiredDescriptionDefault
as_ofYesA real calendar date. Text input accepts the CLI's legacy unpadded dates.
companyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior3/5

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

readOnlyHint=true is already supplied, and "Reconcile" is consistent with a read/compute operation, so no contradiction. The description adds the meaningful behavioral fact that the computation compares FIFO valuation against stock accounts, but says nothing about whether a report is returned, whether mismatches are reported per account, or whether any period constraints apply.

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 front-loaded sentence with no filler; every word carries meaning. It is efficient but arguably too terse for a tool whose computation is non-obvious.

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 valuation/reconciliation tool with no output schema and an undocumented company parameter, the description leaves the agent unsure what the result represents (a variance report? a single figure?) and what the cutoff date governs. The read-only annotation covers safety, but the substantive behavior of the reconciliation remains unexplained.

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 coverage is 50%: as_of is documented in the schema, while company has only a regex pattern and no semantic description. The description's "as of a cutoff" merely restates the as_of parameter and offers no clarification of what "company" means (entity identifier? slug?) or what date format the cutoff expects.

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 pairs a specific verb ("Reconcile") with a specific resource ("FIFO inventory value to the stock accounts") and a scope ("as of a cutoff"), which is clearly distinct from sibling read/list tools like inventory_list or inventory_show. It stops short of naming or contrasting any sibling, so the agent must infer the differentiation.

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 explicit when-to-use statement, no preconditions, and no named alternative (e.g., when to reconcile versus simply listing movements). The only guidance is the implicit "as of a cutoff" scoping phrase, which tells the agent nothing about selecting this tool over the many inventory siblings.

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