Skip to main content
Glama

Update a connection

connection_update
Idempotent

Change a connected MCP server. Only the fields you pass are touched. Changing url, transport, authType or the secret triggers a fresh probe. Docs: https://only-mcp.com/docs/mcp-servers#how-a-server-signs-in

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": {
      "slug": "<slug>"
    },
    "name": "connection_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoNew https URL. A new address drops the stored secret and every authorization of this connection: pass secret in the same call to keep a bearer or header connection working.
nameNoNew human readable name.
slugYesWhich connection, by its slug.
secretNoReplace the credential, for basic the password.
enabledNofalse takes its tools out of the gateway.
authTypeNonone, bearer, header or basic. Switching to none clears the stored secret; switching to basic needs authHeaderName (the username) and secret (the password).
transportNohttp or sse.
authHeaderNameNoFor authType header: which header. For basic: the username.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / authHeaderName / description
      Previous value: -"Only for authType header."New value: +"For authType header: which header. For basic: the username."
    • changedInput schema / properties / authType / description
      Previous value: -"none, bearer or header. Switching to none clears the stored secret."New value: +"none, bearer, header or basic. Switching to none clears the stored secret; switching to basic needs authHeaderName (the username) and secret (the password)."
    • changedInput schema / properties / authType / enum
      Previous value: -[
      -  "none",
      -  "bearer",
      -  "header"
      -]New value: +[
      +  "none",
      +  "bearer",
      +  "header",
      +  "basic"
      +]
    • changedInput schema / properties / secret / description
      Previous value: -"Replace the credential."New value: +"Replace the credential, for basic the password."
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false. The description adds a real behavioral fact beyond them: changing url, transport, authType or secret triggers a fresh probe, so the call has asynchronous effects. It does not, however, mention the credential/authorization loss that follows a url change or how probe failures surface, so transparency is only partial.

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?

Three short sentences with no filler, front-loading the mutation contract before the side-effect warning and the docs link. The docs URL is a reasonable escape hatch but consumes a sentence that could have carried the secret-dropping caveat instead.

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 an 8-parameter partial-update tool with full schema coverage, no output schema and annotations present, the description supplies the essential framing plus the probe trigger. It omits what the call returns and how the dropped-credential case should be handled by the caller, which is a modest but real gap.

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 baseline is 3; the description earns above baseline by naming the exact four fields that trigger a re-probe, which is cross-parameter behavior the per-parameter schema text does not assemble. The detailed credential caveats remain in the schema rather than the description.

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 and resource ('Change a connected MCP server') plus the defining semantic of the operation: 'Only the fields you pass are touched.' That partial-update contract is exactly what an agent needs to distinguish this from connection_create, connection_delete, and connection_tool_toggle.

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?

The description implies usage context (editing an existing connection, probe side effects) but never states when to pick this over the overlapping siblings, notably connection_tool_toggle for the 'enabled' field or connection_create for adding a new server. No explicit exclusions or prerequisites.

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