Skip to main content
Glama

List flows

list_flows
Read-only

List Markdown workflows: built-in, personal and this repository's.

Instructions

List Markdown workflows: built-in, personal and this repository's.

scope: all (default), builtin, user or repo. IDs: built-ins keep bare IDs
(e.g. pr-review); personal flows are user:<id> (every repository) and
repo:<id> (only the caller's repository). overridden_by marks a built-in
replaced by a local copy; upstream_changed marks a copy whose built-in has
changed since it was saved. sync_conflicts marks a flow whose versions from
two machines library sync could not merge: tell the user. No workspace is
needed except for repo flows. Over HTTP the registered workspace answers: a
scope=repo listing for another one returns workspace_mismatch, and a wider
scope lists what it can with that mismatch in repo.error.

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
scopeNoall
workspaceNoAbsolute path of your working directory, the project this session works in. Pass it whenever you have one. It never widens this session's grant: over HTTP the workspace registered for the connection decides, and over stdio it is checked against the client's own MCP roots unless this session's root is already pinned, when it is ignored. Each tool's description says what it does with a path that grant does not cover.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv26.10.18
    • changedInput schema / properties / workspace / description
      Previous value: -"Absolute path of your working directory, the project this session works in. Pass it whenever you have one: one server can serve several sessions."New value: +"Absolute path of your working directory, the project this session works in. Pass it whenever you have one. It never widens this session's grant: over HTTP the workspace registered for the connection decides, and over stdio it is checked against the client's own MCP roots unless this session's root is already pinned, when it is ignored. Each tool's description says what it does with a path that grant does not cover."
  2. First observedv26.10.14+1807

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint=false, and the description adds substantial behavior beyond them: the per-scope ID conventions (bare, user:<id>, repo:<id>), the meaning of overridden_by, upstream_changed and sync_conflicts, plus the instruction to tell the user on sync conflicts. It also discloses the HTTP failure mode (workspace_mismatch, partial results surfaced in repo.error), which is exactly the kind of non-obvious behavior an agent cannot infer from annotations.

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?

Front-loaded with purpose and scope, then dense but relevant detail; nearly every clause carries operative information. The phrasing is telegraphic in places ('tell the user' buried mid-paragraph), which slightly slows scanning but does not waste space.

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 an output schema present, the description is not obliged to document return values, yet it still explains the flag fields an agent will encounter and the error behavior over HTTP. Combined with the scope and workspace coverage, an agent has enough to call this correctly; only the choice against get_flow is unaddressed.

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 only 50%, and the scope parameter carries no schema description at all, so the description has to compensate — it does, listing every scope value, its default, and how IDs differ per scope. The workspace semantics ('over HTTP the registered workspace answers... a scope=repo listing for another one returns workspace_mismatch') extend the already-detailed schema text for workspace.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource up front ('List Markdown workflows') and immediately enumerates the three origins (built-in, personal, this repository's), which pins down the collection being read. It stops short of naming a sibling such as get_flow, so the read-one-vs-list-many distinction is left implicit.

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 rather than prescribed: the scope values ('all (default), builtin, user or repo') tell the agent what is available, and 'No workspace is needed except for repo flows' is a useful when-to-pass-workspace rule. There is no explicit statement of when to prefer this over a single-flow read or of any exclusion.

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