Skip to main content
Glama

Update a connection

update_connection

Change a connection: sent fields replace, unsent survive. archived archives / restores (agents on an archived connection stop running). The key is changed only in Governance > Connections.

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": {
      "ref": "<ref>"
    },
    "name": "update_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesThe connection to change.
nameNoDisplay name.
modelsNoUpstream model names it offers (an agent connection: exactly one).
statusNoactive or disabled.
billingNo{customer_pays_provider: bool (default true = provider cost 0), input_usd_per_million, output_usd_per_million}.
profileNoGovernance profile slug that checks every turn (REQUIRED for an agent connection).
archivedNoArchive or restore.
base_urlNoThe OpenAI-compatible base URL (https, public), e.g. https://models.example.com/v1.
residencyNoWhere the endpoint runs.
descriptionNoWhat the connection is for.
capabilitiesNo{tools, streaming, vision: bool, context_window: int}.
default_modelNoThe model used when none is named (default: the first).
send_system_promptNoAgent connection: also send the platform agent's system prompt (default off).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

The annotations declare a mutable but non-read-only, non-destructive operation; the description adds important behavior beyond that: sent fields replace existing values while unsent fields survive, archiving stops agents on that connection, and the key cannot be changed here. These are meaningful operational details, though broader permission and error behavior are not covered.

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?

The description is three compact sentences: update semantics first, archive side effect second, key restriction last. There is no filler, and the most important behavioral constraint is front-loaded.

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 13-parameter mutation tool with nested objects and no output schema, the description covers the key behavioral gaps: partial updates, archive side effects, and the excluded key change. The schema supplies field-level detail, though permission requirements and validation behavior remain unstated.

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 description coverage is 100%, so the schema already documents each parameter and a baseline of 3 applies. The description adds real semantic value by explaining PATCH-style replacement, archive/restore side effects, and that the key is changed through Governance rather than this tool.

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?

The description states a specific verb and resource, 'Change a connection,' which is enough to distinguish it from read/create siblings. It does not explicitly differentiate from other update-style siblings such as update_api_endpoint or set_connection_security.

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 implied through partial-update semantics, archive/restore behavior, and the note that key changes happen elsewhere. However, there is no explicit when-to-use or when-not-to-use guidance versus alternatives.

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