Skip to main content
Glama

Add an MCP server

add_mcp_server
Read-onlyIdempotent

Connect, add or set up an MCP server in a Replo project by its address or URL, so its tools can be used. Returns connected when the project already has it. Otherwise returns connectUrl: give the user that link; it signs them in to the server and connects it to the project in one click. Never ask for a token in chat. When they say they're done, call this again to confirm it's connected. 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>",
      "tag": "<tag>",
      "projectId": "<projectId>"
    },
    "name": "add_mcp_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYesThe Integrations category it goes under, the one that best fits what its tools do.
projectIdYesThe project to add it to.
serverUrlYesThe MCP server's address, such as https://mcp.deepwiki.com/mcp. Public https only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Adds a great deal beyond the annotations: it discloses both return shapes ('connected' vs a 'connectUrl' to hand to the user), the idempotent behavior (re-calling confirms rather than duplicates), and the security rule never to solicit a token in chat. The annotations already declare readOnly/idempotent/destructive, but the description supplies the workflow semantics those hints cannot express.

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 action and its return contract, then the user-handoff rules, then the skills prerequisite, with no filler sentences. It runs a bit long and the final sentence about reading an integration's skill is arguably a cross-tool rule rather than part of this tool's contract, but every sentence carries operational value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the full lifecycle for a three-parameter connection tool with no output schema: what it does, the two possible responses, what to do with each, the auth/security constraint, and the follow-up confirmation call. Nothing an agent needs in order to invoke and act on the result is missing.

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 all three parameters are documented in structured form. The description only restates serverUrl loosely as 'address or URL' and says nothing about the 33-value tag enum or how projectId scoping behaves, so it adds little meaning beyond the schema. Baseline 3 is appropriate.

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 set and resource: 'Connect, add or set up an MCP server in a Replo project by its address or URL', plus the purpose ('so its tools can be used'). The add/connect framing is unambiguous against the sibling remove_mcp_server, and the description goes on to describe what the call returns, so an agent knows exactly what operation it is invoking.

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 concrete operational context: call it, hand the user the connectUrl, never ask for a token in chat, and re-call once the user says they're done to confirm the connection. It also routes the agent to read an integration's skill before using its tools. Missing only an explicit 'do not use this when...' exclusion, so it sits at clear-context rather than full when/when-not guidance.

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