Skip to main content
Glama

Get a user flow

get_flow
Read-onlyIdempotent

Retrieve a user flow with target metrics and pre-flight and post-flight checklists to review before designing or shipping onboarding, checkout, search, and other flows.

Instructions

Get one user flow (onboarding, forms, pricing, dashboard, checkout, search, authentication and more) with its target metrics, the pre-flight checklist to run before designing it and the post-flight checklist to run before shipping it. Use it before designing or shipping a known flow.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe flow id. One of: "onboarding", "forms", "pricing", "dashboard", "empty-states", "checkout", "settings", "navigation", "search", "authentication", "notifications", "data-tables". Call list_flows for the current set.
localeNoLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".en

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.0
    • changedInput schema / properties / id / description
      Previous value: -"The flow ID. One of: \"onboarding\", \"forms\", \"pricing\", \"dashboard\", \"empty-states\", \"checkout\", \"settings\", \"navigation\", \"search\", \"authentication\", \"notifications\", \"data-tables\". Call list_flows for the current set."New value: +"The flow id. One of: \"onboarding\", \"forms\", \"pricing\", \"dashboard\", \"empty-states\", \"checkout\", \"settings\", \"navigation\", \"search\", \"authentication\", \"notifications\", \"data-tables\". Call list_flows for the current set."
    • addedInput schema / properties / locale / description
      Added value: +"Language of the returned content: \"en\" (English) or \"es\" (Spanish). Defaults to \"en\"."
  2. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world, non-destructive behavior, so safety needs no restating. The description adds genuine value by disclosing what the response contains (metrics and two checklists), which is the main unknown for a fetch tool with no output schema. Missing only return shape details such as field structure.

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?

Two sentences, front-loaded with the resource and its payload, then the usage trigger. The parenthetical "onboarding, forms, pricing, dashboard, checkout, search, authentication and more" is somewhat redundant with the schema enum and is the only real waste.

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 no output schema, the description correctly spends its budget explaining what comes back and when to reach for it. An agent knows enough to call it correctly; only the internal structure of the checklists and metrics remains undisclosed, which is a minor gap for a two-parameter read.

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%, so both parameters are already documented, including the full id enum and the locale enum. The parenthetical flow list echoes a subset of the id enum already in the schema, and locale is never mentioned in the description, so it adds little beyond structured data — baseline 3.

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 ("Get one user flow") and enumerates the payload an agent receives: target metrics plus pre-flight and post-flight checklists. The word "one" implicitly separates it from the listing sibling, though no sibling is named explicitly.

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?

"Use it before designing or shipping a known flow" gives a concrete temporal trigger and implies the flow is already known, which routes listing behavior elsewhere. No explicit when-not clause or named alternative appears in the description itself.

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