Skip to main content
Glama

dsh_interrupt

Cancel the current in-progress turn of a session while keeping the conversation intact, so you can immediately dispatch a new task.

Instructions

中断会话当前正在进行的回合(ACP 原生 session/cancel,走的就是用户手动按停止那条路径)。会话本身保持完好,可以立刻继续派新任务。

Input Schema

NameRequiredDescriptionDefault
conversation_idYes会话 id,来自 dsh_start 或 dsh_list。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description must carry the full burden, and it does disclose key behavior: it is a cancellation of the current turn, it maps to the native session/cancel path, and the session survives intact and is immediately reusable. It does not say what happens to partial output or whether anything is lost, which keeps it short of a 5.

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 action, with the clarifying mechanism in parentheses and the non-destructive guarantee second. Nothing is wasted and nothing important is buried.

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 one-parameter mutation-style control tool with no annotations and no output schema, the description covers purpose, mechanism, and the critical after-state. The remaining gap is return behavior and what happens to in-flight partial results, which the agent might want to know.

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 conversation_id parameter is fully documented in the schema, including where its value comes from (dsh_start or dsh_list). The description adds no further parameter semantics, so the baseline of 3 for high schema coverage applies.

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

Purpose5/5

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

It states a specific verb and resource: interrupting the currently running turn of a session. It also identifies the underlying mechanism (ACP native session/cancel, the same path as pressing stop), which makes the purpose unambiguous and distinguishable from siblings like dsh_interject or dsh_takeover.

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?

It gives clear context for when to use the tool — when the session has a turn in progress that should be stopped — and states the post-condition that new tasks can be dispatched immediately. It does not, however, explicitly contrast this with dsh_interject or dsh_takeover, so the choice among interruption-style siblings still requires inference.

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