Skip to main content
Glama

get_api_usage

Retrieve today's API usage statistics, including operation counts, errors, rate-limit status, recent tool calls, storage metrics, and the burnr8 version.

Instructions

Get today's API usage stats: operations count, errors, rate limit status, recent tool calls, storage stats, and burnr8 version.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; 'Get' plus 'stats' reliably signals a read-only diagnostic call, and 'today's' discloses the fixed time window (no historical range accepted). It does not mention permissions/auth requirements, whether the snapshot is account-scoped or global, or any rate limits on the call itself, leaving gaps for an annotation-free tool.

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?

One front-loaded sentence with the verb, resource, and time scope first, followed by a compact enumeration of contents. The list of returned fields partly duplicates the output schema, but as a single short sentence it stays efficient rather than bloated.

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 no-parameter, read-only status tool with an output schema and no annotations, the definition covers what it returns and the 'today' window. Remaining ambiguity (account scoping, auth) is minor given the tool's simplicity and the presence of an output schema.

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 tool takes zero parameters (schema coverage 100%), which is the baseline-4 case: there is nothing parameter-level for the description to disambiguate. The enumerated return categories describe output, not inputs, so they add nothing on this dimension but also cost nothing.

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 and resource ('Get today's API usage stats') and enumerates the data domains returned (operations, errors, rate limit, tool calls, storage, version). This clearly separates it from the ad-platform siblings, which all target campaign/account entities, though the description never explicitly contrasts itself with them.

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?

Usage is implied rather than stated: the mention of 'rate limit status' and 'errors' suggests a monitoring/diagnostics use case, and 'today's' bounds the window. There is no explicit when-to-use or when-not-to-use guidance, and no pointer to related tools such as get_recent_errors_tool for deeper error inspection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools