Skip to main content
Glama

list_blocked_sessions

Lists sessions currently blocked by another session, showing the blocker SID, username, program, and the wait event being waited on.

Instructions

List sessions currently blocked by another session, with the blocker sid/username/program and the wait event being waited on.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.3

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses the shape of the result (blocker sid/username/program plus wait event), which acts as informal output documentation, but says nothing about whether the call is read-only, its cost, or any limits.

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?

A single front-loaded sentence that leads with the verb and scope and appends the returned detail. Every clause earns its place with no redundancy.

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?

With no output schema and no annotations, the description covers the essential contract for a parameterless read: what it lists and what fields come back. It is nearly complete for this complexity level, missing only explicit read-only confirmation and any ordering/pagination note.

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 takes zero parameters, so the baseline is 4; there is nothing for the description to disambiguate. The schema is an empty object and no additional parameter meaning is needed.

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+resource ('List sessions currently blocked by another session') and enumerates the returned fields (blocker sid/username/program, wait event). It is clearly distinguishable from list_locks and get_wait_events by focusing on the blocked/blocker pairing, but it never names those siblings explicitly.

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 implied by 'currently blocked' – an agent can infer this is for diagnosing blocking chains – but there is no explicit statement of when to use this versus list_locks, list_active_sessions, or get_wait_events, and no exclusions or prerequisites.

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