Skip to main content
Glama

get_rate_limit_stats

Retrieve rate limit statistics for monitoring API usage and managing client quotas in the MCP Hub server environment.

Instructions

Get rate limiting statistics.

Args: client_id: Optional client identifier to get specific client stats. If not provided, returns global statistics for all clients.

Returns: JSON string with rate limit statistics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
client_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only states the return format ('JSON string') but omits whether this is read-only, idempotent, what specific metrics are included, or rate limits on the endpoint itself.

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?

Uses structured docstring format (Args/Returns) that is appropriately sized. The Returns section is somewhat minimal but the structure efficiently organizes the information without redundancy.

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?

For a single-parameter diagnostic tool with an output schema, the description is minimally adequate. However, given the presence of related administrative siblings and lack of annotations, it should clarify the diagnostic nature and relationship to other rate limit tools.

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?

With 0% schema description coverage, the description compensates well by explaining that client_id is optional and clarifying the global vs. specific client statistics behavior when the parameter is omitted.

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 clear verb ('Get') and resource ('rate limiting statistics'), but fails to distinguish from siblings like 'reset_rate_limit', 'set_rate_limit_config', or 'openpanel_get_rate_limit_status', leaving ambiguity about which rate limiting system this targets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains conditional behavior for the client_id parameter (specific vs global stats), but provides no guidance on when to use this tool versus its siblings 'reset_rate_limit' or 'set_rate_limit_config', nor prerequisites like admin privileges.

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

Install Server

Other Tools

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/airano-ir/mcphub'

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