Skip to main content
Glama

trace_set_trigger

Configure a breakpoint to start, stop, or disable trace recording at a specified function or address.

Instructions

Set a trace trigger breakpoint.

Configures a breakpoint that controls trace recording start/stop.

Args: address: Function name, symbol, or address (e.g., "sieve", "0x80001000"). Supports symbol.EXIT(func) syntax for function exit triggers. trigger_type: "stop" — stop recording at this point (TraceTrigger) "enable" — enable recording at this point (TraceEnable) "disable" — disable recording at this point

Returns: Confirmation of trace trigger

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes
trigger_typeNostop

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It mentions setting a breakpoint that controls recording but does not disclose side effects, required permissions, or whether it is destructive. The behavior is moderately clear.

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 compact and well-structured with a clear summary, Args, and Returns sections. Every sentence adds value with no redundancy or wasted words.

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) and the presence of an output schema, the description is nearly complete. It covers purpose, parameter details, and return type. Minor omission: no mention of whether trace must already be configured.

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 description adds significant meaning beyond the input schema: it explains the address parameter can be a function name, symbol, or address with EXIT syntax, and details each trigger_type value ('stop', 'enable', 'disable'). This fully compensates for the 0% schema coverage.

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?

The description clearly states the verb 'Set' and resource 'trace trigger breakpoint', with an explanation of controlling trace recording start/stop. This distinguishes it from sibling trace tools like trace_start, trace_stop, and trace_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 explains the tool's function but does not provide explicit guidance on when to use it versus alternatives like trace_start or set_breakpoint. No usage context or exclusions are given.

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