Skip to main content
Glama

Sign in to a service again

reconnect_service

Starts signing in again for a connection whose sign-in stopped working (list_connections shows it with attention). The same connection gets new access, with its settings kept. The person signs in on the service's own page, from a CodeGene page this call opens for them or returns as a link. Owners and admins only. If your prompt or page never appears and the call times out, call it again with finish_with set to "link".

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": {
      "project_id": "<project_id>",
      "connection_id": "<connection_id>"
    },
    "name": "reconnect_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project (list_projects gives ids).
finish_withNoLeave out. "link" returns a CodeGene page link for the person to open instead of showing a prompt or opening the page for them, for an assistant that cannot.
workspace_idNoWorkspace id from whoami; omit when there is one.
connection_idYesThe connection (list_connections gives ids).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, so the safety profile is carried structurally. The description nonetheless adds real context beyond them: existing settings are preserved, a human must complete sign-in on the service's own page, and the caller must be an owner/admin. It does not describe what the call returns on success beyond "a link".

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?

Five short sentences, front-loaded with the precondition and diagnostic pointer, then behavior, permissions, and the timeout fallback. No sentence is redundant and nothing is buried.

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?

With no output schema, the description still covers the shape of the interaction (page opened vs. link returned), the permission gate, and failure handling. What is missing is what the caller observes after the person completes sign-in (e.g., updated connection state), which matters slightly more for a mutation-style tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description earns credit by explaining the operational trigger for finish_with="link" (the prompt or page never appeared and the call timed out) rather than just its format. project_id, connection_id, and workspace_id are only echoed from the schema, not enriched.

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?

The description uses a specific verb and resource ("starts signing in again for a connection") and pins the exact precondition ("whose sign-in stopped working", shown as `attention` in list_connections). The word "again" plus "settings kept" distinguishes it from an initial connect flow without the agent needing to open a sibling 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?

It states when to use it (a connection flagged `attention` by list_connections) and when it does not apply (only re-auth, not first-time setup), and adds a concrete retry path with finish_with="link" on timeout. It stops short of naming the alternative tool for establishing a brand-new connection, leaving that inference to the agent.

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