Skip to main content
Glama

delete_rate_limit

Destructive

Delete a rate-limit policy by ID to remove active throttling immediately; first inspect dependent callers and the full policy to avoid unintended access disruptions.

Instructions

Delete a rate-limit policy by id. Portkey removes the active throttling policy immediately, so inspect dependent callers and the full policy before deleting it.

Input Schema

NameRequiredDescriptionDefault
idYesRate-limit policy UUID to delete

Output Schema

NameRequiredDescriptionDefault
okYesWhether the tool call succeeded and returned structured data
dataNoStructured success payload when ok is true
errorNoStructured error payload when ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.9
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed2 schema fields changedv0.11.5
    • changedInput schema / properties / id / description
      Previous value: -"The unique identifier of the rate limit"New value: +"Rate-limit policy UUID to delete"
    • addedInput schema / properties / id / minLength
      Added value: +1
  3. Addedv1.0.1
  4. Removed
  5. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety bar is lower. The description still adds real context beyond them: deletion takes effect 'immediately' on the active throttling policy, implying no soft-delete/undo and immediate impact on live traffic. It does not mention required permissions or whether rollback is possible.

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 short sentences, front-loaded with the action and scope, followed by the one caution that actually changes agent behavior. No boilerplate or repetition of name/title.

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 a single fully documented parameter, an output schema, and annotations covering the safety profile, the definition is nearly complete. The only missing piece is naming the exact tool (get_rate_limit) an agent should call to perform the recommended pre-delete inspection.

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?

There is a single parameter with 100% schema description coverage ('Rate-limit policy UUID to delete'), so the schema fully documents it. The description's 'by id' adds nothing beyond that; 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 and resource ('Delete a rate-limit policy') plus the identifier key ('by id'). It is clearly distinguishable from siblings like get_rate_limit, update_rate_limit, list_rate_limits, and from delete_usage_limit which targets a different resource.

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?

Gives an explicit pre-condition ('inspect dependent callers and the full policy before deleting it'), which tells the agent to read first and delete second. It stops short of naming the specific read siblings (get_rate_limit, list_rate_limits) that would perform that inspection, so the routing is implied rather than explicit.

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