Skip to main content
Glama

Update Server

update_server
DestructiveIdempotent

Update an MCP server's configuration, including command, arguments, and environment variables, to modify settings like API keys without removing and re-adding. Changes apply immediately.

Instructions

Update an existing MCP server's configuration (command, args, or env vars).

Use this to update API keys or other settings without removing and re-adding the server. Triggers a reload to apply changes immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the server to update.
commandNoNew command (optional, keeps existing if not provided).
argsNoNew arguments (optional, keeps existing if not provided).
envNoEnvironment variables to update (merges with existing).
replace_envNoIf true, replace all env vars instead of merging (default: false).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successYes
server_nameYes
config_pathYes
messageYes
updated_fieldsYes
Behavior4/5

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

Adds behavioral context beyond annotations by stating that updates trigger a reload. Annotations indicate destructiveHint=true and idempotentHint=true, and description does not contradict. Implicitly notes merge behavior for env vars.

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 concise sentences that front-load purpose and then provide usage context. No unnecessary words.

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?

Covers key aspects: what can be updated, that it triggers reload, and a common use case. With an output schema present, return values are handled. Could mention that server must exist, but that is implied.

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 100%, so baseline is 3. Description adds marginal value by mentioning merge behavior for env and the replace_env option, but most parameter meaning is already in schema descriptions.

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 'MCP server's configuration', listing specific fields (command, args, env vars). It distinguishes itself from siblings like add_server and remove_server.

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?

Provides a clear use case (updating API keys without removal) and notes that triggering a reload applies changes immediately. Does not explicitly mention when not to use, but the context is sufficient.

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/darkiceinteractive/mcp-conductor'

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