Get credit balance
d7_get_balanceRead the D7 account's remaining credit balance (free; no credit is spent). D7 REST: GET /messages/v1/balance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
d7_get_balanceRead the D7 account's remaining credit balance (free; no credit is spent). D7 REST: GET /messages/v1/balance.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuine behavioral value beyond that by disclosing the cost trait ('free; no credit is spent') and the underlying REST call, which tells an agent it can call this freely without consuming account credits.
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?
Two short sentences, front-loaded with the core action and followed by the cost note and endpoint reference. Every clause carries information; there is no filler.
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 zero-parameter read tool, the definition is essentially complete: what it reads, that it is free, and the endpoint. With no output schema, it could optionally state what the returned balance looks like (units/currency), which is the only minor gap.
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?
The tool takes zero parameters, so there is nothing for the description to disambiguate. The baseline for a parameterless tool applies, and nothing in the description misleads about inputs.
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 ('Read') and resource ('the D7 account's remaining credit balance'), which is clearly distinct from siblings like d7_get_sms_pricing and d7_get_lookup_report. It does not explicitly contrast itself with any sibling, but the resource is unambiguous on its own.
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 parenthetical '(free; no credit is spent)' implies this is a safe, cost-free call, which is useful usage context, but there is no explicit when-to-use, when-not-to-use, or named alternative among the siblings. Usage is implied rather than stated.
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.