Skip to main content
Glama

satledger timestamp receipt

Record usage

record_usage

Burn credits from an agent's account, as a signed ledger event. Costs 1 unit. Authenticate with the workspace key in _meta[satledger/api-key].

Input Schema

NameRequiredDescriptionDefault
amountYes
api_keyNoYour workspace key, if your client cannot set _meta[satledger/api-key]. Prefer _meta: arguments are logged by most clients.
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the mutation ('burn credits'), the cost (1 unit), and the auth mechanism (_meta workspace key). However, it omits critical traits for a billing operation: idempotency/retry behavior, reversibility, and failure modes, which matter greatly since a retried call could double-burn credits.

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?

Three tight sentences with the core action front-loaded and no filler. The one weak spot is 'costs 1 unit,' which is terse but adds confusion rather than clarity given the amount parameter.

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

Completeness3/5

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

The description covers purpose, cost, and authentication, which is a reasonable baseline for a 3-param tool. But with no annotations and no output schema, it should also address idempotency and what a successful ledger write returns, both of which are missing for a credit-consuming mutation.

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 description coverage is only 33%, so the description should compensate but largely does not. It explains the auth channel but leaves agent_id and amount unexplained; worse, 'costs 1 unit' sits ambiguously against a required 'amount' parameter, potentially confusing the agent about what amount controls.

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+resource: burning credits from an agent's account as a signed ledger event. This is a concrete, distinct operation, but the description never explicitly distinguishes it from siblings like record_action or fund_agent, so an agent must infer the difference.

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?

It gives no when-to-use or when-not-to-use guidance and never names an alternative. The only contextual cue is 'costs 1 unit,' which hints at a metering scenario but does not route the agent among the many sibling tools.

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.

Resources