Skip to main content
Glama

get_flow

Fetch one flow by id (from list_flows or from the flows of an issue's impact): calls and failures in the last day and in the asked range against its baseline, the deployment environments it ran in with their call counts, up to ten failedCalls sampled newest first from the range, each with a traceId, its span status, its HTTP status, how long it took and, when an exception was linked to it, the fingerprint and exception type of the issue behind it, then every issue seen on this flow with what callers got. unexplainedFailedCalls is how many failures in the range no issue accounts for. To read what went wrong on a route: call this, take the fingerprint off the newest failedCalls entry and call get_issue with include=occurrences on it for real frames, or take that entry's traceId to the trace tools for the whole request; when the entry carries no fingerprint the failure left no exception, so the trace is the only lead. Pass from and to as epoch seconds or ISO instants to look at a window other than the last 21 days (from defaults to 21 days before to, to defaults to now), and environment to count one deployment environment only. Pass includeSeries=true to also get the calls and failures per bucket and the exceptions per bucket by issue, which is large; leave it out when you only need the numbers, the samples and the issues.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe flow id (from list_flows, or from the flows of an issue's impact)
toNoEnd of the window, as epoch seconds or an ISO instant (default now)
fromNoStart of the window, as epoch seconds or an ISO instant (default 21 days before to)
environmentNoOnly count what happened in this deployment environment, such as production (default every environment)
includeSeriesNotrue to also answer the calls and failures per bucket and the exceptions per bucket by issue (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added

TDQS

A4.9/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does so thoroughly: samples are newest first, failures without a fingerprint leave no exception, includeSeries=true is large, unexplainedFailedCalls has a precise meaning, and the default time window is 21 days.

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?

The description is dense, front-loaded, and free of filler; every clause adds needed behavior, especially since there is no output schema. However, it is written as a single long run-on paragraph, and splitting the payload description, the failure-investigation workflow, and the parameter guidance into distinct sections would improve scanability without losing information.

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?

With no output schema and no annotations, the description must fully define the return contract, and it does: failedCalls fields, issue associations, environment counts, time defaults, and includeSeries behavior are all covered. An agent has enough context to decide whether to call this tool, how to parameterize it, and what follow-up action to take.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real value beyond the schema: it clarifies that from/to accept epoch seconds or ISO instants, environment restricts counting to one deployment environment, and includeSeries returns bucketed calls/failures and exceptions by issue. This turns parameter names into operational knowledge.

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?

Opens with 'Fetch one flow by id' and enumerates the specific payload: calls and failures against baseline, deployment environments, sampled failed calls, and issues. It also establishes where the id comes from (list_flows or an issue's impact), which cleanly separates it from siblings like list_flows, get_issue, and get_trace.

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?

The description explicitly gives a follow-up workflow: call this tool, take the fingerprint off the newest failedCalls entry, then call get_issue, or use the traceId with trace tools. It also tells the agent when to includeSeries and when to leave it out, and explains the from/to defaults, making the decision process explicit.

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