Skip to main content
Glama

Update deployment

update_deployment

Patch a deployment's name/description/config. config_patch merges key-wise (explicit null deletes a key). Web widget: get_widget_settings lists every setting; texts and behavior are top-level, ALL colors go inside config_patch.theme (e.g. {"theme": {"primaryColor": "#fadc13"}}); unknown keys and invalid values are refused.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "deployment_id": "<deployment_id>"
    },
    "name": "update_deployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name.
descriptionNoNew description.
config_patchNoPartial config to merge in (key-wise; null removes a key).
deployment_idYesId of the deployment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / config_patch / description
      Added value: +"Partial config to merge in (key-wise; null removes a key)."
    • addedInput schema / properties / deployment_id / description
      Added value: +"Id of the deployment."
    • addedInput schema / properties / description / description
      Added value: +"New description."
    • addedInput schema / properties / name / description
      Added value: +"New name."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare it as a non-readonly, non-destructive write; the description adds substantial behavior beyond that: key-wise merge, explicit null as a delete operator, and rejection of unknown keys and invalid values. The nested-theme placement rule is exactly the kind of pitfall an agent could not infer from the schema. Minor gap: no statement about what the response looks like or whether the rejected-patch case returns partial application.

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 patch semantics and the most error-prone rule (theme nesting) are front-loaded in the first two clauses, and every sentence carries operational content. It is dense and semicolon-crammed rather than flowing, which costs a point but wastes nothing.

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?

For a nested-config patch tool with no output schema and no annotations covering mutation specifics, the description supplies the merge model, the deletion mechanism, the validation/rejection rule and the nesting layout. Only the post-call result (what comes back, whether the merged config is echoed) is unaddressed, which is a small residual gap.

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

Parameters4/5

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

Schema coverage is already 100%, so the bar is adding meaning, and it does: config_patch is explained as a key-wise merge with null-deletes semantics, and colors must be nested under config_patch.theme with a concrete example. This goes beyond the schema's one-line 'Partial config to merge in'. The name/description/deployment_id parameters get no added meaning, but they need none.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ('Patch a deployment') and enumerates the mutable fields (name/description/config), which cleanly separates it from create_deployment, activate_deployment and probe_deployment by implication. It stops short of explicitly naming a sibling it replaces, which keeps it out of 5 territory.

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?

It routes the agent to get_widget_settings as the discovery step before patching widget settings, which is real when-to-use guidance tied to a named sibling. It does not state when this tool should NOT be used (e.g. full replacement vs patch, or activation flows), so there are no explicit exclusions.

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.

Resources