Skip to main content
Glama

list_api_usage

Read-only

Monitor API usage through active scout counts, rate limits, and activity metrics to track consumption and prevent quota overages.

Instructions

Get API usage statistics including active scout counts, rate limits, and activity metrics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed8 schema fields changedv0.3.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / description
      Removed value: -"Input for retrieving API usage statistics."
    • addedInput schema / properties / period / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "24h",
      +      "7d",
      +      "30d",
      +      "90d"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / period / description
      Removed value: -"Time range for activity counts: '24h' (default), '7d', '30d', or '90d'"
    • removedInput schema / properties / period / enum
      Removed value: -[
      -  "24h",
      -  "7d",
      -  "30d",
      -  "90d"
      -]
    • removedInput schema / properties / period / type
      Removed value: -"string"
    • changedInput schema / title
      Previous value: -"UsageInput"New value: +"list_api_usageArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "result": {
      +      "title": "Result",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "result"
      +  ],
      +  "title": "list_api_usageOutput",
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.3.0
    • addedInput schema / additionalProperties
      Added value: +false
  3. First observedv0.2.9

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already mark the tool as readOnlyHint=true, and the description's 'Get' verb aligns with that. The description adds value by listing specific returned metrics (active scout counts, rate limits, activity metrics), which is beyond what annotations provide. 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 of 12 words, front-loaded with the core action and resource. Every word adds value, with no redundancy or filler.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (1 optional param, output schema exists, read-only annotation provided), the description is minimally adequate. However, it omits guidance on how the 'period' parameter affects results and does not explain the output schema structure. The presence of an output schema partially compensates.

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?

The description does not mention the optional 'period' parameter at all, despite the schema having 0% description coverage. The agent must infer its purpose solely from the schema's enum values, which is insufficient for optimal invocation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'Get' and identifies the resource as 'API usage statistics'. It clearly distinguishes from sibling tools like 'list_scouts' which list individual scouts, not aggregate usage. The inclusion of example data points (active scout counts, rate limits) adds specificity.

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 for retrieving API usage statistics, but does not explicitly state when to prefer this tool over siblings like 'list_scouts' or 'list_browsing_tasks'. No when-not or alternative guidance is provided.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yutori-ai/yutori-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server