Skip to main content
Glama

update_mcp_server_capabilities

Enable or disable capabilities on an MCP server; changes apply immediately and override integration-level settings for that server.

Instructions

Enable or disable capabilities on an MCP server. Changes take effect immediately and override the integration-level settings for this server; use list_mcp_server_capabilities first to inspect the current surface.

Input Schema

NameRequiredDescriptionDefault
idYesThe MCP server ID or slug
capabilitiesYesArray of capability updates

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. Addedv1.0.1

TDQS

A4.2/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: changes apply immediately and take precedence over integration-level settings, which is the key precedence semantic an agent needs. Annotations already cover safety (destructiveHint=false, openWorldHint=true, idempotentHint=false), so this is additive rather than redundant. It does not explain what happens to capabilities omitted from the array or to unknown capability names.

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 tight sentences: the action leads, the behavioral consequence follows, and the prerequisite tool is named last. Zero filler and nothing that could be cut without losing information.

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 full schema coverage, rich annotations, and an output schema, the description covers action, precedence, and the inspection prerequisite. Remaining gap is the partial-update semantics for capabilities not listed in the array, which matters for a non-idempotent mutation tool.

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 description coverage is 100% for both parameters, including nested name/type/enabled fields and a required minItems=1 array, so the schema does the heavy lifting. The description adds no extra semantics such as whether unspecified capabilities are left untouched or how the update is applied, so 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 pair (enable/disable) and resource (capabilities on an MCP server). It also implicitly distinguishes itself from the adjacent update_mcp_integration_capabilities by noting that these settings override integration-level ones, so an agent can pick the right scope without opening either schema.

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?

Explicitly routes the agent to list_mcp_server_capabilities as a required first step to inspect the current surface, and the override clause tells the agent when this per-server tool is preferable to integration-level configuration. It stops short of stating when not to use it (e.g., bulk cross-server changes).

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