Skip to main content
Glama

MoneyTools x402 agent toolkit

MCP tool-list token meter

mcp_token_measure
Read-onlyIdempotent

Measure how many context tokens a remote MCP server's tools/list costs vs a slim one-line index, per tool. Links MoneyTools Slim (slim.moneytools.dev), an MCP tool-list measurement/trim utility (clients like Claude Tool Search already defer tool loading). Free: 10 calls/day; then $0.001/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]

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": {
      "upstream": "<upstream>"
    },
    "name": "mcp_token_measure"
  }
}

Input Schema

NameRequiredDescriptionDefault
upstreamYeshttps URL of a remote MCP server (streamable HTTP)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive, open-world), so that is not the description's burden. The description adds material facts the annotations cannot convey: a free tier of 10 calls/day, metered pricing at $0.001/call afterward, and two accepted payment paths (x402 via params._meta["x402/payment"] or HTTP, and X-API-Key credits). Rate limits and auth/cost mechanics are exactly the kind of operational context this dimension rewards; only failure behavior and latency are left unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core measurement claim is front-loaded, which is good, but the sentence then accumulates a promotional URL ('slim.moneytools.dev'), pricing arithmetic, two payment mechanisms, and a bracketed server tag. Some of that (cost, auth) earns its place; the branding and the parenthetical about deferred tool loading are less essential. Density is high but the signal-to-noise ratio is only moderate.

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?

With one required parameter, full schema coverage, an output schema, and rich annotations, the description fills the remaining gaps: what is being counted, what it is compared against, and the commercial/access constraints. An agent could invoke this correctly after reading it. Only failure modes and expected response timing are unaddressed.

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% and the single required parameter carries an inline description plus an example URL, so the schema already does the parameter work. The description only confirms that the target must be a remote MCP server exposing tools/list, which reinforces but does not extend the schema. Baseline 3 applies.

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 names a concrete verb and object: measuring how many context tokens a remote MCP server's tools/list costs versus a slim one-line index, reported per tool. That is far more specific than the title, and the 'remote MCP server' framing distinguishes it from generic token utilities like token_count. It stops short of explicitly contrasting itself with the lint-style sibling, so it is not a 5.

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 statement, and no named alternative among the siblings. The parenthetical that 'clients like Claude Tool Search already defer tool loading' hints at a relevance condition but is an aside about client behavior, not an instruction for choosing this tool. An agent must infer the trigger case from the purpose sentence alone.

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