Skip to main content
Glama

Update an integration

update_integration

Update an integration

Changes the name, description, stored configuration or enabled flag of an integration. Only the fields you send are written. A config you send is merged with the stored one, one object level at a time. A field that is not secret takes the value you send, and one you leave out is removed, so send every non-secret field you want to keep. A secret field keeps its stored value when you leave it out or send it as ********, an empty string or null clears it, and any other value replaces it. A value counts as secret when its field is declared with type password for the integration type, when its key contains secret, password, passwd, token, apiKey, api_key, authorization, authValue, credential, bearer or cookie or ends in Key (case-insensitive, at any depth), or when it is a URL that carries its secret inside it, such as the webhook URL of a Discord integration. A secret key covers everything below it. Booleans are never masked, and an empty value stays empty. Nested objects are merged by the same rules.

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": {
      "id": "<id>",
      "body": "<body>"
    },
    "name": "update_integration"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier of the integration.
bodyYesThe fields to change. `config`, if sent, is merged with the stored configuration: fields that are not secret are replaced, secret fields left out or sent as `********` keep their stored value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations declare only readOnly=false, destructive=false and idempotent=false, so the description carries the real burden and does so: it explains one-level-deep merge semantics, that omitted non-secret keys are removed, and how secret values are detected and preserved. This is exactly the kind of destructive-in-practice detail the annotations do not convey (the removal of omitted non-secret keys arguably stretches the non-destructive annotation, but the description is the source disclosing it rather than contradicting it).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the body becomes a single dense paragraph with a long parenthetical keyword catalogue and a list of secret-detection triggers that could be compressed. Information density is high with little filler, yet the wall-of-text structure makes the key merge rules harder to scan than they need to be.

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 mutation tool with nested objects and no output schema, the description covers the risky part thoroughly: how config merges, what is removed, and how secrets behave. It omits what the response returns, error/validation behavior for unknown integration types, and any permission prerequisites, leaving modest gaps.

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 schema already documents the two parameters, yet the description adds real meaning beyond it: the per-field keep/clear/replace rules for secrets, the masking sentinel `********`, and the secret-key detection heuristic. The long enumerated keyword list is thorough to the point of near-exhaustive, but it is genuine added semantics rather than a restatement.

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 names a specific verb and resource plus the exact fields it touches (name, description, config, enabled flag), so an agent knows precisely what it mutates. It does not contrast itself with siblings such as update_webhook, delete_integration, or set_integration_permissions, so it falls 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?

"Only the fields you send are written" implicitly signals partial-update usage versus a full replace, but there is no explicit when-to-use versus when-not guidance and no named alternative for replacing an entire configuration. Useful context is implied rather than stated.

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.