Skip to main content
Glama

finops.token-spend-audit

Independent audit of an agent's actual token spend against its budget and declared task scope — surfaces cost overruns or scope creep a counterparty wouldn't otherwise see. (x402: $0.05 USDC per call)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "finops.token-spend-audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoTask/query text for this SKU

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

The description adds real context beyond the annotations: the independent/third-party framing, the 'counterparty wouldn't otherwise see' signal, and the x402 price of $0.05 USDC per call, which matters for a non-idempotent tool. But with readOnlyHint=false and idempotentHint=false set, the description never says what state a call actually creates or whether repeat calls re-bill and duplicate artifacts. For a non-read-only, non-idempotent, open-world call, that gap is material.

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 sentences, front-loaded with the core verb and resource, followed by the differentiator and the price. Nothing is redundant. The parenthetical pricing note is well-placed rather than buried.

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?

There is no output schema, so the description carries the burden of saying what comes back; it gestures at 'surfaces cost overruns or scope creep' but gives no sense of the result shape or verdict. For a single-parameter tool with no required inputs and a clear price, this is roughly minimum viable rather than complete.

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 coverage is 100% for the single 'task' parameter, so the baseline is 3. The description never connects the audit's 'declared task scope' to the 'task' argument, nor does it say whether the task text is what defines the scope being checked. That link would have been genuinely additive; without it the description only repeats the schema.

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 states a specific verb and resource: an independent audit of an agent's token spend measured against both its budget and its declared task scope, plus the two failure modes it detects (cost overrun, scope creep). That is far more specific than the name alone. It does not, however, distinguish itself from adjacent audit-flavoured siblings such as security.audit-attestation or security.enterprise-audit, so an agent must infer the boundary.

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?

Usage is implied by the framing 'against its budget and declared task scope', which tells the agent the precondition that a budget and a declared scope must exist. There is no explicit when-to-use, no when-not-to-use, and no named alternative among the many audit and trust siblings. The agent must reason about routing on its own.

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.