Skip to main content
Glama

analyze_flow

Analyze complete API call flow and identify patterns

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
callsYesArray of API calls with metadata
flow_idYesUnique request flow identifier

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only says 'analyze' and 'identify patterns' without stating whether the operation is read-only, what the output shape is, or whether any data is persisted. This is minimal disclosure beyond the core function.

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?

The description is a single sentence with no filler, front-loading the action and resource. It is appropriately concise for the stated purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 should explain what 'patterns' means and how the analysis is delivered, but it doesn't. It also lacks usage guidance, making the tool's behavior under-specified for an agent to invoke and interpret results correctly.

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?

The input schema provides good coverage (100%) for the two parameters, so the baseline is 3. The description adds no extra meaning to 'calls' or 'flow_id' beyond what the schema already specifies, such as expected structure or semantics of 'complete'.

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?

The description clearly states it analyzes the complete API call flow and identifies patterns, naming a specific verb and resource. However, it doesn't explicitly distinguish itself from sibling tools like detect_redundancy or suggest_batching, and the term 'patterns' remains somewhat vague.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives such as detect_redundancy or get_dependency_graph. No prerequisites, exclusions, or alternative scenarios are mentioned, so the agent must infer usage from the purpose alone.

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.

TDQS

A3.6/5.0
Disambiguation5/5

Each tool targets a distinct aspect of API flow analysis: overall flow, savings, redundancy, dependency graph, batching, and individual call tracking. No two tools have overlapping purposes.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case, making the set predictable and easy to navigate.

Tool Count5/5

Six tools is well-scoped for an API flow analyzer, covering core diagnostics without unnecessary bloat or missing essentials.

Completeness4/5

The surface covers tracking, analysis, redundancy detection, batching, dependency graphing, and savings calculation. Minor gaps like cleanup or export are absent but not critical for the domain.