Skip to main content
Glama

set_event_action

Assign a TRACE32 command to run automatically when a debug event such as break, go, reset, or power occurs. Enables automated responses like running scripts or collecting trace data on breakpoints.

Instructions

Set a command to execute when a specific event occurs.

Allows automated responses to debugger events (e.g., run a script when target halts, collect trace data on breakpoint hit).

Args: event: Event type — "break", "go", "reset", "power" command: TRACE32 command to execute (e.g., "DO my_script.cmm", "Var.view myVar", "Trace.List")

Returns: Confirmation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventYes
commandYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Annotations are absent, so the description bears full responsibility for behavioral disclosure. It lists event types and command format, but does not state effects like overwriting previous actions, required permissions, error behavior for invalid commands, or side effects on debugging state. The behavior beyond setting is largely opaque.

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 succinct, around 6 lines, with structured sections (description, args, returns). It avoids redundancy. However, the returns section is minimal ('Confirmation') and could be more descriptive without adding length. Overall efficient but not perfectly compact.

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?

Given the tool's simplicity (2 parameters, no nested objects), the description covers the main purpose, event options, and command format. The output schema exists but is not detailed in description; 'Confirmation' suffices. Missing prerequisites or error handling, but for a straightforward action tool, it is largely complete.

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?

The input schema has 0% description coverage, leaving descriptions empty. The tool description compensates excellently by explicitly listing valid event values ('break', 'go', 'reset', 'power') and providing command examples. This adds critical meaning beyond the bare schema, making parameter semantics clear.

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 sets a command to execute on a specific event, with verb 'Set' and resources 'event' and 'command'. It provides examples like 'run a script when target halts'. However, it does not explicitly distinguish from sibling tools that also handle events (e.g., enable_event_notifications), though the purpose is generally clear.

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 automating responses to debugger events, giving examples for break, go, reset, power events. It does not explicitly state when not to use this tool or compare it to alternatives like set_action_breakpoint or run_cmm_script. The context is present but lacks explicit exclusions or guidance for sibling differentiation.

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