Skip to main content
Glama

Get Credits

get_credits
Read-onlyIdempotent

Read available credits and usage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
planNo
retryNo
runIdNo
scopeNo
statusNo
testIdNo
blockIdNo
messageNo
nextStepNo
unlimitedNo
creditsUsedNo
workspaceIdNo
totalCreditsNo
remainingCreditsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description only adds that the response concerns both available credits and usage — a small content hint, with no note on account scope, freshness, or rate limits. Modest added value over the structured fields is the right level here.

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

Conciseness4/5

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

One short sentence, front-loaded with the verb and the two data points returned. Nothing is wasted, though it is arguably terse enough to be under-specified rather than optimally tight.

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, return-value detail is unnecessary, and annotations carry the safety profile; for a zero-argument read tool the description is nearly sufficient. The only real gap is that it never anchors 'credits' to a system or account context.

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 zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The empty input schema also makes the call signature self-evident.

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?

States a specific verb (read) and resource (credits and usage), so an agent can tell it retrieves a balance/consumption view rather than test data. No sibling in the list covers credits, so no sibling differentiation is needed. It loses a point because it never clarifies whose credits or in what unit/scope (account-level, plan-level), leaving 'credits' ambiguous.

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 gives no when-to-use condition, no exclusions, and names no alternative. It is a no-argument account read, so the omission is low-risk, but the definition provides zero routing guidance beyond the name.

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