Skip to main content
Glama

Get Trace Gantt Chart

lyzr_get_trace_gantt
Read-onlyIdempotent

Fetch a trace's Gantt chart showing the span tree with timings to understand execution sequence and bottlenecks.

Instructions

Fetch the Gantt chart (span tree with timings) for a trace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trace_idYesTrace id
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, covering the safety profile. The description adds a small amount of context by explaining that the Gantt chart is a 'span tree with timings,' but it does not disclose additional behavioral details such as pagination, response structure, or error conditions. This is adequate but not rich.

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 concise sentence that front-loads the core purpose. It contains no filler or redundant phrasing, making every word count.

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 simple read-only tool with one parameter and no output schema, the description provides enough context about what is returned ('span tree with timings') and the target resource ('a trace'). It is not overly verbose but could benefit from a brief note on why/when to use it, though this is not critical given the simplicity.

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% since trace_id is described as 'Trace id.' The description references 'a trace' but adds no new meaning beyond the schema parameter. The baseline of 3 is appropriate when the schema handles parameter documentation.

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 ('Fetch') and a specific resource ('Gantt chart (span tree with timings) for a trace'), clearly conveying what the tool does. It does not explicitly contrast with sibling tools like lyzr_get_trace_details or lyzr_get_trace_summary, so it falls short of full differentiation.

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 versus alternatives such as lyzr_get_trace_details, lyzr_get_trace_summary, or lyzr_ops_get_trace. The description simply states what it does without any context, exclusions, or alternative recommendations.

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/nandanNM/lyzr-mcp'

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