Skip to main content
Glama

get_dependency_graph

Generate dependency graph of API calls showing call sequence and relationships

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
callsYesArray of API calls with dependencies

Schema Changelog

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

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the burden. It mentions 'showing call sequence and relationships' but does not disclose side effects, return format, assumptions, or limitations. It is a minimal description with no contradiction to annotations (since none exist).

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, front-loaded sentence that is clear and efficient. It contains no wasted words and immediately communicates the tool's function.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one parameter and no output schema, the description is functional but lacks context on expected output format or use cases. It is adequate for a simple tool but does not fully guide an agent on what to expect or when to invoke it.

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 schema fully describes the only parameter 'calls' as 'Array of API calls with dependencies', so the baseline is 3. The description does not add any extra parameter-level detail beyond what the schema already provides.

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 uses a specific verb 'Generate' and resource 'dependency graph of API calls', clearly stating what it produces. It distinguishes itself from sibling tools like calculate_savings or track_call by focusing on graph generation, though it doesn't explicitly name alternatives.

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?

No guidance is provided on when to use this tool vs analyze_flow or detect_redundancy. The description only states what the tool does, not the context or scenarios where it is preferred.

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.