Skip to main content
Glama

gateway.connect_server

Connect or start a known downstream MCP server by name, resolving configured, provisioned, or discovered servers so tools become available on demand.

Instructions

Connect or start a known downstream MCP server by name. Resolves configured, provisioned manifest, and registered discovered servers.

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": {
      "server_name": "<server_name>"
    },
    "name": "gateway.connect_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_nameYesName of the server to connect

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.1
    • addedInput schema / properties / server_name / minLength
      Added value: +1
  2. First observedv1.18.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does add one useful behavioral fact — that lookup spans configured, provisioned-manifest, and discovered-registered sources — but it never discloses that this is a state-changing operation that starts a process, whether it is idempotent when the server is already connected, what auth or approval is required, or what an error looks like. For a mutating tool with zero annotation coverage this is a substantial gap.

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?

Two short sentences, the action front-loaded, no filler. The second sentence is dense with useful terminology rather than padding. Minor deduction because the resolution-sources clause is telegraphic and could be more readable.

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

Completeness3/5

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

For a one-parameter tool with no output schema, the description covers what the tool does and how the name is resolved. It is incomplete on the matters that matter most for an unannotated process-starting operation: preconditions, side effects, and post-call state. Adequate but not sufficient given no annotation support.

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% and there is only one parameter, whose description already reads 'Name of the server to connect.' Baseline is 3. The description does slightly enrich it by enumerating the three registries a valid server_name may resolve from, which tells the agent names are not limited to one source.

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 pair and resource: 'Connect or start a known downstream MCP server by name.' The 'known' qualifier plus the resolution-sources sentence makes the scope concrete. It stops short of naming a contrasting sibling (e.g. restart_server or disconnect_server), so an agent must infer the boundary itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance is given. With siblings like restart_server, disconnect_server, auth_connect, provision, and register_discovered_server in the same namespace, the description never says which one applies when a server is unknown, unauthenticated, or already running. The word 'known' hints at a precondition but never states it as a rule.

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