Get credit spend for a single agent
get_credit_usage_for_agentTotal credits spent by one specific agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes |
get_credit_usage_for_agentTotal credits spent by one specific agent.
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full load. It does say 'total credits spent', which is a return-semantics hint in the absence of an output schema, but it never states the time window (all-time vs. monthly, especially ambiguous next to get_credit_usage_monthly), whether the agent must exist or be owned by the caller, or any permission/error behavior.
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 front-loaded sentence with no filler. Brevity here is genuine conciseness rather than padding, though it is short to the point of under-specification.
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 credits-reporting read tool with no annotations, no output schema, and an ambiguous sibling cluster, the description omits the time window, the return shape, and the tool-selection rationale. Too thin for the surrounding context.
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?
One parameter at 0% schema description coverage. "One specific agent" loosely glosses agent_id as the agent identifier, but adds no format, source, or lookup guidance beyond what the name implies. Marginal value over the bare string type.
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+resource: total credits spent. The phrase "one specific agent" does marginally distinguish it from the sibling get_credit_usage_by_agent, which implies a per-agent breakdown across all agents. However it never names or contrasts that sibling explicitly, so the reader has to 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.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No when-to-use guidance, no exclusions, and no mention of alternatives despite four closely related siblings (get_credit_usage_by_agent, get_credit_usage_by_type, get_credit_usage_for_agent_connections, get_credit_usage_monthly). The agent must guess which credit tool to call.
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.