Skip to main content
Glama

get_trace_window

Read-onlyIdempotent

Fetch bounded trace slices from a profiler artifact that overlap a specified time window, facilitating performance audit and comparison across nanosecond intervals.

Instructions

Return bounded trace slices overlapping a declared time window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitYesMaximum trace slices to return (1-1000).
cursorNo
end_nsYesExclusive window end in nanoseconds; greater than start_ns.
start_nsYesInclusive window start in nanoseconds.
artifact_idYesTrace artifact ID from list_artifacts.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already disclose readOnly, idempotent, and non-destructive behavior. The description adds 'bounded' and 'overlapping' semantics, but does not clarify pagination via cursor, ordering, or detailed boundary handling beyond the schema.

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?

A single, front-loaded sentence with no filler. Every word contributes to conveying the tool's action and scope.

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?

With strong annotations and an output schema, the description is adequate for basic selection. It omits pagination details, but those exist in the input schema, keeping overall completeness reasonably high.

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 80% (all parameters except cursor), so the schema carries most of the meaning. The description's 'overlapping' adds value by indicating slices crossing the window boundaries are returned, but cursor pagination semantics are left undocumented.

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 ('Return') and identifies the resource ('bounded trace slices') scoped to a time window. It is clear and suggests a read operation, but it does not explicitly differentiate from siblings like get_operation_window.

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 time-window context implies when to use the tool, but there is no explicit guidance on when to prefer it over alternatives such as get_operation_window or extract_otlp_trace, nor any exclusions.

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/morluto/flameox'

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