Skip to main content
Glama

get_data_flow

Trace the complete data flow from a component through stores, services, and adapters to API endpoints, including child components. Returns all endpoints hit by the rendered route.

Instructions

Trace the full data path from a component through composables/stores → services → adapters → API endpoints, INCLUDING data fetched by child components. Returns per-chain detail (each tagged with the via render path that reached it) plus allEndpoints — the union of every endpoint the rendered route hits. Store-mediated flows (Pinia/Zustand) are traced too. If the name matches multiple items, returns ambiguous with candidates — re-call with file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoOptional path substring to disambiguate when the name matches multiple files
nameYesComponent or composable name (e.g., "ProjectModal", "useProjectModal")
depthNoHow deep into the child component tree to trace (default 3). 0 = the target's own calls only.
Behavior4/5

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

Without annotations, the description carries the full burden of disclosure. It transparently describes the tool's behavior: it traces data flows, returns per-chain details and allEndpoints, and handles ambiguity. It implies a read-only, idempotent operation. No destructive or side effects are mentioned, which is appropriate for a trace tool.

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 a single paragraph of three sentences, efficiently covering purpose, behavior, and ambiguity handling. It front-loads the main action. While it could benefit from slight restructuring (e.g., bullet points), it is concise and contains no unnecessary words.

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 complexity of a data flow tracing tool and the absence of an output schema, the description provides sufficient context: it explains what is traced, what is returned (per-chain details with render path, allEndpoints), and how the 'depth' parameter works. It does not detail exact output structure but gives a solid high-level understanding.

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%, so the baseline is 3. The description does not add any new information about parameters beyond what is already in the schema. The schema descriptions for 'name', 'file', and 'depth' are repeated verbatim in the description, providing no extra semantic value.

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 verb 'Trace' and the resource 'full data path from a component... to API endpoints'. It specifies what is included (child components, store-mediated flows) and how ambiguity is handled (returns ambiguous with candidates). This effectively distinguishes it from siblings like 'verify_data_flow'.

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 provides clear context on when to use the tool (for tracing data flows, including child and store-mediated flows) and how to handle ambiguous matches (re-call with 'file'). However, it does not explicitly mention when not to use it or compare it to alternative tools like 'verify_data_flow'.

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/calebsjames/atlas-ui-mcp'

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