check_credits
Check remaining credits for an API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes |
Check remaining credits for an API key.
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond that: it does not say what is returned, whether an invalid key errors, or any rate/scope constraints, so it merely restates the annotation title 'Check Credit Balance'.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single short sentence with the resource and target front-loaded and no filler. It is efficient, though its brevity is partly under-specification rather than genuine economy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a trivial one-parameter read tool with annotations covering safety, the minimum is met. However, there is no output schema and the description never indicates what a successful check returns (balance, remaining count, error state), leaving a real gap for an agent interpreting results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% and the single required api_key parameter has no schema description. The phrase 'for an API key' only loosely ties the argument to the operation and adds no format, source, or validity information to compensate for the coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: 'Check remaining credits for an API key.' It is distinguishable from the closest sibling add_credits (read vs. write), though it never names or contrasts with any sibling explicitly, so it falls short of the sibling-aware 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description offers no when-to-use guidance, no prerequisites (e.g., key must be valid/registered), and no mention of alternatives such as register_free_key or add_credits. Usage is only inferable from the tool name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.