Skip to main content
Glama

List usage

list_usage
Read-onlyIdempotent

List metered action debits and the current UTC-month usage total.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of most recent usage records to return.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
recordsYesMost recent metered action debits, newest first.
summaryYesCurrent UTC-month usage total and plan limit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of most recent usage records to return."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "records": {
      +      "description": "Most recent metered action debits, newest first.",
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "summary": {
      +      "additionalProperties": {},
      +      "description": "Current UTC-month usage total and plan limit.",
      +      "properties": {},
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "summary",
      +    "records"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the behavioral detail that the total is for the current UTC month, which is useful context beyond the schema. It does not describe pagination behavior or what happens when limit is exceeded, but the schema's maximum of 200 covers that constraint. No contradiction with annotations.

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?

The description is a single sentence that front-loads the primary action ('List metered action debits') and appends the secondary output (monthly total). Every word earns its place; there is no redundancy or filler.

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-only list tool with one optional parameter, a full output schema, and annotations covering safety and idempotency, the description is nearly complete. The only minor gap is that it does not explicitly mention pagination or the default limit behavior, but the schema's default and maximum values cover the practical needs. The tool is simple enough that this is adequate.

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 100%, so the single parameter 'limit' is fully documented in the schema. The description does not add any additional parameter-level meaning beyond what the schema provides. Baseline 3 is appropriate because the schema carries the full burden and the description adds no extra semantic value.

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 states a specific verb ('List') and resource ('metered action debits') and adds the current UTC-month usage total, which clearly distinguishes it from sibling list tools like list_actions, list_connections, and list_events. It is clear but does not explicitly name a sibling alternative, so it falls short of a 5.

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 description implies usage context: it is for viewing metered action debits and the monthly total. However, it does not explicitly state when to use this tool versus alternatives such as list_actions or list_events, nor does it mention any exclusions or prerequisites. The context is clear enough for basic selection but lacks explicit 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