Skip to main content
Glama

save_trace

Save the current trace log under a specified label for later analysis. Overwrites existing labels to maintain organized session records.

Instructions

Save the current trace log under a label.

Overwrites if the label already exists.

Args: session_id: The session ID. label: A name for this saved trace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
labelYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool overwrites existing labels, which is a key behavioral trait. However, it lacks details on permissions, side effects (e.g., if this affects system state), error handling, or response format. The overwrite warning adds value but leaves other behaviors unspecified.

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 appropriately sized and front-loaded, with the core purpose in the first sentence and critical behavior (overwrites) in the second. The Args section is structured but could be integrated more seamlessly. Overall, it's efficient with minimal waste, though slight refinement could improve flow.

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

Completeness3/5

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

Given 2 parameters with 0% schema coverage and no annotations or output schema, the description is moderately complete. It covers the basic action and overwrite behavior but lacks details on prerequisites, error cases, or what 'saving' entails (e.g., storage location, format). For a mutation tool with no structured support, it should provide more context to be fully adequate.

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

Parameters4/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 adds meaning by explaining that 'session_id' is for the session and 'label' is a name for the saved trace, which clarifies their roles beyond the schema's basic titles. However, it doesn't specify format constraints (e.g., label length) or examples, leaving some ambiguity.

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 the action ('Save') and resource ('current trace log'), specifying it's saved under a label. It distinguishes from siblings like 'get_trace' (retrieves) and 'diff_trace' (compares), but doesn't explicitly contrast with all sibling tools. The purpose is specific but could be more differentiated from tools like 'save_context' or 'export_session'.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an active trace), exclusions, or comparisons to sibling tools like 'save_context' or 'export_session'. Usage is implied only by the action described, with no explicit context or alternatives provided.

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/LabGuy94/MCPEmulate'

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