Skip to main content
Glama

Remove an MCP server

remove_mcp_server
DestructiveIdempotent

Remove, disconnect or delete an MCP server from a Replo project by the address it was added at. Its tools stop working at once, for everyone it was connected for. Confirm with the user first. To connect it again, use add_mcp_server. Each integration has a skill named by its key: before using an integration's tools, read it (call skills with name "shopify", for example).

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": {
      "serverUrl": "<serverUrl>",
      "projectId": "<projectId>"
    },
    "name": "remove_mcp_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesThe project to remove it from.
serverUrlYesThe address the server was added at, as its integrations entry or Integrations shows it.
connectionScopeNoWhich connection to remove: the project's, or only this person's own.project

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds material context beyond them: the blast radius ('its tools stop working at once, for everyone it was connected for') and a human-confirmation requirement. The 'for everyone' phrasing is slightly at odds with the connectionScope=user option only this person's connection, which tempers the score rather than contradicting annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core sentences are front-loaded and waste-free, but the trailing sentence about reading an integration's skill before using its tools is unrelated to removal and dilutes focus. Trimming that would leave a tight, well-ordered definition.

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 destructive, non-open-world tool with full annotation coverage and no output schema, the description supplies what matters: consequence of removal, scope of impact, confirmation gate, and how to undo via add_mcp_server. Only the project-vs-user scope tradeoff is left implicit.

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%, so all three parameters, including the connectionScope enum, are already documented. The description's 'by the address it was added at' and 'for everyone it was connected for' echo the schema's serverUrl and connectionScope semantics without adding format or edge-case detail, 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?

Opens with a specific verb set and resource: 'Remove, disconnect or delete an MCP server from a Replo project by the address it was added at.' It also names the inverse sibling, add_mcp_server, so the agent can distinguish add vs. remove 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?

Gives an explicit procedural gate ('Confirm with the user first') and points to add_mcp_server as the recovery path. It does not explicitly say when to choose connectionScope=user vs. project, leaving that to the schema enum, so it falls just short of full when/when-not coverage.

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