Skip to main content
Glama

set_exception_breakpoints

Configure exception breakpoints for an active debug session so the debugger pauses on selected exception filters, such as uncaught or user-unhandled exceptions.

Instructions

Configure exception breakpoints for an active debug session.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filters": "<filters>"
    },
    "name": "set_exception_breakpoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
filtersYesException filter IDs to enable (e.g. ['uncaughtExceptions', 'userUnhandledExceptions'])
sessionIdNoSession ID (omit if only one session is active)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.19

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It does not say whether the supplied filters replace or augment existing exception breakpoints, whether the session must be paused, or what happens when no session is active.

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?

A single efficient sentence with the object of the action and its scope front-loaded, no filler. It is arguably too terse rather than padded, which is a completeness issue rather than a structure one.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation tool with no annotations and no output schema, the description should at minimum cover replace-vs-add semantics and failure behavior when no session exists. Neither is present, leaving the agent to guess at the effect of the call.

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%, with both 'filters' and 'sessionId' documented in the schema itself, including example filter IDs and the omit-if-single-session rule. The description adds no meaning beyond that, so the 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: 'Configure exception breakpoints' for 'an active debug session'. This is meaningfully narrower than the sibling set_breakpoints because it names the exception-filter domain, though it never explicitly contrasts the two.

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?

Only an implied precondition ('for an active debug session') is given. There is no statement of when to prefer this over set_breakpoints, whether it must be called before or after launch, or what to do if the session is not running.

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