Skip to main content
Glama
aiterm-mcp
by kitepon

agent_stop

Sends a standard stop key to a chosen session and its downstream callers to interrupt active terminal work; the send result does not prove termination.

Instructions

指定sessionとその呼出先へ末端から通常の停止キーを送る。sentはキー送信結果であり終了の証明ではない。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "agent_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
remoteNo
session_idNo
pause_goalsNo
session_idsNo

Output Schema

NameRequiredDescriptionDefault
statusYes
targetsYes
session_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.70.112

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely useful trait: the returned 'sent' is the key-send result and not proof of termination. That is valuable, but it omits whether the stop is graceful or destructive, whether it requires the agent to be running, what happens to the call destinations, and whether remote execution needs extra setup.

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?

Two tight sentences, with the action front-loaded and the caveat about 'sent' following. Nothing is wasted, though the second sentence could be more explicit that termination is not guaranteed and should be verified.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the 'sent' caveat is a good addition. However, for a four-parameter tool with a nested remote/SSH object and no annotations, the description leaves too much of the targeting and remote behavior unexplained.

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% and there are four parameters including a nested remote object with SSH pinning options. The description only loosely gestures at session targeting and 'call destinations' (hinting at session_ids), and says nothing about pause_goals or the remote/ssh configuration. It does not compensate for the coverage gap.

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 concrete verb and target: send the normal stop key to the given session and its call destinations, from the leaf end. That distinguishes it from raw key sending (pty_send) or a hard close (pty_close) without naming siblings explicitly. It is clear but does not explicitly contrast itself with the other agent_*/pty_* tools.

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 explicit when-to-use or when-not-to-use guidance, and no named alternative. An agent must infer that this is the graceful 'interrupt the agent' path versus pty_close, and must infer that it is appropriate when you want the session and its children to receive the stop key.

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