Skip to main content
Glama

throttle_rate_limiter_token

Calculate sleep intervals and burst limits to prevent HTTP 429 blocks using token-bucket rate limiting. Avoid rate-limit errors during autonomous agent operations.

Instructions

Token-bucket rate limiter that calculates sleep intervals and burst limits to prevent autonomous agents from getting HTTP 429 blocked. (0.005 USDC on Base L2)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesInput parameters or JSON string payload for the tool execution
paymentSignatureNoBase L2 USDC micropayment signature or transaction hash for x402 settlement

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations present, the description must carry the full behavioral disclosure burden. It reveals the core calculation purpose and the 0.005 USDC cost, but it never states whether invoking the tool actually settles a payment, whether paymentSignature is needed for execution, or what the tool returns. These are significant gaps for a paid tool.

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 dense sentence plus a short parenthetical, with the core behavior front-loaded. Every part contributes useful information, and there is no filler.

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

Completeness2/5

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

For a tool with no output schema and no annotations, the description omits the expected output shape, example payload structure, and payment execution semantics. It also does not differentiate this tool from the similar sibling rate limiter. An agent would still need to infer too much to invoke it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Both parameters already have schema descriptions, so the schema covers them at 100%. The description adds no meaningful detail about what values should go into the payload or how the payment signature is used. It provides context about cost but does not clarify parameter semantics beyond the schema.

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 concrete function: calculating sleep intervals and burst limits to prevent HTTP 429 responses. It clearly identifies the resource as a token-bucket rate limiter and adds a cost note. However, it does not explicitly distinguish itself from the closely named sibling token_bucket_hierarchical_rate_limiter.

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?

The description gives a clear intended use case: throttling autonomous agents to avoid HTTP 429 blocks. It does not mention alternatives or when not to use this tool, so it lacks explicit routing or exclusion guidance, but the context is reasonably clear.

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