Skip to main content
Glama

sg_rate_limit_status

Check client-side rate-limit buckets and cache occupancy to verify API usage stays within upstream limits.

Instructions

Show the client-side rate-limit buckets (capacity, window, current usage) and cache occupancy. Use this to confirm the server is staying under upstream limits.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.2/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 full disclosure burden. It does convey that this is an observational/status read (capacity, window, usage, cache occupancy) with no side effects implied, and it scopes the data as client-side rather than upstream. However, it never explicitly states read-only safety, whether the counters reset, or how the bucket state should be interpreted.

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?

Two sentences, front-loaded with what is returned and followed by the motivating use case. There is no filler, no restating of the title, and no redundant phrasing.

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?

With no parameters, no output schema, and no annotations, the description must carry the whole burden, and it largely does by enumerating the bucket fields and cache occupancy. A little more detail on return shape (units, whether utilization is a percentage or count) would make it fully self-sufficient, but the core is covered.

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 and the input schema is an empty object, so there is no parameter meaning to clarify. Baseline for a 0-parameter tool is 4, and nothing in the description misrepresents the calling contract.

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 names a specific verb ('Show') and a precise resource ('client-side rate-limit buckets' plus 'cache occupancy'), and enumerates the sub-fields returned (capacity, window, current usage). This is clearly distinguishable from the data-fetching siblings like sg_psi or sg_taxi_availability, which return external datasets rather than server-side diagnostics.

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

Usage Guidelines4/5

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

It gives an explicit when-to-use rule: 'Use this to confirm the server is staying under upstream limits.' That tells the agent the operational context (quota monitoring). It stops short of stating exclusions or naming an alternative tool for other diagnostic needs, but none of the listed siblings compete for this role.

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