Check prepaid credit balance
get_balancePrepaid credit balance and recent ledger for the API key on this MCP request — needs an lp_ key (x-api-key / Bearer).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
get_balancePrepaid credit balance and recent ledger for the API key on this MCP request — needs an lp_ key (x-api-key / Bearer).
| 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, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new context beyond that: the required credential type (lp_ key) and how it is transmitted (x-api-key / Bearer), which an agent needs before calling.
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?
One dense sentence, front-loaded with what is returned and followed by the auth constraint. No filler and nothing that needs to be read twice.
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?
With no output schema, the description carries the burden of telling the agent what comes back (balance and recent ledger), and it does. Auth requirements are also stated. Only marginal gaps remain, such as behavior on an invalid or missing key.
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 the baseline is 4. The description correctly adds nothing parameter-related and instead spends its words on auth and return content, which is the right allocation.
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?
Names the specific resource and scope: the prepaid credit balance plus recent ledger for the API key on the current request. It's clear what the tool returns, though it doesn't explicitly contrast with any sibling — not a real risk here since the siblings (chat_text, generate_image, list_models) are in unrelated domains.
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?
Usage is implied rather than stated: an agent can infer you call it to check remaining credit, and the description notes the auth precondition. There is no alternative tool to route away from, but no explicit 'use when' framing either.
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.