Skip to main content
Glama

pwndbg_threads

Displays all threads with their IDs, names, and current PC locations using pwndbg's enhanced formatting.

Instructions

List all threads with pwndbg's enhanced formatting.

pwndbg command: threads Source: pwndbg/commands/tls.py Category: Linux/libc/ELF

Shows threads with their IDs, names, and current PC locations using pwndbg's enhanced display format.

Args: session_id: The UUID of the session.

See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/tls/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It indicates a read-only operation (listing threads) and adds source code context and a URL. However, it does not disclose any side effects, permissions, or rate limits, but the behavior is straightforward.

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 description is relatively concise, with the purpose clearly stated in the first sentence. It includes relevant metadata (source, category, URL) without being overly verbose. A minor improvement would be to front-load the parameter description.

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 simple list tool with one parameter and an existing output schema, the description covers the main aspects: what the tool does, its command, source, and parameter. It does not mention pagination or limits, but given the tool's simplicity, it is fairly complete.

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?

The only parameter 'session_id' is described as 'The UUID of the session', which adds some meaning over the schema's title. However, with 0% schema description coverage, the description should provide more guidance on the format or constraints of the UUID. It does not fully compensate.

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 clearly states 'List all threads with pwndbg's enhanced formatting' and specifies the pwndbg command 'threads'. It details that threads are shown with IDs, names, and current PC locations, which distinguishes it from sibling tools like pwndbg_thread_list and pwndbg_thread_select.

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?

The description implies usage when you need to list threads in a session, but it does not explicitly mention when to use this tool versus alternatives like pwndbg_thread_list. No exclusions or alternative tool names are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Micro-Evaluation-Group/pwndbg-lldb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server