Skip to main content
Glama
now-sdk-ext-mcp

now-sdk-ext-mcp

List Flow Debug Runs

list_flow_debug_sessions
Read-only

Lists open flow debug runs (paused, waiting, or running) newest first so you can find paused runs holding a flow context open and cancel them with debug_flow_cancel.

Instructions

List debug runs still open on the instance (paused, waiting or running), newest first. A run left paused holds a flow context open: find it here and end it with debug_flow_cancel.

Input Schema

NameRequiredDescriptionDefault
limitNoAt most this many. Default 50.
instanceNoThe ServiceNow instance auth alias to connect to. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable.
created_byNoOnly runs started by this user name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.5.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external reach are covered. The description adds meaningful behavior beyond that: it defines 'open' as paused, waiting, or running, specifies newest-first ordering, and warns that a paused run holds a flow context open. It still omits details like pagination behavior or whether stale runs are included.

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, front-loaded with the core purpose and scope. The second sentence adds an actionable follow-up without waste. Every sentence earns its place.

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 three optional parameters and no output schema, the description covers what is listed, ordering, and the consequence of paused runs. It does not describe the returned fields or pagination limits, but the schema's limit parameter partially compensates.

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 explains limit, instance, and created_by. The description does not add syntax, format, or default details beyond what the schema provides, making the baseline score appropriate.

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?

The description states a specific verb ('List') and resource ('debug runs still open on the instance'), and narrows the set with parenthetical states ('paused, waiting or running') plus ordering ('newest first'). It does not explicitly contrast with nearby siblings such as get_flow_context_status or list_transactions, so it falls short of the top score.

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 description gives a clear scenario: find a paused run here and end it with debug_flow_cancel. That names one alternative action, but it does not give explicit when-not-to-use guidance or suggest other tools for inspecting run details.

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

Deploy Server

Other Tools