Skip to main content
Glama

Get a chat flow

get_flow
Read-only

One chat flow in full: its trigger, the accounts it answers on, the whole graph (nodes and edges) and its counters. Read it before update_flow, which replaces the graph whole. 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

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": {
      "flowId": "<flowId>"
    },
    "name": "get_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowIdYesThe flow's ID (from list_flows)
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
idNo
nameNo
graphNo
runCountNo
createdAtNo
isEnabledNotrue = live: it answers real contacts
updatedAtNo
triggerTypeNo
connectionIdsNoThe accounts it answers on; empty = every messaging account
isGraphBrokenNoThe stored graph no longer parses; rewrite it with update_flow
triggerConfigNo
cooldownMinutesNo
lastTriggeredAtNo
runCountLast7DaysNo
maxRunsPerContactPerDayNo

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=true and destructiveHint=false, and the description reinforces "Read-only" without contradicting anything. Beyond that it discloses the operational prerequisites the annotations cannot: the mcpFlowsEnabled organization setting, that only an OWNER can enable it and where, the exact 403 MCP_FLOWS_DISABLED failure mode, and that a stale connection must be re-authorized with the flows permissions.

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?

It is front-loaded: what you get, then when to use it, then the access constraints. The final sentence is dense with nested parentheticals (setting key, owner-only, menu path, error code, re-auth steps) and could be broken up, but every clause carries real operational information rather than filler.

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 two-parameter read with an output schema, this covers everything an agent needs before calling: return shape, ordering relative to update_flow, and both authorization gates including the failure code. Nothing material is left to inference.

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%, with flowId documented as coming from list_flows and organizationId explained for multi-org connections, so the schema carries parameter meaning on its own. The description adds nothing about parameter formats or defaults beyond that, which is the expected baseline-3 outcome when the schema does the work.

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 ("One chat flow in full") and enumerates exactly what is returned: trigger, accounts, graph of nodes and edges, counters. It also distinguishes itself from update_flow, which "replaces the graph whole," so an agent can tell the two apart without opening either schema.

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 an explicit sequencing rule: read this before update_flow because that tool replaces the graph wholesale. It does not name a when-not case or point at list_flows as the alternative for browsing flows (that reference lives only in the parameter schema), which keeps it just short of a 5.

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