Skip to main content
Glama

trace_data_write

Configure data write trace on a variable to record every write access. Optionally filter by data value for targeted debugging.

Instructions

Configure data write trace on a variable.

Records every write access to the specified variable in the trace buffer. Optionally filters by data value.

Args: variable: Variable name or address (e.g., "flags[12]", "myVar", "0xD0000100") data_value: Optional filter — only trace writes matching this value (e.g., "0x33") data_width: Data width for value matching — "byte", "word", "long", "quad", "auto"

Returns: Confirmation of data write trace setup

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
variableYes
data_valueNo
data_widthNoauto

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description bears full responsibility. It clearly states the tool records every write access and optionally filters by value. However, it does not disclose potential limitations, side effects (e.g., buffer consumption), or interactions with other trace settings.

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 concise, with a clear purpose sentence followed by a structured bullet-like Args list. No extraneous information; every sentence adds value.

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

Completeness5/5

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

Given the tool's complexity (3 parameters, 1 required), the description covers all relevant aspects: purpose, parameter details, and return value. The presence of an output schema and the brief return description suffice for completeness.

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

Parameters5/5

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

Despite 0% schema description coverage, the description includes a detailed Args section for all three parameters, providing format examples and acceptable values (e.g., 'byte', 'word', 'long', 'quad', 'auto' for data_width). This fully compensates for the schema's lack of descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description explicitly states the tool configures a data write trace on a variable, recording every write access. It distinguishes from siblings like trace_data_read, trace_start, etc., by focusing specifically on write access and optional filtering.

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 implies usage for tracing variable writes with optional filtering but provides no explicit guidance on when to use this tool versus alternatives like trace_data_read or other trace tools. No exclusions or prerequisites are mentioned.

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/YangPan2020/debugforge'

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