Skip to main content
Glama

get_usage_stats

取得當月的 MCP 使用量統計(呼叫次數、token 消耗、省了多少)。Monthly MCP usage stats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, and the description only states what the tool returns (monthly stats). It does not disclose additional behavioral traits such as authentication requirements, read-only status, or potential latency, but for a simple stats retrieval, the basic return value is communicated.

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 two sentences—one Chinese, one English—and contains no fluff. The key information is front-loaded, making it easy to skim.

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, no-output-schema tool, the description sufficiently covers the tool's purpose and the data it provides. It could mention whether historical data is available, but given there are no parameters, the scope is clear.

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 has zero parameters, and the schema is empty. The description accordingly adds no parameter-specific meaning, which is acceptable; the return criteria (current month) are conveyed in the description.

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 clearly states it retrieves MCP usage statistics for the current month, including call count, token consumption, and savings. The verb 'get' plus resource 'usage stats' is specific and distinguishes it from sibling logging/error tools.

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?

No explicit when-to-use or alternative guidance is provided, but the tool's unique focus on usage stats makes its purpose self-evident. There are no exclusions or alternatives mentioned, so it relies on implicit usage context.

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.