Skip to main content
Glama

list_breakpoints

Read-onlyIdempotent

Lists breakpoints currently registered in a debug session, grouped by source file, including regular, conditional, and logpoints so you can review active stops.

Instructions

List the breakpoints currently registered with a session, grouped by source file. Includes regular breakpoints, conditional breakpoints, and logpoints.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_breakpoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdNoSession ID (omit if only one session is active)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.19

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile needs no restating. The description adds useful content beyond that: the result covers three breakpoint kinds and is grouped by source file, which partially substitutes for the missing output schema. It does not cover ordering, empty results, or behavior when no session exists.

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?

Two sentences, zero filler, with the core action and scope front-loaded before the enumeration of breakpoint kinds. Nothing is repeated from the annotations or schema.

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 read-only listing tool with complete annotations and a fully documented optional parameter, this is nearly sufficient; the grouping and breakpoint-type notes stand in for the absent output schema. Only the multi-session/missing-session edge case and result ordering remain unaddressed.

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 single sessionId parameter is fully documented in the schema, including the "omit if only one session is active" fallback, and the description adds nothing further. With 100% schema coverage the schema does the work, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("List the breakpoints") and narrows scope to those "currently registered with a session, grouped by source file." The categorization of breakpoint types is a clear distinguishing detail, though it never names the sibling set_breakpoints as the mutation counterpart.

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?

Usage is only implied by the verb "List" and the read-only framing; there is no explicit statement of when to call this versus set_breakpoints or step, nor any precondition notes. An agent can infer this is the inspection counterpart to the setters, but the definition does not say so.

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