Skip to main content
Glama

enable_trace

Start recording execution traces in CPU emulation sessions to analyze program behavior and debug code across multiple architectures.

Instructions

Enable execution tracing.

Clears any existing trace log and starts recording.

Args: session_id: The session ID. max_entries: Maximum trace entries to record (default 10000).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
max_entriesNo
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 key behavioral traits: it enables tracing, clears existing trace logs, and starts recording with a configurable maximum. However, it misses details like permissions needed, side effects on system performance, or what 'execution tracing' entails specifically.

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 appropriately sized and front-loaded: the first sentence states the purpose, followed by behavioral details and parameter explanations. Every sentence adds value without waste, making it efficient and well-structured.

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 no annotations, 0% schema coverage, and no output schema, the description is moderately complete. It covers purpose, behavior, and parameters, but lacks details on return values, error conditions, or integration with sibling tools, leaving gaps for a mutation tool.

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 identifying the session and 'max_entries' sets a limit on trace entries with a default. This clarifies beyond the bare schema, though it could detail format or constraints more.

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 tool's purpose with a specific verb ('Enable') and resource ('execution tracing'), and it distinguishes from sibling 'disable_trace' by implication. However, it doesn't explicitly differentiate from other debugging tools like 'save_trace' or 'get_trace', keeping it from a perfect score.

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 like 'disable_trace' or 'save_trace'. The description mentions clearing existing logs and starting recording, but lacks explicit context or prerequisites for usage.

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