Skip to main content
Glama
drvcvt
by drvcvt

debug_get_threads

List every thread in an active debug session to view its current status and identify running, stopped, or blocked threads.

Instructions

List all threads in the debugged process with their status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesDebug session ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. 'List' implies a read-only operation and 'with their status' hints at the return content, but it does not mention session requirements, error behavior, or cost/scale caveats. This is adequate but not detailed.

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 one short sentence with no filler. The core action and result are front-loaded and every word contributes to meaning.

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?

For a one-parameter read-only listing tool, the description is nearly complete: it names the resource, scope, and status output. The only gaps are optional details like output format or failure conditions, which are less critical given the schema and simple operation.

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 100% and the single required parameter (session_id) is already documented as 'Debug session ID'. The description adds no param-level detail, so the schema does the heavy lifting; baseline 3 applies.

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 uses a specific verb ('List') and identifies the exact resource ('all threads in the debugged process') plus the key output attribute ('with their status'). This clearly differentiates it from sibling debug tools like debug_get_registers or debug_get_backtrace.

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?

The description gives no guidance on when to choose this over alternatives or what prerequisite conditions apply (e.g., an attached/running debug session). It neither names siblings nor states exclusions, so an agent must infer usage from the tool name alone.

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