Skip to main content
Glama

info_cost_report

The information-cost report of an agent (purchases here, with evidence, and its later USDC transfers when an indexer is configured), for the viewer the agent named. grant: typed_data(InfoCostGrant) signed by the agent; request: typed_data(InfoCostView) signed by the viewer.

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": {
      "grant": "<grant>",
      "request": "<request>"
    },
    "name": "info_cost_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
grantYes
requestYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 real behavior beyond the schema: the dual-signature authorization model, who signs which object, and that USDC transfer data appears only when an indexer is configured. It does not state that this is a read-only operation, nor anything about nonce replay, validUntil/deadline expiry failure modes, or the shape of the returned report.

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 dense sentences that front-load what the tool returns before the signing mechanics. Every clause carries information; the parenthetical about the indexer and the trailing grant/request definitions are terse but not padded.

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?

For a two-parameter tool with fully nested, undescribed objects, no annotations, and no output schema, the description covers the authorization contract well but omits the return shape ('report' is never characterized), expiration behavior, and any indication of volume or pagination. Adequate to call correctly, thin for interpreting the result.

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 0% and the nested objects have no field descriptions at all, so the description must compensate. It identifies grant as typed_data(InfoCostGrant) signed by the agent and request as typed_data(InfoCostView) signed by the viewer, which clarifies the two top-level params, but leaves the meaningful fields (agent, viewer, validUntil, nonce, deadline) unexplained.

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 the resource returned and its scope: an agent's purchases (with evidence) plus later USDC transfers when an indexer is configured, limited to the viewer the agent named. That is specific enough to separate it from siblings like list_evidence or agent_profile, though it never names an alternative and the phrase 'information-cost report' is project jargon.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance, and no routing to siblings. Usage is only implied through the stated preconditions (a grant signed by the agent and a request signed by the viewer), which tell the caller it is only callable in a viewer-authorized context.

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