Skip to main content
Glama

Demurrage for Agent Resource Holds: price the hold, not just the use

demurrage_evaluate_hold

Evaluate a hold: accrual + notice ladder + budget debit + cap snapshot-and-release. Requires api_token, hold_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hold_idYes
api_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/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 the step list ('budget debit', 'cap snapshot-and-release') does hint that this mutates budget state and takes a cap snapshot, which is useful signal. But it never states permissions needed, idempotency, reversibility, or whether the debit is committed or merely previewed, leaving the safety profile ambiguous for a multi-step operation.

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 purpose is front-loaded in a single dense sentence and the follow-up is brief. The 'Requires api_token, hold_id' sentence is largely redundant with the schema's required array, which costs a little.

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?

This is a compound operation (accrual, notice ladder, budget debit, cap snapshot-and-release) with no output schema, no annotations, and undocumented parameters, yet the description never explains what any step means or what the evaluation returns. An agent can identify the tool but not predict its effect or result.

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 0% and neither parameter is explained in the description — 'Requires api_token, hold_id' only restates the required list already present in the schema. No format, provenance, or scoping semantics for hold_id are added, so the description does not compensate for the coverage gap.

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 ('Evaluate') and resource ('a hold') and enumerates the sub-operations it performs: accrual, notice ladder, budget debit, cap snapshot-and-release. However, it never distinguishes itself from siblings like demurrage_query_hold, demurrage_release_hold, or demurrage_account, so an agent cannot fully route between them from the text alone.

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 and no mention of alternatives, despite four plausible sibling tools (query, register, release, account). The agent must infer that 'evaluate' is the composite operation, which is not stated.

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