Skip to main content
Glama

mcp_server_connect

Begin OAuth consent for an attached remote MCP server; open the returned authorization URL.

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": {
      "workspaceSlug": "<workspaceSlug>",
      "name": "<name>",
      "body": "<body>"
    },
    "name": "mcp_server_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
nameYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only say the call is not read-only, touches open-world resources, and is non-destructive. The description adds genuinely new behavior: this is the first step of an OAuth consent flow and it returns an authorization URL the caller must open, which explains why the tool does not itself complete the connection. It leaves out whether credentials are replaced, what happens on cancel/expiry, and how the callback is matched to the request.

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?

A single front-loaded clause gives the action, the flow context, and the follow-up step (open the returned URL) with no filler. Nothing could be removed without losing information.

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?

This is a state-mutating OAuth initiation tool with three undocumented required parameters, a nested object, and no output schema, so the description is the only source of parameter and return information — and it supplies neither. An agent cannot tell from the definition what to pass for redirectTo or what field in the response holds the authorization URL.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and all three parameters are required, yet the description names none of them. In particular the nested body.redirectTo field — the OAuth callback target, which materially changes how the flow must be set up — is left entirely undecoded, as are workspaceSlug and name.

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 action ("Begin OAuth consent") against a specific resource ("an attached remote MCP server"), which cleanly separates it from sibling lifecycle tools like mcp_server_create, mcp_server_probe or mcp_server_delete. It does not explicitly name a sibling or state the boundary in words, so it stops short of a 5.

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?

Usage is only implied: you call this when an MCP server is already attached but needs authorization. There is no explicit when-to-use/when-not-to-use statement, no mention of prerequisites such as the server having been created first, and no routing to alternatives like mcp_server_probe for checking status.

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.