Skip to main content
Glama

Probe Runtime Progress

debug_progress_probe
Destructive

Sample live targets across resume/pause intervals to tell apart no progress, same-frame movement, and busy loops when a single thread snapshot can't.

Instructions

Sample a live target across short resume/pause intervals to distinguish no observed progress, same-frame execution movement, and probable busy loops. Use it when a process appears hung but a single thread snapshot cannot distinguish blocking from spinning. Do not use it when resuming the target is unsafe; sampling perturbs scheduling and is not proof of application-level progress.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
samplesNoNumber of stopped runtime samples to collect across resume/pause intervals.
threadIdNoPreferred thread to sample; omit to follow the debugger-selected stopped thread.
sessionIdNoOptional DAP session ID. Omit to use the backward-compatible default session.
intervalMsNoApproximate execution interval between debugger samples.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
samplesYes
capturesYes
evidenceYes
intervalMsYes
limitationsYes
classificationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.18.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, and the description elaborates on the safety profile by warning that sampling perturbs scheduling and that results are not proof of application-level progress. This is valuable behavioral context beyond the annotations.

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?

Three sentences with no filler: the first states what the tool does, the second gives the trigger condition, and the third gives the exclusion and caveat. Every sentence earns its place.

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 probe tool with a rich output schema and annotations, the description covers what it does, when to use it, when not to, and its limitations. Nothing essential is missing for an agent to select and invoke it correctly.

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%, so the schema already documents samples, threadId, sessionId, and intervalMs. The description reinforces the meaning of 'samples' and 'intervalMs' through 'resume/pause intervals', but it does not add substantial parameter-level detail beyond the schema.

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 starts with a specific verb and resource ('Sample a live target') and states the diagnostic goal: distinguishing no observed progress, same-frame execution movement, and probable busy loops. It clearly separates this probe tool from snapshot/hang-analysis siblings by framing it as a resume/pause sampling technique.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit use case ('when a process appears hung but a single thread snapshot cannot distinguish blocking from spinning') and an explicit contraindication ('Do not use it when resuming the target is unsafe'). It also sets expectations that sampling perturbs scheduling and is not proof of progress.

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