Skip to main content
Glama

trace_step

Record each significant action during a traced workflow by adding a step with input and output data to an execution trace for debugging.

Instructions

Add a step to an execution trace.

Record each significant action during a traced workflow. Include input and output data to make the trace useful for debugging.

Args: trace_id: ID of the active trace. step_name: Name of this step (e.g. "search-memories", "call-api"). input_data: Optional JSON string with step input. output_data: Optional JSON string with step output.

Returns: JSON string with step_id and status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNo
outputNo
contentNo
metadataNo
trace_idYes
step_nameYes
input_dataNo
output_dataNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations only provide destructiveHint=false. The description adds that it records steps and returns a JSON with step_id and status, but it does not cover permissions, error handling, or side effects. For a non-destructive write operation, this is adequate but not thorough.

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 well-structured with a one-line summary, an explanatory paragraph, and an Args section. It is concise and front-loaded, though the Args section could be more aligned with the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of 8 parameters and 0% schema coverage, the description only covers half of the parameters. The existence of an output schema is mentioned but not detailed, and the additional parameters (input, output, content, metadata) are ignored, making the description incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate. It only explains trace_id, step_name, input_data, and output_data, but the schema has 8 parameters including input, output, content, and metadata, which are undocumented. This mismatch reduces clarity.

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 clearly states 'Add a step to an execution trace' and explains the action of recording significant steps with input/output data. It is a specific verb+resource, though it does not explicitly differentiate from sibling trace tools (e.g., trace_create, trace_complete).

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 says to use it for recording actions in a traced workflow, providing some usage context. However, it lacks explicit guidance on when not to use it or alternatives (e.g., use trace_create first).

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/novyxlabs/novyx-mcp'

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