Skip to main content
Glama

List integrations assigned to an agent

list_agent_integrations
Read-onlyIdempotent

List integrations assigned to an agent

Returns every integration currently assigned to this voice agent, together with the tools the agent may call through it. The enabledTools field decides which of the integration actions the assistant may call: null means the recommended default set for that integration type, an empty array means the assistant may call nothing, and a list of tool names means exactly those tools and no others. Tool names are the name values from the integration tool catalogue. A list may only name tools the permissions of the integration allow (permitted in the catalogue, see GET /integrations/{id}/permissions); a tool outside them is refused with 422 and error code tool_not_permitted, while a malformed list or an unknown tool name stays a 400 validation_error. The response is a plain list with no paging, and it includes the health state of each integration so you can see whether a tool would actually work today. Only integrations of the account that owns the agent are listed, which for a reseller key is the customer account: an assignment that points at an integration of another account is left out.

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": {
      "agentId": "<agentId>"
    },
    "name": "list_agent_integrations"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentIdYesIdentifier of the voice agent. Accepted either as the public form `agent_12` or as the bare number `12`; the prefix is stripped before the lookup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the description's job is to add context, and it does: no paging on the response, per-integration health state, and an account-scoping rule (reseller keys only see the customer account's integrations, cross-account assignments are silently omitted). The 422 `tool_not_permitted` vs 400 `validation_error` distinction further discloses refusal semantics.

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 opening and the return-shape details are well front-loaded, but a substantial chunk explains validation rules for writing `enabledTools` (permission catalogue, 422/400 codes) — semantics belonging to the sibling `update_agent_integration_tools`, not to a read-only list call. Useful context, but not all of it earns its place here.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description must explain the return value, and it does thoroughly: a plain unpaged list, each item carrying `enabledTools` semantics (null = type default, [] = nothing, list = exact set) plus health state. That is everything an agent needs to interpret the response 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?

Schema coverage is 100% and the `agentId` description already documents the `agent_12` / `12` prefix-stripping behavior, so the schema carries the parameter burden. The prose adds nothing about the single parameter, making the baseline 3 appropriate.

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?

The description states a specific verb and resource ('List integrations assigned to an agent') and immediately narrows scope to this voice agent's assignments. That scope distinguishes it from the account-wide `list_integrations` sibling without the agent needing to open 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?

Usage is implied by the agent-scoped name rather than stated: there is no explicit 'use this when X, use `list_integrations` when Y' routing, and no prerequisites (e.g. needing the agent to exist, or auth scope) are called out. The rest of the text is about interpreting results, not about choosing this tool.

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.