get_credits
Get the authenticated account's remaining credits. Generation consumes credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Get the authenticated account's remaining credits. Generation consumes credits.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
Input schema / $schemaRemoved value: -"http://json-schema.org/draft-07/schema#"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations were provided, so the description carries the disclosure burden. It states that 'Generation consumes credits,' clarifying that generate_tools consume credits, and describes this tool as a read-only retrieval of remaining credits. It doesn't separately atted 'this call itself does not consume credits' or slate exact response format, but for a single purpose zero-parameter balance check the disclosed behavior is sufficiently transparent.
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 contain all essential information, with the core action front-loaded: 'Get the authenticated account's remaining credits.' The second sentence provides useful domain context without bloating the definition.
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 zero-parameter simple lookup, the description is largely complete: it names the autghorized account, the resource credits, and the consumption behavior. Without an output schema it would be slightly stronger if it explicitly stated that the returned value is a numeric balance, but the phrase 'remaining credits' already conveys the expected result.
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?
There are no parameters and schema coverage is 100%, giving baseline of 4. The description adds the meaningful detail that no params are needed because the account is authenticated and the tool concerns remaining credits. It does't need to compensate for undocumented parameters.
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?
The description states a specific verb and resource: 'Get the authenticated account's remaining credits.' It clearly defines the tool as a balance/account operation, and because all sibling tools are generation, model, or task tools, this immediately identifies get_credits as the quota-checking counterpart.
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?
'Generation consumes credits' gives clear context for when this tool matters: check remaining credits before/while using generation tools. It does not explicitly enumerate when not to use it, but no exclusions are needed among the listed siblings because no other tool checks credit balances.
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.
Every tool targets a distinct resource/action: generate_* tools are separated by media type, list_*/get_* tools cleanly separate overview from detail retrieval, and get_task vs wait_for_task are clearly one-shot status vs polling behavior. There is no real overlap or ambiguity among the 14 tools.
The tools follow a consistent verb_noun snake_case convention: generate_*, list_*, get_*, and wait_for_*. The generate_* group cleanly maps to each output modality, and the get/list distinction is applied predictably.
14 tools is well-scoped for a multimodal generation server. Each tool earns its place: generation for each media type, model listing/detail, voice enumeration, credit lookup, and task status handling. There is no obvious bloat or redundancy.
The surface covers the core workflow well: discover models/voices, create generations, retrieve outputs, and monitor credits. The main gap is the absence of an explicit task cancellation tool, but the persisted task statuses and wait_for_task workflow make this a minor gap rather than a blocking one.