Skip to main content
Glama

Plan get usage

plan_get_usage
Read-only

Usage against plan limits. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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

Input Schema

NameRequiredDescriptionDefault
extraNo
user_idNo
client_idNo
user_emailNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine behavioral context that the annotations do not: client_id defaults to the active brand, and extra is a passthrough for any field the app accepts. It stops short of describing what the usage payload covers (limits, quotas, periods), which is left to the output schema.

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?

Two compact sentences with the core purpose front-loaded and parameter hints following. Nothing is padded, though the fragment style leaves the second clause feeling like a note rather than guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described. For a four-parameter read tool, however, the definition leaves two parameters unexplained and does not say whether user_id/user_email narrow the result or which usage dimension is reported, so it is adequate but not 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 description coverage is 0%, so the description has to carry parameter meaning, and it only covers two of four. The client_id default behavior and the extra passthrough bag are useful clarifications, but user_id and user_email are never explained — the agent cannot tell whether they filter the usage report or identify the caller.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Usage against plan limits" tells the agent the resource is plan usage, but it never names the operation distinctly from siblings such as plan_get_current, plan_get_history, or plan_get_kai_tokens — all of which are also plan reads. The purpose is inferable but the tool is not clearly differentiated from its nearest neighbors.

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?

There is no statement of when to call this versus plan_get_current, plan_get_history, or plan_check_feature, and no prerequisite or exclusion is given. The agent must guess that this returns consumption-vs-limit data rather than plan subscription details.

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.