Skip to main content
Glama

update_rate_limit

Update a rate limit's name, time unit (rpm, rph, rpd), or maximum value by providing its ID. Retrieve the full policy first via get_rate_limit if you need to see immutable conditions.

Instructions

Update a rate limit's name, unit, or value by id. Conditions and group_by are immutable after creation; use get_rate_limit first if you need the full policy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe unique identifier of the rate limit
nameNoNew name for the rate limit
unitNoNew time unit: 'rpm' (per minute), 'rph' (per hour), or 'rpd' (per day)
valueNoNew maximum allowed value per unit

Output Schema

TableJSON 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
Behavior4/5

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

Annotations indicate mutation (readOnlyHint=false) and non-destructive nature. Description adds key behavioral context: immutability of conditions/group_by and the need to fetch the full policy via get_rate_limit. This goes beyond annotations but could mention if updates trigger immediate effects.

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, no fluff. Important information is front-loaded and every sentence contributes value.

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

Completeness5/5

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

Given the tool's complexity (partial update with immutable fields) and the presence of an output schema, the description provides sufficient context: what can be updated, what is immutable, and a suggested prerequisite step.

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?

Input schema has 100% description coverage for all 4 parameters. The description adds minimal additional meaning beyond 'by id' and which fields are updatable, so a baseline of 3 is appropriate.

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?

Clearly states it updates a rate limit's name, unit, or value by id. Distinguishes from siblings by noting that conditions and group_by are immutable and referencing get_rate_limit for the full policy.

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

Usage Guidelines5/5

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

Explicitly mentions when to use get_rate_limit first if the full policy is needed, and clarifies that conditions and group_by cannot be updated, guiding the agent to alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/s-b-e-n-s-o-n/portkey-admin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server