Skip to main content
Glama

Control Debug Session

debug_control

Control an active Xojo debug session by stepping over, into, or out of code, resuming execution, or pausing; requires a running project with the IDE open.

Instructions

Controls the Xojo debug session. Actions: "step_over" (execute current line), "step_into" (step into method call), "step_out" (step out of current method), "resume" (continue running), "pause" (pause execution). Requires an active debug session started with run_project; without one the call fails. It returns once the IDE accepts the command and reports neither the new line nor variable values: the user sees those in the IDE's debugger. Needs the Xojo IDE running with the project open.

Input Schema

NameRequiredDescriptionDefault
actionYesDebug action to perform: "step_over", "step_into", "step_out", "resume", or "pause".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, destructive=false, idempotent=false): it discloses the failure mode without a session, the prerequisite IDE/project state, and critically that the call returns as soon as the IDE accepts the command without reporting the new line or variable values. That last point prevents an agent from expecting state back and re-polling, which is exactly the kind of context structured fields cannot convey.

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?

Front-loads the purpose, then actions, then prerequisites, then return behavior in a logical order with no filler. The inline action glosses partially duplicate the schema description, costing a little tightness, but each sentence carries information an agent needs.

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?

No output schema exists, and the description compensates by explicitly describing what the call does and does not return. With a single required parameter fully documented and a clear failure condition, an agent has everything needed to invoke this correctly.

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 coverage is 100% so the baseline is 3, but the description adds real semantics by glossing each action ("step_over" executes current line, "step_into" steps into a method call, "step_out" exits the current method, "resume" continues, "pause" halts). This resolves any ambiguity about what the terse enum values mean in practice.

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?

States a specific verb and resource ("Controls the Xojo debug session") and immediately enumerates the five concrete actions, so an agent knows exactly which operation family this is. It is clearly distinguishable from siblings like run_project or stop_project, which manipulate the session lifecycle rather than stepping through it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states the precondition: an active debug session started with run_project, and that the call fails without one. It also states the IDE must be running with the project open. The only gap is that it never names stop_project as the way to end a session, but the when-to-use condition is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.