Skip to main content
Glama
Lyellr88

marm-mcp

marm_graph_trace

Trace function call paths and data flow across services for impact analysis and dependency tracking. Supports inbound, outbound, or both directions with configurable depth.

Instructions

🧭 Trace call paths / data flow through the graph from a function.

`direction=inbound` finds callers, `outbound` finds callees, `both` for all.
`mode=data_flow` follows value propagation; `cross_service` crosses HTTP/async
boundaries. Use for impact analysis, dependency tracing, "who calls this".

Parameters:
- function_name: function or method to trace from
- project: project name; omit to auto-resolve
- direction: inbound | outbound | both (default both)
- depth: max hops, 1-5 (default 3)
- mode: calls | data_flow | cross_service (default calls)
- risk_labels: add CRITICAL/HIGH/MEDIUM/LOW risk tiers by hop distance (default True)

Returns: graph trace response, or a graph-unavailable error if the graph
backend is disabled or failed to start

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNocalls
depthNo
projectNo
directionNoboth
risk_labelsNo
function_nameYes
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It discloses that the tool returns a graph trace response or a graph-unavailable error if the backend is disabled/failed. However, it does not mention authentication needs, rate limits, or side effects beyond being a read operation.

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 concise and well-structured. It starts with the core purpose, then breaks down parameters in a list-like format. Every sentence adds value with no fluff, using emojis for visual guidance.

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?

Given the tool has 6 parameters and no output schema, the description is fairly complete. It covers all parameters, return types, and error conditions. However, it could better differentiate from sibling graph tools like marm_graph_architecture and marm_graph_impact, and mention prerequisites like the graph index.

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 description coverage is 0%, so the description must compensate. It explains all six parameters in detail: function_name, project, direction, depth, mode, risk_labels. For example, it clarifies that mode=data_flow follows value propagation and cross_service crosses boundaries, and depth has a range 1-5. This adds significant meaning beyond the schema.

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 clearly states the tool traces call paths/data flow through the graph from a function. It specifies directions and modes, and explicitly mentions use cases like impact analysis, dependency tracing, and 'who calls this'. This distinguishes it from sibling tools like marm_graph_architecture and marm_graph_impact.

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?

The description explains when to use each direction (inbound/outbound/both) and mode (calls/data_flow/cross_service). It also advises omitting project to auto-resolve. However, it does not explicitly contrast with siblings or state when not to use this tool.

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/Lyellr88/marm-memory'

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