Skip to main content
Glama

This month's journey charges: by journey and model, against the team's monthly budget

usage
Read-onlyIdempotent

Wraps GET /api/usage. This month's journey charges: by journey and model, against the team's monthly budget. Call this to see what the team's journeys have been charged this calendar month (UTC), and how much of its budget is left. Journeys are billed by use: each run at model cost plus 50%, at least $0.02. Runs stop at the budget until the 1st, or until it's raised on Billing.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dataNo
next_stepsNocalls that usually come next, each naming its tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already establish a safe, idempotent, closed-world read, so the bar is lower — yet the description adds real behavioral context: charges are per run at model cost plus 50% with a $0.02 floor, and runs halt at the budget until the 1st or until the budget is raised on Billing. Those billing and budget-exhaustion semantics are not derivable from any structured field.

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?

The opening sentence restates the title and the 'Wraps GET /api/usage' fragment is filler, but the remainder is front-loaded and dense with decision-relevant facts. Slight redundancy is the only cost; nothing mid-sentence buries the purpose.

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 an output schema present, the description need not explain the return shape, and with zero parameters there is no input detail to cover. What remains — time window, billing formula, and budget-stop behavior — is fully addressed, so an agent has everything needed to decide to call it.

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 input schema has zero parameters, which is the baseline-4 case; there is no parameter meaning left to convey. The description correctly avoids inventing filters such as date range or team, which is consistent with the empty object schema.

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?

The description names a concrete resource and scope: 'what the team's journeys have been charged this calendar month (UTC), and how much of its budget is left.' That is far more specific than the bare name 'usage' and names no overlapping sibling, but the leading 'Wraps GET /api/usage' adds endpoint trivia rather than further distinguishing the tool.

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?

'Call this to see...' supplies a clear call condition tied to a concrete question (monthly charge and remaining budget). It gives no explicit when-not or alternative tool, but no sibling covers billing, so there is nothing meaningful to route away from.

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