Skip to main content
Glama

Get credit balance

get_credit_balance
Read-onlyIdempotent

Credit balance, plan and concurrency limit. Prices: 1 credit per cover, edit, variation, text removal or audiobook cover; 1 credit, whatever the back style per wrap; upscales, exports and wrap text changes are free. A book whose marketing kit is open this month gets its first wrap, audiobook cover and text-free cover for 0 credits; marketing_kits lists those books.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_credit_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
tierYes
is_activeYes
marketing_kitsYes
credits_monthlyYes
overage_creditsYes
concurrent_limitYes
credits_availableYesSpendable now: this month's remaining allowance plus overage.
credits_remainingYesRemaining from this month's allowance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare this is a read-only, idempotent, closed-world, non-destructive operation, so the safety profile is covered. The description adds real context beyond that: the three data points returned and the credit-cost rules that give the returned number meaning. It does not discuss rate limits or account/auth prerequisites, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is correctly front-loaded in the first three words, which is good. However, most of the body is a detailed price schedule for unrelated operations (covers, edits, wraps, audiobook covers, upscales) rather than information about the balance call itself. The marketing-kit free-credit exception is a narrow edge case that consumes a full sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description does not need to enumerate return fields, and with zero parameters there is no input surface to explain. The description supplies what the schema cannot: how credits are consumed and when they are free. It is complete enough to call correctly, though the pricing detail drifts beyond what is needed to invoke it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

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 4 baseline applies on that count. What the description does add is the meaning of the credit figures (cost per operation type), which is interpretive context rather than parameter semantics. Net effect is roughly neutral.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first clause names the exact resource set returned: 'Credit balance, plan and concurrency limit.' That is a specific noun phrase an agent can match to a billing/account question. It does not explicitly differentiate itself from siblings, but none of the listed siblings overlap this subject matter, so ambiguity risk is low.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to call this tool (e.g., before spending credits, to check remaining quota) and no named alternatives or exclusions. The only routing signal, 'marketing_kits lists those books,' points at another tool for interpreting free-credit eligibility, not at when to use this one. Usage must be inferred entirely from the name and title.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources