Skip to main content
Glama

session_interrupt

Destructive

Interrupt a running 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": {
      "workspaceSlug": "<workspaceSlug>",
      "sessionId": "<sessionId>"
    },
    "name": "session_interrupt"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the agent knows this mutates state; the description adds nothing on top of that. For a destructive operation it should say what happens to in-flight work, whether partial output is preserved, whether the session can be resumed, and whether it must be running for the call to succeed. No contradiction with annotations, but the description is nearly redundant with them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and contains no filler, which is good. But the brevity here reflects under-specification rather than disciplined concision — there is room for one clarifying clause without bloat.

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 destructive, non-idempotent-looking control operation with no output schema and zero parameter documentation, four words are insufficient. An agent cannot tell what state the session ends in, what the call returns, or how to recover, all of which matter more here than for a read tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both required parameters, so the description carries the full burden and provides nothing about sessionId or workspaceSlug — not even format, source, or scoping meaning. The schema only enforces minLength on sessionId, so an agent gets no help on what a valid identifier looks like.

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

Purpose3/5

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

"Interrupt a running session" names a concrete verb and resource, so the basic action is graspable. However, it gives no signal distinguishing it from adjacent siblings such as session_delete, session_update, or session_message_create, leaving the agent to infer that 'interrupt' means stopping in-flight execution rather than removing or mutating the session.

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?

There is no when-to-use guidance, no prerequisite conditions, and no mention of an alternative tool for stopping or cancelling work. The agent must guess whether interruption is the right lever versus deletion or waiting for completion.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.