Skip to main content
Glama

shelf-smoke — url smoke / headless QA

Credit balance — url smoke, headless qa

credit_balance
Read-only

Derived prepaid balance for this caller_id (GET /credits/balance).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The annotations declare readOnlyHint=true and destructiveHint=false, indicating this is a safe read. The description adds that the balance is 'derived' and is a GET request, but does not detail what 'derived' means (e.g., computed on the fly vs. stored) or any caching or rate-limit behavior. With annotations covering the safety profile, the description adds minimal extra context, resulting in a mid-range score.

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 a single sentence that is extremely concise and contains no fluff. It immediately states the tool's purpose and provides the HTTP method and endpoint. Every word earns its place.

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

Completeness3/5

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

Given the tool has no parameters, no output schema, and the annotations already establish read-only safety, the description is close to complete. However, it does not describe the return format or any specific behavior (e.g., whether it requires authentication). The title hints 'url smoke, headless qa', which might indicate it's used for testing, but the description does not clarify the expected output or use case fully. A 3 is fair because some context 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, so there is no schema to cover in the description. The description mentions 'this caller_id', implying that the caller_id is somehow provided (likely via context or implicit auth), but this is not further explained. Since no parameter semantics are needed, a baseline of 4 is appropriate, as the description provides the key contextual information that the balance is for the caller.

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 clearly states the tool retrieves a derived prepaid balance for a given caller_id, and identifies it as a GET request to a specific endpoint. It distinguishes the resource (credit balance) from siblings like credit_events or quote_credits, making its purpose unambiguous.

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?

The description provides no guidance on when to use this tool versus alternatives, such as checkout_credits or quote_credits. While the endpoint is implied, the description is terse and does not explain under what circumstances an agent should call this endpoint (e.g., to check balance before purchase). The context of 'url smoke, headless qa' hints at testing, but there is no explicit usage guidance.

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