Skip to main content
Glama

billing_wallet

Fetch your current credit balance and recent usage entries to verify a top-up after checkout, ensuring funds are credited.

Instructions

Fetch the user's credit balance and recent usage entries. Returns { credits, recent } where recent is the last ~10 usage rows. Poll this to confirm a top-up landed ONLY after a billing_topup CHECKOUT result (one that returned a checkoutUrl), until credits rise. Do NOT poll after a status:'paid' headless top-up — those credits are already applied and the new balance is in the topup response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that 'recent is the last ~10 usage rows' and that polling should continue 'until credits rise,' which gives useful behavioral context about how the returned data changes over time. However, it does not explicitly state that the operation is read-only or describe error scenarios, so it falls just short of 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.

Conciseness5/5

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

The description is three sentences, front-loaded with the purpose. Each subsequent sentence adds critical usage guidance—when to poll and when not to poll. There is no fluff or repetition; every sentence earns its place. The structure is logical and concise.

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?

For a zero-parameter, no-output-schema tool with no annotations, this description is remarkably complete. It covers the purpose, the exact return shape, and the full polling semantics with clear conditions for use. It even explains the distinction between two top-up flows, which is critical for correct invocation. Nothing essential is missing.

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 has zero parameters, and the schema coverage is 100% (empty schema). Per the rubric, 0 parameters gives a baseline of 4. There is no parameter information to add, and the description correctly focuses on the return value and usage semantics instead.

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 starts with 'Fetch the user's credit balance and recent usage entries,' which is a specific verb+resource statement. It also gives the exact return shape '{ credits, recent }' and differentiates itself from siblings by focusing on recent usage entries and the polling context for top-ups. This clearly distinguishes it from similar tools like get_credits.

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

Usage Guidelines5/5

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

The description explicitly states when to use the tool: 'Poll this to confirm a top-up landed ONLY after a billing_topup CHECKOUT result... until credits rise.' It also gives a clear exclusion: 'Do NOT poll after a status:'paid' headless top-up.' It names the related tool (billing_topup) and provides precise conditions, making it an excellent usage guide.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bitsandtea/postking-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server