Skip to main content
Glama

convert

Convert a model call's token counts into SIU and USD. Price: $0.001 USDC (707 mSIU at the 2026-11-28 Commodity print).

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": {
      "model": "<model>",
      "input_tokens": "<input_tokens>",
      "output_tokens": "<output_tokens>"
    },
    "name": "convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYes
input_tokensYes
output_tokensYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/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 a real behavioral trait: the tool costs $0.001 USDC per call with a stated exchange rate at a specific date. However, it never says how payment is authorized, whether the charge is per invocation, whether the price is fixed or floating, or whether the call is a pure read. Payment mechanics and idempotency remain undisclosed.

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 tight sentences with the core action front-loaded and the price detail secondary. The parenthetical is dense ('707 mSIU at the 2026-11-28 Commodity print') and uses unexplained units, but no sentence is filler.

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 three-parameter, no-nested-object tool, the description covers the action and the cost. It stops short of explaining what the return payload looks like (no output schema exists) and never defines SIU/mSIU, so an agent must infer the result shape.

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%, so the description must compensate for all three parameters. It loosely maps 'model call's token counts' to input_tokens/output_tokens and names the model concept, but adds no format, unit, or range guidance — e.g. whether 'model' is a name, slug, or ID, or whether token counts are per-call or cumulative.

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 and resource: converting a model call's token counts into SIU and USD. That is distinct from the sibling tools (get_index, get_quote, verify_receipt), though the description never explicitly contrasts itself with them. The undefined acronym 'SIU' slightly blunts the clarity of the target output.

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 tool versus get_quote or get_index, nor any prerequisite or exclusion. The only hint is the pricing sentence, which implies a paid call but does not tell the agent when that call is warranted.

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.