Skip to main content
Glama

mechacut

net_ratelimit

Read the real throttle headers an API sent you: Retry-After (delta-seconds or strict RFC 9110 IMF-fixdate), retry-after-ms, X-RateLimit-Reset/Limit/Remaining. Verdict: OPEN, THROTTLED, BLOCKED (429 honored even headerless, with no window invented), UNKNOWN (header present, unparsable — said, not guessed), CONTRADICTION (sources disagree: BOTH waits are reported, none chosen). now is an argument, never the wall clock. Feeds agent_retrybudget upstream. Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "headers": "<headers>",
      "now": "<now>"
    },
    "name": "net_ratelimit"
  }
}

Input Schema

NameRequiredDescriptionDefault
nowYesISO timestamp with UTC offset
statusNo
headersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it declares deterministic verdicts (429 honored even headerless, no window invented), distinguishes UNKNOWN from CONTRADICTION, and states that both conflicting waits are reported rather than one being chosen. It also pins the clock with "now is an argument, never the wall clock." What it omits is the shape of the returned object beyond the verdict value, which matters since no output schema exists.

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?

Front-loaded and dense in a good way: the resource, the header set, and the verdict taxonomy all arrive in the first two sentences, and the parentheticals carry real edge-case semantics rather than filler. The trailing "Free." is a pricing tagline that does not help an agent decide to invoke the tool.

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 three-parameter, nested-object tool with no output schema, the description covers header formats, determinism, and all verdict states but leaves two gaps: the `status` parameter is unaddressed, and the concrete return fields (wait values, which source won) are described only in prose, not as a structure. Adequate, but an agent still has to inspect the response to know what it will get.

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?

Schema coverage is only 33%, so the description must compensate for the two undocumented parameters. It explains the headers map thoroughly (Retry-After delta-seconds vs RFC 9110 IMF-fixdate, retry-after-ms, X-RateLimit-*) and adds meaning to now (supplied argument, not wall clock), but the integer `status` parameter is never named explicitly — its role is only inferable from "429 honored even headerless."

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?

A specific verb plus resource ("Read the real throttle headers an API sent you") followed by the exact header set it parses and the five-value verdict vocabulary. An agent can tell this is a header-parsing/verdict tool, not a general HTTP caller or a retry executor, without opening the schema.

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 framing "Read the real throttle headers an API sent you" plus "Feeds agent_retrybudget upstream" tells the agent this is the parsing step that precedes retry-budget computation. It gives clear context but never states when NOT to call it (e.g. when no rate-limit headers exist) or what alternative to use instead.

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.