Skip to main content
Glama
Beankeeper

Beankeeper

Official

investment_buy

Records an exact share quantity acquired and posts total acquisition cost against cash; duplicate references fail atomically.

Instructions

Acquire an exact share quantity and post total acquisition cost against cash. A duplicate reference fails atomically.

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>",
      "symbol": "<symbol>",
      "quantity": "<quantity>",
      "cost": "<cost>",
      "date": "<date>",
      "asset": "<asset>",
      "cash": "<cash>"
    },
    "name": "investment_buy"
  }
}

Input Schema

NameRequiredDescriptionDefault
cashYes
costYes
dateYes
assetYes
symbolYes
companyYes
quantityYesPositive quantity with up to eight decimal places.
referenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations supply only readOnlyHint=false, so the description must carry the rest; it does disclose one genuinely useful trait — a duplicate reference fails atomically, i.e. idempotency keyed on 'reference' with rollback. It says nothing about what is written (lots, cash balance), partial-failure behavior for non-duplicate errors, or required account permissions.

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?

Two short sentences, no filler, with the core action front-loaded and the duplicate-reference caveat second. The compression is heavy enough that the mapping of 'cost' and 'asset' to parameters becomes ambiguous, so it trades a little clarity for brevity.

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 an eight-parameter mutation with 13% schema coverage, no output schema, and only a readOnlyHint annotation, two sentences are thin — the identifiers (company/symbol/asset/cash), entry date semantics, and the resulting ledger effect are undocumented. An agent could plausibly call it with an account ID where an amount belongs.

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 13% (just 'quantity' documented), so the description must compensate. It does clarify meaning for four of eight parameters: quantity is an exact share count, cost is a total (not per-share) figure, cash is the account/ledger posted against, and reference is a deduplication key. It leaves company, symbol, date, and asset entirely unexplained, and does not resolve whether 'cost' and 'asset' are amounts or account identifiers.

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 concrete verb+resource pair: acquire a share quantity and post total acquisition cost against cash, which clearly marks this as the buy-side counterpart to investment_sell. It never names or contrasts with a sibling explicitly, so differentiation rests on the tool name rather than the text.

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 statement of when to use this versus investment_sell, investment_lots, or a manual journal entry, and no prerequisites (existing asset/cash accounts, sufficient balance) are given. Usage is only inferable from the verb 'acquire'.

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