Skip to main content
Glama

Unkey MCP by usefulapi

Set a rate-limit override

unkey_set_ratelimit_override
Destructive

Set a custom rate limit for one identifier in a namespace — how you raise or lower a single customer's limit. Unkey: POST /v2/ratelimit.setOverride.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitYesRequests allowed per window.
durationYesWindow length in milliseconds.
namespaceYesThe rate-limit namespace name.
identifierYesThe identifier the override applies to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The destructiveHint=true annotation already signals that this overwrites existing configuration, and the description's use of 'override' is consistent with that rather than contradicting it. However, it adds little beyond the annotation: it does not say whether a prior override is replaced or merged, whether the override can later be removed, or what permissions are required.

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?

A single front-loaded sentence carries the meaning with no wasted words. The trailing 'Unkey: POST /v2/ratelimit.setOverride.' is endpoint plumbing of marginal value to an agent, which keeps it just short of a 5.

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 four-required-parameter mutation tool with no output schema and only a destructiveHint annotation, the description covers what it does but not the operational consequences: what happens to an existing override, reversibility, or expected response. Adequate but with clear gaps.

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 description coverage is 100%, with all four parameters (namespace, identifier, limit, duration) documented including units ('per window', 'milliseconds'). The description contributes no additional parameter meaning, so the baseline 3 applies.

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?

States a specific verb (Set) plus resource (rate-limit override) and narrows scope to 'one identifier in a namespace', which cleanly separates it from the get/list ratelimit_override siblings. The added gloss 'how you raise or lower a single customer's limit' removes any ambiguity about intent.

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?

The phrase 'raise or lower a single customer's limit' implies when this tool is relevant, but there is no explicit guidance on when to prefer it over the namespace default, nor any mention of reading overrides first via unkey_get_ratelimit_override or listing them. Usage is inferred rather than stated.

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.