Skip to main content
Glama

Get usage

get_usage
Read-only

Return how many posts, messages and comments the workspace has sent this UTC month, across all its profiles, against the free tier's allowance (1,000 posts, 10,000 messages, 10,000 comments per workspace). limit is null when the workspace has billing. Past a limit, sends fail with usage_limit_reached until resetsAt or until a card is added.

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. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only cover readOnlyHint and openWorldHint, so the description carries the real weight and does add value: it discloses the returned quantities, the meaning of a null limit (workspace has billing), and the failure mode usage_limit_reached with its reset/add-card escape hatches. It stops short of describing freshness or aggregation granularity, but the behavioral picture is largely complete.

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?

Three dense sentences with no filler, front-loaded with the return value before the quota context and the failure semantics. Every clause earns its place, including the parenthetical allowance figures that make the numbers interpretable.

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?

With no parameters and no output schema, the description must explain what comes back and what the values mean, which it does: counts, the per-resource allowances, and the null-limit case. It also covers the downstream error state, leaving nothing an agent needs in order to call and interpret this tool.

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 to disambiguate and the baseline of 4 applies. The description correctly implies no scoping inputs are needed by noting the result is workspace-wide across all profiles.

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 and resource: it returns how many posts, messages and comments the workspace sent this UTC month, across all profiles, against the free tier allowance. That is unambiguous. It doesn't explicitly differentiate itself from the sibling get_x_usage, which reports a different kind of usage, so an agent could still pause over which to call.

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?

Usage context is strongly implied: check consumption against the free tier before hitting the ceiling, and the note that sends fail with usage_limit_reached past a limit tells the agent why it would call this. There is no explicit when-not or named alternative (e.g. get_x_usage), so it stops short of full routing 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