Skip to main content
Glama

List automations

list_automations
Read-only

List the automation flows in a space, as structured JSON (id, name). Pass an id to get_flow_runs to read its recent runs, or to run_flow to start it. This is the structured counterpart to browsing automations/ via inspect_space. Returns 100 automations per page, newest first. When pageInfo.hasNextPage is true, pass pageInfo.endCursor as after to read the next page.

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": {
      "spaceId": "<spaceId>"
    },
    "name": "list_automations"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoPagination cursor: the `pageInfo.endCursor` of the previous page. Omit for the first page.
spaceIdYesSpace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds behavior the annotations cannot express — 100 results per page, newest-first ordering, and the exact next-page recipe. It does not mention permissions, scoping limits beyond space, or rate limits, which keeps it below a top score for a paginated listing across potentially large result sets.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four tight sentences with no filler: purpose and return shape first, then downstream usage, then the sibling comparison, then pagination mechanics. Front-loading is correct and every sentence carries information an agent would otherwise have to guess.

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?

There is no output schema, so the description carries the burden of describing returns — it does so (id, name, page size, sort order, next-page cursor) — and it covers the call-side pagination loop completely. For a two-parameter read-only listing tool, nothing an agent needs to call it correctly is missing.

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 100%, so both parameters are already documented, but the description still adds the workflow semantics: `after` is specifically the `pageInfo.endCursor` of the prior page, and `spaceId` scopes all results. That operational linkage between the two params and the response is genuine added meaning beyond the schema.

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 the automation flows in a space') plus the return shape ('structured JSON (id, name)'), and explicitly distinguishes itself from `inspect_space` as the structured counterpart to browsing the `automations/` directory. An agent can identify this tool and its scope 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 Guidelines5/5

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

Goes beyond context to name the downstream alternatives and the exact condition that selects them: pass the returned id to `get_flow_runs` for recent runs or `run_flow` to start one, and use `inspect_space` instead for free-form browsing. It also states the pagination trigger ('When `pageInfo.hasNextPage` is true').

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.