Skip to main content
Glama

Get Flow details

get_flow_details
Read-onlyIdempotent

Returns Flow metadata, revision, draft/published summaries, recent version metadata, and stats without the full definitionJson. Read this before update_flow_settings or update_flow_draft and use its exact revision as expectedRevision.

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": {
      "flowId": "<flowId>"
    },
    "name": "get_flow_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowIdYesFlow ID

Output Schema

NameRequiredDescriptionDefault
flowYes
draftYes
versionsYes
publishedYes
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, and the description adds genuinely new context: the response deliberately omits definitionJson (payload-size hint) and the revision field is consumed as an optimistic-concurrency token. It stops short of describing pagination or the shape of the version list, which keeps it from a 5.

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 sentences, both load-bearing: the first defines scope and exclusions, the second defines the downstream workflow. Front-loaded with the payload-relevant distinction (no definitionJson).

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?

A read tool with one required param, full schema coverage, an output schema, and complete annotations. The description covers scope, exclusions, and the intended follow-up call — nothing an agent needs to invoke it correctly 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?

Only one parameter, fully documented in the schema at 100% coverage, so the schema already carries the semantic load. The description adds nothing about flowId formatting or lookup behavior; its only extra meaning (revision→expectedRevision) concerns the output, not the input.

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 ('Returns') and enumerates exactly which Flow artifacts come back — metadata, revision, draft/published summaries, version metadata, stats — and explicitly contrasts itself with the full-definition variant by noting the absence of definitionJson. An agent can distinguish this from get_flow_definition without opening either schema.

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?

Gives explicit sequencing guidance: read this before update_flow_settings or update_flow_draft and reuse the returned revision as expectedRevision. It does not state when to prefer get_flow_definition or get_flow_stats instead, so the exclusion side of the guidance is incomplete.

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