Skip to main content
Glama

Check remaining credits

check_usage
Read-only

View how many credits an API key has used and how many remain in the current period without spending credits.

Instructions

How many credits are used and remaining on this key this period. Free - spends no credit.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.14.5

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description's added value is the cost disclosure ('spends no credit') and the scope ('this key', 'this period'), which are not in structured fields. It does not say what the response looks like or how the period is defined, 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.

Conciseness5/5

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

Two short sentences, front-loaded with what it returns and followed by the cost reassurance. Nothing is redundant.

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?

For a zero-parameter read-only tool with annotations covering safety, this covers purpose, scope and cost. Only the definition of 'this period' (billing cycle?) and the shape of the returned figures are unaddressed.

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, which sets the baseline at 4. The description correctly implies no inputs are needed by saying it reports on 'this key' implicitly derived from auth.

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 resource and metric: credits used and remaining on this key for the current period. The verb is implicit (it reports rather than acts), and the sibling tools are all page/screenshot utilities, so confusion is unlikely.

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?

'Free - spends no credit' gives the agent a clear reason to call it freely, and 'this key' scopes the target. However, there is no explicit when-to-use or when-not guidance, nor any statement of what period boundary applies.

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