Skip to main content
Glama

Report External GDB Activity from Codex

debug_bridge_report
Idempotent

Report externally executed GDB commands, results, or observed states as Session events. Shares debug progress with observers without executing commands or interrupting GDB.

Instructions

Report actual externally executed GDB commands, results, or observed states as Codex reports, not a complete GDB audit. Publishes only independent Session events visible in attach/events; never executes commands, forwards RSP, verifies target state, or renews the heartbeat. Omit raw RSP and secrets. Reporting failure must not interrupt GDB: continue debugging; renewal is independent of reporting. Sequence increases per bridge (gaps allowed); retry only the latest identical report.

Input Schema

NameRequiredDescriptionDefault
kindYesActual command executed externally, its result, or observed debugger state. This never changes bridge state.
textYesNonempty UTF-8 text, at most 4096 bytes. Select/redact before reporting: no raw RSP, credentials, or connection descriptors. Visible to all Session observers.
ownerYesSecret management capability, 32..128 characters; distinct from the generated TCP connection token.
sequenceYesIncreasing per-bridge sequence, 1..9007199254740991. Gaps are allowed; latest exact retry is deduplicated.
bridge_idYesOpaque bridge_id returned by debug_bridge_start; not a Session reference.

Output Schema

NameRequiredDescriptionDefault
sequenceYes
bridge_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

A4.4/5.0
Behavior5/5

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

The description adds substantial behavior beyond the annotations: it publishes only independent Session events visible in attach/events, reporting failure must not interrupt GDB, and renewal is independent of reporting. It also discloses sequence-gap and retry semantics plus redaction requirements, which are rich operational details for a mutation-like reporting 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?

The key purpose is front-loaded and the paragraph contains no filler, with each clause carrying operational guidance. It is dense and could be better structured, and some sequence/redaction guidance overlaps the schema, but overall it is appropriately sized.

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?

With an output schema and fully documented input schema, the description supplies the remaining critical context: scope boundaries, failure isolation, retry behavior, redaction, and non-interference with debugging. Nothing essential for correct invocation appears to be missing.

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 already 100%, including sequence gaps, deduplication, redaction, and bridge_id meaning. The description repeats sequence/retry and redaction guidance but adds little new per-parameter meaning beyond what the schema already provides, so the baseline 3 is appropriate.

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 gives a specific verb and resource: report externally executed GDB commands/results/states as Codex reports. It explicitly distinguishes this from a complete audit, event execution, and heartbeat renewal, so an agent can tell it apart from debug_command, debug_events, and debug_bridge_renew.

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?

It clearly states the reporting context and excludes command execution, RSP forwarding, target verification, and heartbeat renewal. It also defines failure behavior, but does not explicitly name the sibling tools to use for those excluded tasks, so it falls short of fully explicit alternatives.

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