Skip to main content
Glama

run_credit_diagnostic

Opt-in diagnostic using utility credits: 1 credit per completed http/mcp/assert check. Read pricing first. Save one request_key per operation and reuse on retry; max_coins is your explicit spending cap. Broken targets and failed assertions still provide chargeable evidence. Invalid requests and Autonet worker failures cost zero. The first 10 shared completed interactive work calls/IP/24h cost zero; later checks use credits. Read pricing for current funding availability. Replays return a privacy-safe receipt without rechecking the target or charging again.

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": {
      "kind": "<kind>",
      "url": "<url>",
      "api_key": "<api_key>",
      "request_key": "<request_key>",
      "max_coins": "<max_coins>"
    },
    "name": "run_credit_diagnostic"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
kindYes
expectNo
api_keyYes
max_coinsYes
request_keyYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior5/5

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

With only generic annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), the description carries the burden well: it discloses the billing unit, that broken targets and failed assertions remain chargeable, that invalid requests and Autonet worker failures cost zero, that max_coins is a hard spending cap, and that replays return a privacy-safe receipt without rechecking or recharging. That is exactly the behavioral context an agent cannot get from structured fields.

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 content is valuable but the structure is loose: pricing guidance is split across two separate sentences ('Read pricing first' and 'Read pricing for current funding availability'), which reads as redundant, and a line break interrupts a sentence mid-thought. Billing rules are front-loaded before the agent learns what the tool actually does.

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?

An output schema exists, so return values need not be explained, and the receipt/replay semantics are covered. But for a 6-parameter tool with zero schema description coverage and open-world, non-read-only behavior, key gaps remain: what 'kind' accepts, what 'expect' should contain, and how api_key is used.

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% across 6 parameters, so the description must compensate and only partly does: it explains request_key (one per operation, reuse on retry) and max_coins (explicit spending cap) meaningfully. The remaining four — url, kind, api_key, and especially the polymorphic 'expect' object — receive no explanation of format or allowed values.

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 ('Opt-in diagnostic using utility credits') and immediately defines the unit of work ('1 credit per completed http/mcp/assert check'), so an agent knows exactly what this tool does. It does not, however, distinguish itself from plausible siblings such as run_signed_diagnostic, diagnose_http, or run_autonet_sandbox, so the agent gets no help choosing among them.

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?

There is real operational guidance: 'Read pricing first', 'Save one request_key per operation and reuse on retry', and the note that the first 10 shared completed interactive work calls/IP/24h are free. What is missing is selection guidance — nothing says when to use this versus run_signed_diagnostic or diagnose_http, or what preconditions (funding, account) must hold.

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