Skip to main content
Glama

get_gdb_event

Read one queued GDB asynchronous event, if available, so debugging workflows can retrieve target state updates with an optional timeout.

Instructions

Read one queued GDB asynchronous event, if available.

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": "get_gdb_event"
  }
}

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?

No annotations are supplied, so the description carries the full burden. It hints at non-blocking semantics via 'if available' and at single-item consumption via 'one queued', but does not state whether the event is removed from the queue, whether the call blocks up to the timeout, or whether an empty queue yields null, an empty result, or an error — all critical for a polling tool.

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 or repetition, and the qualifier 'if available' is placed where it matters. It is efficient, though it borders on under-specified for a tool with an undocumented polling parameter.

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?

The tool is simple (one optional param), but there is no output schema and no annotations, so the description is the only source of truth and it omits both the timeout semantics and any sense of what an 'event' looks like when returned. For a queue-draining read, that leaves the agent guessing on return shape and empty-result behavior.

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

Parameters2/5

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

Schema description coverage is 0% and the single parameter (timeout, default 0.1) is never mentioned in the description. An agent gets no confirmation of units (seconds vs milliseconds), whether 0 means non-blocking, or what a larger value does — the schema alone leaves these ambiguous.

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 gives a specific verb ('Read') and a specific resource ('one queued GDB asynchronous event'), which is materially different from siblings like get_gdb_status or get_gdb_info that report state rather than drain an event queue. It stops short of naming a sibling or stating the distinction explicitly, so it is clear but not fully differentiated.

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?

'if available' plus a default timeout of 0.1 implies a polling pattern for asynchronous notifications after issuing commands, so the usage context is inferable. However, it never says when to prefer this over get_gdb_status, whether it should be polled in a loop, or what to do when no event is pending.

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