Skip to main content
Glama

wait_for_target_stop

Waits for an asynchronous GDB target-stop event so debuggers can pause until the embedded target halts before inspecting state or continuing.

Instructions

Wait for an asynchronous GDB target-stop event.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wait_for_target_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeoutNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing: it does not say whether the call blocks indefinitely, what happens when the timeout elapses (error, empty result, partial state), or whether it must follow resume_target. "Asynchronous" is the only behavioral hint and it is left unelaborated.

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?

A single front-loaded sentence with no filler, which is appropriate for a narrow operation. It is not padded, but its brevity reflects under-specification rather than disciplined economy.

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

Completeness2/5

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

No annotations and no output schema, so the description is the only source of behavioral information, and it omits the two things an agent needs: what a successful wait returns and how a timeout manifests. For a blocking primitive in a debugger-control toolset, that is a substantial gap.

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

Parameters3/5

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

Schema description coverage is 0%, but there is only one optional parameter (timeout, default 30), which limits the damage. The description never mentions the timeout at all, so it adds no meaning beyond the schema's title and default; the agent gets units and semantics of the timeout only from the bare schema.

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?

States a specific verb and resource: "Wait for an asynchronous GDB target-stop event." The GDB context and the word "asynchronous" make the operation recognizable, though it never distinguishes itself from adjacent tools like get_target_state or get_target_info, which an agent could reasonably confuse it with.

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 when-to-use or when-not-to-use guidance is given, and no alternative is named. The agent must infer from the tool name alone that this is the blocking counterpart to polling get_target_state, which is exactly the kind of routing decision the description should settle.

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