Skip to main content
Glama

usage.get

Read-onlyIdempotent

Get the environment's flat-price usage envelope. GET .../usage.

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": {
      "organization_id": "<organization_id>",
      "project_id": "<project_id>",
      "environment_id": "<environment_id>"
    },
    "name": "usage.get"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesproject_id (required)
environment_idYesenvironment_id (required)
organization_idYesorganization_id (required)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, and the description adds nothing beyond that profile — 'GET .../usage' merely restates the read-only nature already declared structurally. No mention of scoping rules, aggregation window, permission requirements, or what 'envelope' means in terms of returned data.

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 short sentences with no filler; the purpose is front-loaded. The trailing 'GET .../usage' is largely redundant with the readOnly annotation, but it costs little.

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

Completeness2/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 bears responsibility for explaining what a 'flat-price usage envelope' contains, and it does not. For a tool whose only value is its return data, leaving that undefined is a meaningful gap.

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 all three identifiers are required, so the schema carries parameter documentation; baseline 3 applies. The description implies environment scoping but doesn't clarify why organization_id and project_id are also mandatory or whether the call is scoped hierarchically.

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?

States a verb+resource ('Get the environment's flat-price usage envelope'), but 'flat-price usage envelope' is undefined jargon and the description does nothing to distinguish this from siblings such as analytics.summary, metrics.get, billing.products, or insights.get. An agent knows the general domain but not the specific content of the response.

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 when-to-use guidance at all — no mention of which questions this answers versus metrics.get or analytics.summary, and no prerequisites or exclusion conditions. The agent must infer the use case entirely from the name.

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