Skip to main content
Glama

Credits and usage

usage
Read-onlyIdempotent

Show the connected organization's credits: how many remain, how many of those expire when the subscription renews, the daily spending cap and what is left of it today, and the credits spent and crawls made per day over the last days days. Free. Use it before a long job to check it can be paid for.

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

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days of history to include, counting today.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already cover read-only, idempotent, closed-world. The description adds genuinely useful context annotations don't: the call is 'Free' (no credit cost), which matters for an agent guarding spend. It doesn't discuss rate limits or error behavior, so it stays at a modest 3-4, closer to 4 but capped by limited extra disclosure.

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?

One dense sentence enumerating the return fields followed by a short usage tip; the highest-value items (what you get, that it's free) come first. No wasted phrasing.

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?

No output schema exists, so the description carries the return-value burden, and it does so by enumerating fields. Combined with a single well-documented optional param, an agent has enough to invoke it correctly; it could add the return shape (e.g. per-day granularity) but is largely complete.

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

Parameters3/5

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

Schema coverage is 100%, and the days parameter is fully documented with default and max in the schema. The description mirrors it ('over the last `days` days') without adding format or edge-case meaning, so baseline 3 applies.

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?

States a specific verb (show) and resource (the organization's credits) and enumerates exactly what is returned: remaining credits, expiring on renewal, daily cap and remaining today, spend and crawls per day. Easily distinguished from crawl/booking siblings.

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

Usage Guidelines4/5

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

Gives concrete timing guidance — 'Use it before a long job to check it can be paid for' — which tells the agent the condition that makes this worth calling. No exclusions or named alternatives, but there is no real sibling alternative for this resource.

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