Skip to main content
Glama

List chat flows

list_flows
Read-only

List the organization's chat flows: automations that answer contacts in direct messages and comments by themselves. Each has id, name, isEnabled (live or not), triggerType, the accounts it answers on (connectionIds; empty = every messaging account), the graph, cooldown and daily cap, runCount, runCountLast7Days and lastTriggeredAt. isGraphBroken means the stored graph no longer parses and must be rewritten with update_flow. Read-only. Needs the organization's "Let AI assistants create and edit chat flows" setting (mcpFlowsEnabled; only the organization's OWNER can switch it on, in Settings → Organization → General → AI Assistants; without it the api answers 403 MCP_FLOWS_DISABLED) and a connection authorized with the flows permissions — one authorized before they existed must remove PostRite from the assistant and add it again.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_flows"
  }
}

Input Schema

NameRequiredDescriptionDefault
organizationIdNoOrganization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one.

Output Schema

NameRequiredDescriptionDefault
flowsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and destructiveHint=false, yet the description adds substantial behavior: the empty-connectionIds semantics ('empty = every messaging account'), the meaning of isGraphBroken and the required follow-up action, and the exact 403 MCP_FLOWS_DISABLED failure mode. The 'Read-only' sentence merely echoes the annotations, but the surrounding detail is far beyond them.

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?

Purpose and data fields are front-loaded, and every clause carries information (field semantics, auth prerequisites, error code). The prerequisite sentence is long and parenthetically nested, which costs some readability, but nothing is padding.

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?

For a read-only list tool with an output schema, the description covers the object model, special field meanings, the prerequisite setting, the reauthorization edge case, and the exact error the agent will hit. An agent can call this correctly or diagnose failure without further sources.

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?

The single organizationId parameter already has full schema description coverage (id from list_organizations, omit when only one org). The description adds nothing about it, so the schema carries the burden entirely; baseline 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?

Opens with a specific verb+resource ('List the organization's chat flows') and immediately defines the domain object as automations that answer contacts in DMs and comments. It even points to update_flow when isGraphBroken is seen, so the agent can separate reading from repairing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear conditions for successful use: the org-level mcpFlowsEnabled setting, OWNER-only activation, and a connection carrying flows permissions (including what to do if it was authorized before those permissions existed). It does not contrast with list_automations or other listing siblings, so routing guidance is incomplete.

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