Skip to main content
Glama
drvcvt
by drvcvt

debug_list_sessions

List all active debug sessions to retrieve session IDs, targets, and PIDs. Use this to identify and manage ongoing debugging processes.

Instructions

List all active debug sessions with their session IDs, targets, and PIDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of disclosing behavior. It clearly indicates a read-only listing operation and specifies the scoping ('active') and returned fields. For a simple list tool, this is sufficient behavioral transparency, though it does not explicitly say it never mutates state.

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 a single, front-loaded sentence with no filler. Every word contributes meaning: it states the action, the scope, and the return content.

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?

For a zero-parameter list operation with no output schema, the description is complete. It tells the agent exactly what the tool returns and is unambiguous in context with the sibling tools.

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

Parameters4/5

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

The tool accepts zero parameters and the schema description coverage is 100%, so the schema already fully documents the parameter surface. The description has no need to add parameter semantics, matching the baseline for zero-parameter tools.

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 names a specific verb ('List'), a precise resource ('active debug sessions'), and the exact output fields ('session IDs, targets, and PIDs'). This clearly distinguishes it from sibling tools like esil_list_sessions and rzil_list_sessions.

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?

The phrase 'active debug sessions' gives clear context for when the tool should be used, and the mention of PIDs reinforces that this is for native debug sessions rather than ESIL/RZIL sessions. However, it does not explicitly name alternatives or state when not to use this tool.

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