Skip to main content
Glama

Replace connection keys

replace_connection_keys

Get a one-time link where the person enters new keys for an existing connection, for example after issuing a new token. The connection, its destinations, and its adapter stay the same.

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": {
      "connectionId": "<connectionId>"
    },
    "name": "replace_connection_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
connectionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The description usefully discloses that the operation is non-destructive in effect ('the connection, its destinations, and its adapter stay the same') and that the returned artifact is a one-time link, adding context beyond the annotations. It omits whether calling it invalidates existing keys, how long the link lasts, and what permissions or authorization the caller needs. The 'get' phrasing also sits in mild tension with readOnlyHint=false, though it is consistent with initiating a state-changing handoff rather than contradicting the annotation.

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 tight sentences with the outcome front-loaded and the invariant clause second; nothing is padded. The 'for example' clause is slightly loose but earns its place by supplying the primary use case.

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 single-parameter tool with no output schema, the description covers the essentials: what is produced (a one-time link), who consumes it ('the person'), and what is preserved. Remaining gaps (link expiry, effect on existing keys) are secondary but would help an agent sequence the flow correctly.

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?

Only one parameter (connectionId) with 0% schema description coverage, so the description must carry the burden; it does so only indirectly by referring to 'an existing connection', which implies the identifier selects a pre-existing connection rather than creating one. It adds no detail on accepted identifier format or whether inactive connections are eligible.

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 and resource: obtaining a one-time link for entering new keys against an existing connection. The description also clarifies scope (connection, destinations, adapter remain unchanged), which separates it from a full re-setup. It stops short of naming which sibling to use instead, so 4 rather than 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?

Provides one concrete triggering scenario ('after issuing a new token'), which is a genuine usage cue. However, it never states when NOT to use it or points to alternatives such as get_connection_setup or propose_connection_settings for other key/settings flows, leaving the agent to infer the boundary.

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.