Skip to main content
Glama

MoneyTools Inference Fidelity Audit

fidelity_bill_check

Read-onlyIdempotent

Recount visible tokens vs seller usage/charge. Free 5/day then 0.005 USDC.

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": {
      "response": "<response>"
    },
    "name": "fidelity_bill_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoClaimed model id (informational)
requestNoOriginal request (messages) for input size estimate
responseYesSeller response object with content and optional usage {prompt_tokens,completion_tokens}
chargedUsdNoAmount charged in USDC (optional)
priceTableNoOptional {inputPerMTok, outputPerMTok} USD per million tokens
chargedAtomicNoAmount charged in USDC atomic units (1e6 = 1 USDC)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context — a rate limit of 5 free calls per day followed by a per-call charge of 0.005 USDC — which the agent could not learn from annotations. However it says nothing about what a mismatch result looks like or how discrepancies are reported, which matters since there is no output schema.

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 short sentences, zero filler, and the core action is front-loaded before the cost note. The telegraphic style ('visible tokens vs seller usage/charge') borders on under-specification, but nothing is wasted.

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?

With six parameters, nested request/response objects, and no output schema, the agent has no way to know the shape of the verdict (delta? pass/fail? per-model breakdown) from structured fields alone. The description covers cost and the comparison intent but leaves the return contract and mismatch semantics entirely unspecified.

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%, so all six parameters (model, request, response, chargedUsd, priceTable, chargedAtomic) are documented in the schema. The description adds no parameter-level meaning beyond the schema — it does not clarify precedence between chargedUsd and chargedAtomic, or how priceTable interacts with seller-reported usage. Baseline 3 applies when the schema does the heavy lifting.

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 gives a specific verb plus object: 'Recount visible tokens vs seller usage/charge', which tells an agent this is a billing-verification comparison rather than a general audit. It does not differentiate itself from siblings such as fidelity_audit or fidelity_quick_check, leaving the agent to infer the distinction.

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 guidance, and no sibling is named as an alternative. The only contextual note is commercial ('Free 5/day then 0.005 USDC'), which is pricing, not usage selection guidance.

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