Skip to main content
Glama
orchestra-hq

Orchestra MCP Server

Official
by orchestra-hq

Set an agent's integrations

set_agent_integrations

Replace the integration connections an agent can use with the given list, and return the agent's integrations afterwards. An empty list removes them all.

Instructions

Replace the integration connections an agent can use with the given list, and return the agent's integrations afterwards. An empty list removes them all. Each integration is a connection key of the form <INTEGRATION>_<connection id>, e.g. SNOWFLAKE_my_connection, and must be a connection in the same workspace; the request is refused with 404 if any is not.

Input Schema

NameRequiredDescriptionDefault
bodyYes
agent_idYesThe id of the agent.
X-Orchestra-Account-IdNoAct on this account rather than the one the credential resolves to. Omit it to use the credential's own account. An API key is issued to a single account, so it may only name that account; an OAuth token may name any account its grant covers.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2026.10.12-0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and destructiveHint=false; the description adds genuinely useful behavior beyond them: this is a full replace (not a merge), an empty list removes all integrations, keys must resolve to connections in the same workspace, and the whole request is rejected with 404 if any key is invalid (implying all-or-nothing). It does not state the permission/scope required to mutate an agent's integrations.

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?

Three sentences, front-loaded with the action and its replace semantics, followed by the edge case (empty list) and then the key format rule. No filler or restated title.

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?

An output schema exists, so the description only needs to note that the updated integrations are returned, which it does. For a mutating tool it covers format, scoping, and failure mode well; the remaining gap is required permissions and whether the operation is atomic across all keys.

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 67% and the undocumented body.integration is exactly what the description explains: the `<INTEGRATION>_<connection id>` format with a concrete example and the same-workspace constraint. That is real value the schema alone does not carry, though the body array's replace-vs-append semantics could be tied more explicitly to the parameter.

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 precise verb+resource ('Replace the integration connections an agent can use with the given list') and pins down the replacement semantics rather than a vague 'update'. It is trivially separable from the read-side sibling list_agent_integrations and from set_agent_skills by resource, so an agent can route without opening a schema.

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 operation's behavior is well described (full replacement; empty list clears everything), which implies when to reach for it, but there is no explicit when-to-use vs. alternatives such as list_agent_integrations or get_agent, and no stated prerequisites. Usage is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools