Skip to main content
Glama

List an agent's connections

list_connections
Read-onlyIdempotent

List an agent's connections

The channels connected to the agent (Facebook pages, Instagram accounts, WhatsApp numbers), active and not, with whether its AI answers messages and comments on each. Connecting and disconnecting happen in the dashboard, which needs Meta's login.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesThe agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, non-destructive), so the bar is lower. The description adds useful context beyond that: it discloses the scope of results (active and not active), what each entry reports (AI answers messages/comments), and an auth prerequisite ('needs Meta's login') for the related dashboard operations.

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?

The title line is repeated as the first sentence, which is slightly redundant, but the payload sentence is dense with relevant detail and the dashboard caveat is front-loaded at the end. No filler beyond the echoed 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?

With no output schema, the description correctly compensates by describing what the list contains (channel types, active state, AI-answering flags). The auth note covers a related workflow, though pagination/ordering behavior is left unstated.

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 description coverage is 100% and the single agent_id parameter already documents its UUID format and its 404/403 error semantics in the schema. The description adds no parameter-level detail, so the baseline of 3 applies.

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 ('list an agent's connections') and then enumerates exactly what a connection is (Facebook pages, Instagram accounts, WhatsApp numbers), including the active/inactive dimension and the AI-answering flag. An agent can distinguish this read operation from connect/disconnect actions without opening the 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 description implicitly frames usage by noting that connecting and disconnecting happen in the dashboard rather than via this tool, which is a partial when-not statement. However, it never names or contrasts a sibling (e.g. update_connection, list_agents), so the agent must infer that this is the read-only viewer for an agent's channels.

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