Skip to main content
Glama
Scalekit MCP Server

Scalekit MCP Server

Official

update_virtual_mcp_server

Idempotent

Modify a virtual MCP server's description, connections, or tool exposure mode while preserving omitted fields and replacing the full connection list when supplied.

Instructions

Change the description, connections or tool exposure mode of one virtual MCP server. Fields you leave out keep their current value; connections, when sent, replaces the whole list. The name cannot be changed. Switching to DIRECT fails with more than 25 connections or when two connections have actions with the same name. After a change, MCP clients must list tools again; existing session tokens keep working. Use get_virtual_mcp_server to read the current settings. Requires the caller OAuth token.

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": {
      "environmentId": "<environmentId>",
      "virtualMcpServerId": "<virtualMcpServerId>"
    },
    "name": "update_virtual_mcp_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
connectionsNoReplaces the server's whole connection list. Leave out to keep the current connections.
descriptionNoNew description.
toolExposureNoLeave out to keep the current mode.
environmentIdYesScalekit environment id. Format: env_<id>.
virtualMcpServerIdYesVirtual MCP server ID (cfg_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.3

TDQS

B3.3/5.0
Behavior3/5

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

Without annotations the description carries the full burden of behavioral disclosure. It says 'Change' (implying a mutation), but never states whether the change is reversible, what permissions are needed, what the response looks like, or what happens to concurrent sessions.

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?

Front-loaded with the mutation surface, then constraints, then side effects and auth — a sensible ordering with little filler. A few clauses restate schema semantics, costing some tightness but no real clarity.

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?

For a mutation tool with five parameters, no output schema, and no usage examples, the definition is missing what an agent needs to act confidently: error shapes, permission requirements, and how partial failures are reported. The claimed 'change' behavior is never qualified, leaving the caller to infer too much.

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 the schema already documents all five parameters, and the description's note that connections 'replaces the whole list' duplicates the schema text verbatim. The only added semantic is scope confirmation ('one virtual MCP server'), not parameter-level detail beyond what the schema gives.

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?

States a specific verb (change) and resource (one virtual MCP server) plus the exact mutable surface: description, connections, and tool exposure mode. It is clearly distinguishable from read/create/delete siblings, but never mentions update_mcp_server, so an agent choosing between the two update paths gets no help from the text.

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?

Offers a read-before-write pointer ('Use get_virtual_mcp_server to read the current settings') and states hard preconditions for switching to DIRECT, which is genuine usage guidance. It stops short of saying when to pick this tool over update_mcp_server or when not to attempt an update at all.

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