Skip to main content
Glama

List workflows

list_workflows
Read-onlyIdempotent

List the workflows belonging to the authenticated tenant. Supports an optional slug prefix filter and pagination.

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_workflows"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_sizeNomaximum number of workflows to return in this page
page_tokenNotoken from a previous response's next_page_token to fetch the next page
slug_prefixNoonly return workflows under this FOLDER path (matched on whole '/'-delimited segments, NOT as a raw string prefix), e.g. 'blog' (trailing slash optional) returns everything under blog/. A partial segment matches nothing: 'bl' will NOT match 'blog/post'; use the full segment(s)

Output Schema

NameRequiredDescriptionDefault
workflowsYes
next_page_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / slug_prefix / description
      Previous value: -"only return workflows whose slug starts with this prefix"New value: +"only return workflows under this FOLDER path (matched on whole '/'-delimited segments, NOT as a raw string prefix), e.g. 'blog' (trailing slash optional) returns everything under blog/. A partial segment matches nothing: 'bl' will NOT match 'blog/post'; use the full segment(s)"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description adds useful context beyond that: results are tenant-scoped and paginated. It does not mention default page size, ordering, or what happens if page_token is reused, so it is additive but thin.

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?

Two short sentences, front-loaded with the core action and scope, followed by the optional capabilities. No filler, no restatement of the 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 rich annotations, full schema coverage and an output schema (so return shape need not be explained), the description covers scope, filtering and pagination adequately. Minor omissions such as default page size and ordering keep it from perfect completeness.

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 each parameter is documented in detail at the schema level, including the whole-segment matching rule for slug_prefix. The description only restates 'optional slug prefix filter and pagination' and adds no syntax or edge-case meaning beyond the schema, so the baseline 3 applies.

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 clear verb and resource ('List the workflows') plus an explicit scope ('belonging to the authenticated tenant'), which distinguishes it from create_workflow and version-oriented siblings. It does not explicitly contrast itself against any named sibling, so it stops short of a 5.

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?

Conveys that the slug filter and pagination are optional, implying bare invocation is valid, but gives no guidance on when to reach for this versus other discovery tools (e.g. analyze_resource) or when pagination is required. Usage is implied rather than prescribed.

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