Skip to main content
Glama

vibedgames

Credit balance

credits
Read-only

Returns the caller's generation credit balance in micro-USD (1,000,000 = $1), their 100 most recent ledger entries, whether card purchases are open, and whether the caller must confirm their email before redeeming a code.

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": "credits"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
entriesYes
balanceMicroYes
mustVerifyEmailYesTrue until the caller confirms their email address; `credits.redeem` answers 412 meanwhile.
purchasesEnabledYesWhether `credits.checkout` takes card payments; when false, credit comes from codes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the result is scoped to the caller, the unit is micro-USD with an explicit conversion (1,000,000 = $1), and the ledger is capped at the 100 most recent entries — a concrete behavioral limit.

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

Conciseness5/5

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

A single sentence, front-loaded with the primary value (the balance) and its unit, followed by the secondary payloads. No filler, no restatement of the tool name, and each clause conveys a distinct fact the agent would otherwise lack.

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

Completeness5/5

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

With zero parameters, full schema coverage, an output schema present, and read-only annotations, the definition's burden is light — yet it still pre-announces the four returned facts and the unit convention. An agent can call this correctly and interpret the response without opening the output schema.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, so there is no parameter semantics to explain; the baseline for a zero-parameter tool is 4. The description correctly spends its space on return content instead of inventing input guidance.

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

Purpose5/5

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

The description opens with a precise verb+resource ('Returns the caller's generation credit balance') and then enumerates the exact contents returned (ledger entries, card-purchase availability, email-confirmation gate). This clearly differentiates a read-only balance lookup from the mutating siblings credits_buy and credits_redeem.

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

Usage Guidelines3/5

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

There is no explicit when-to-use or when-not-to-use statement. The mention that the response reveals whether card purchases are open and whether email confirmation is required before redeeming implies this is a pre-flight check before credits_buy or credits_redeem, but the agent must infer that routing rather than being told it.

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.