Skip to main content
Glama

Record cash put into the float

topup_record

Record cash put into the tin, in whole MINOR units, with the date and source, and return the new balance against the imprest. It also reimburses every voucher up to that date, as a replenishment does.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesThe date the cash went in, YYYY-MM-DD
floatNoThe float id, e.g. FLOAT-2026-0001, or its name. Omit when there is only one
sourceYesWhere it came from, e.g. Cheque 0142, Bank withdrawal, or Owner
amount_minorYesCash added, in whole minor units

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no useful annotation hints (all false), the description carries the burden of disclosure, and it does disclose a major behavioral trait: recording cash also reimburses every voucher up to the given date. It also states the return value (new balance). It could add more on permissions, reversibility, or status changes to vouchers, but the main side effect is not hidden.

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?

The description is compact: one sentence for the core action and one for the side effect. Both sentences add information, though 'tin' and 'imprest' are informal/domain jargon, and 'as a replenishment does' is slightly roundabout.

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 four-parameter tool with no output schema, the description tells the agent what the tool returns (new balance) and warns about the consequential voucher reimbursement. The optional float behavior is left to the schema, and there is no discussion of duplicate calls or failure cases, but the core call-and-response context is present.

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 100%, so the schema already documents amount_minor, date, source, and float. The description restates 'whole MINOR units' and 'date and source' but adds no meaning beyond the schema, apart from reinforcing the minor-units constraint.

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 clearly identifies the operation as recording cash added to the float and returning the new balance, and it calls out the non-obvious side effect that existing vouchers get reimbursed. It is therefore more specific than a tautology and likely distinguishable from viewing/reporting tools, but it does not explicitly contrast topup_record with the closely related replenish_request sibling.

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 or when-not-to-use guidance, and no sibling is named as an alternative. The phrase 'as a replenishment does' is explanatory rather than a routing rule, so an agent must infer from the name or title when this tool is preferred over replenish_request.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.