Skip to main content
Glama

Get credit usage

get_usage
Read-only

How many credits this Espaço has used and has left this month, the daily ceiling, and when the month resets. Worth a look before making several posts or images in a row.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description only needs to add scope, which it does: usage is scoped to this Espaço and this month, with a daily ceiling and a reset time. It does not mention caching, update frequency, or whether the counter is live, leaving a small behavioral gap for a quota-checking tool whose values an agent will act on.

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 sentences, no waste, with the payload (what is returned) front-loaded before the usage hint. Every clause carries distinct information: usage, remaining, ceiling, reset, and a recommended call pattern.

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?

There is no output schema, yet the description enumerates the return values an agent needs (used, left, ceiling, reset timing). With zero parameters and annotations covering safety, nothing material is missing for an agent to call this correctly.

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 no argument semantics to explain and the baseline of 4 applies. The description could only add value by naming the scope defaults (which it does implicitly via 'this Espaço' and 'this month'), and it does so.

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 concrete resource (this Espaço's credit usage and remaining balance for the month) and enumerates the returned data points: used, left, daily ceiling, reset time. An agent can tell exactly what this returns without opening a schema, and it is unmistakably distinct from the get_/list_ content 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 an explicit when-to-use trigger: check it before making several posts or images in a row, which connects it to create_post and generate_image. It stops short of stating exclusions (e.g., that it is unnecessary for single calls or that it does not cover billing history), so it falls just short of a 5.

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