Skip to main content
Glama

Trace Dependencies

trace_dependencies
Read-only

Trace dependency chains upstream or downstream to reveal what blocks or is blocked. Identify requirements and dependents to resolve workflow issues.

Instructions

Trace dependency chains upstream (what depends_on or blocks) or downstream (what is blocked/depended on).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYesThe node ID to trace from.
projectNoOptional project identifier.
directionYesTrace direction (upstream = requirements; downstream = dependents).
max_depthNoMaximum depth. Default 10, maximum 20.
edge_typesNoEdge types to follow. Defaults to [depends_on, blocks, child_of].
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the read-only nature is clear. The description adds directional meaning but does not disclose other behaviors like return format or depth limits (partially in schema, not description).

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?

Single sentence, concise, front-loaded with action, and zero filler. Every word earns its place.

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?

For a read-only graph traversal tool with informative schema and annotations, the description covers essentials. It omits output format, but without an output schema this is acceptable.

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 description coverage is 100% with detailed parameter descriptions (direction enum, max_depth defaults). The description adds contextual edge-type insight but does not go beyond schema for parameter semantics.

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?

The description uses the specific verb 'trace' and identifies the resource as 'dependency chains', with explicit direction semantics (upstream/downstream). This distinguishes it from sibling tools like find_blocked_tasks or impact_analysis.

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

Usage Guidelines3/5

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

The description implies usage for traversing dependency relationships but does not mention alternatives or exclusions. Sibling tools like find_blocked_tasks or get_subgraph could overlap, so clearer when-to-use guidance would help.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/putervision/state-memory-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server