Skip to main content
Glama

Kalpana Designer

List a template's flows

list_flows
Read-onlyIdempotent

List a template's flows. A flow joins some of its pages into one video with transitions, and a template can have any number, each with its own pages and order. Returns each flow's flow_id, name, description, length in seconds and steps. Give a flow_id to the batch connection's create_batch as flowIds to render it.

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": {
      "template_id": "<template_id>"
    },
    "name": "list_flows"
  }
}

Input Schema

NameRequiredDescriptionDefault
template_idYesThe template, from search_templates or create_design.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new information: the meaning of a flow, that a template may have any number of them, and the exact fields returned (flow_id, name, description, length in seconds, steps), which compensates for the missing output schema.

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?

Three short sentences, each carrying distinct payload: definition of the resource, cardinality/shape, return fields, then downstream wiring. Front-loaded with the verb and resource, with zero 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 one-parameter read-only tool with no output schema, the description supplies the domain concept, the return fields, and the cross-tool handoff to create_batch. Nothing an agent needs in order to call it and use its result is missing.

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 coverage is 100% and the single parameter already documents its origin (search_templates or create_design). The description only restates that the tool operates on a template, adding no syntax or format detail beyond the schema, so the baseline of 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?

States a specific verb and resource (list a template's flows) and immediately defines what a flow is, so it is clearly separable from list_pages, get_design, and create_flow. The scope constraint ('a template can have any number') plus the returned field list leaves no ambiguity about what the call produces.

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?

It explicitly names the downstream use: take a flow_id and pass it to create_batch as flowIds to render. It gives no exclusions or comparison against siblings (e.g., when to use get_design or list_pages instead), so it stops short of full when/when-not guidance.

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