Skip to main content
Glama

Get plan usage

get_plan_usage
Read-only

Read how much of each plan allowance the Project has used in the current period.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>"
    },
    "name": "get_plan_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, so safety and access profile are covered. The description adds the 'current period' scoping behavior, but it does not disclose response format, pagination, or whether usage is returned as counts, percentages, or raw values – a gap given there is no 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.

Conciseness5/5

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

A single, front-loaded sentence with zero filler. It states what the tool reads and the scoping boundary ('current period'), letting the agent act without scanning extra text.

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 simple read tool with one parameter and no output schema, the description conveys the essential idea: current-period allowance consumption. It falls short on parameter provenance and return shape, but annotations cover the safety profile and the description covers the core behavior an agent needs to call it correctly.

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

Parameters2/5

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

With only one parameter (projectId) and 0% schema description coverage, the description must compensate for parameter semantics. It mentions 'the Project', implying the parameter identifies a project, but does not explain where the project ID comes from (e.g., from list_projects), its format, or whether it is required – leaving an agent to infer from the schema's required field.

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 ('Read') and resource ('how much of each plan allowance the Project has used in the current period'), which lets an agent understand the tool's function immediately. It doesn't need to differentiate from siblings because no sibling overlaps this quota/allowance domain, but it also doesn't explicitly frame that uniqueness.

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?

The phrase 'in the current period' implies the tool is for checking quota consumption in the present billing cycle, giving an agent an implied condition for use. However, it provides no explicit when-to-use, prerequisites, or note about alternatives (e.g., historical period queries if available).

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