Skip to main content
Glama

update_config

Update an existing configuration by slug, creating a new version. Modify name, status, cache mode, retry settings, strategy, or targets without changing the slug.

Instructions

Update a config by slug and create a new version. Only provided fields change; name and status are editable, while the slug stays fixed. Use list_config_versions if you need history first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesConfiguration slug to update
nameNoNew name for the configuration
statusNoConfiguration status
cache_modeNoCache mode: 'simple' or 'semantic'
cache_max_ageNoCache max age in seconds
retry_attemptsNoNumber of retry attempts (1-5)
retry_on_status_codesNoHTTP status codes to retry on
strategy_modeNoRouting strategy
targetsNoArray of target providers

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
Behavior3/5

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

Annotations indicate readOnlyHint=false and idempotentHint=false, consistent with the description stating a new version is created. The description adds that only provided fields change, indicating a partial update. No contradiction with annotations.

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?

The description is concise with three sentences covering the action, behavior, and a recommendation. It is front-loaded and efficient, though the misleading info about editable fields detracts slightly.

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?

Given the complexity of 9 parameters, the description fails to fully describe which fields are actually editable. It erroneously limits to name and status, omitting important others. The output schema exists but does not compensate for the misleading description.

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

Parameters2/5

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

Input schema has 100% coverage with descriptions for all 9 parameters. The description adds minimal value and even introduces confusion by implying only name and status are editable, when many other parameters are also editable. This reduces clarity.

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?

The description clearly states the verb 'Update' and the resource 'config by slug', and distinguishes from siblings like create_config and delete_config. It also notes that a new version is created, which differentiates it from other updates.

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 description advises using list_config_versions first, which is helpful. However, it incorrectly states that only 'name and status are editable', while the schema includes many other editable fields like cache_mode and retry_attempts. This misstatement could mislead an agent about when to use this tool.

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