Skip to main content
Glama

session_stop

Stops the hosted process for a registered Agent Bridge session by ID, ending work on an opened or adopted session.

Instructions

写:停掉登记册会话的托管进程(hosted.stop)。

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": {
      "sessionId": "<sessionId>"
    },
    "name": "session_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdYesBridge 会话 ID(必须是本连接器登记册内的会话;session_adopt 是唯一接管入口)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It discloses that the operation is a write and terminates a hosted process, but says nothing about whether the session registration survives, whether the action is reversible, or what errors occur if the process is already stopped.

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?

A single short sentence with the write marker front-loaded and zero padding. It is efficient, though its terseness borders on under-specification for a mutating tool.

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?

For a one-parameter tool with a fully documented schema and no output schema, the description is minimally sufficient. However, for a process-terminating write with no annotations, the absence of any outcome or side-effect detail leaves a real gap.

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 coverage is 100% and the sessionId description already constrains input to sessions in this connector's registry and points at session_adopt as the adoption path. The tool description adds no further meaning, so the baseline of 3 applies.

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 names a specific verb and object ('停掉登记册会话的托管进程') and even cites the underlying operation (hosted.stop), which lets an agent separate it from archive/adopt siblings. It stops short of an explicit contrast with session_archive, so it is clear but not fully differentiated.

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?

The only usage signal is the '写' prefix marking it as a write operation. It never states when to prefer stop over session_archive or session_adopt, nor any precondition such as the hosted process actually running.

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