Skip to main content
Glama

Protocol.Stop

protocol.stop

Stop a protocol session (always safe to call): stops streaming, saves the block-annotated recording, advances the assignment when the scheduler reached its natural end, and disconnects the device (best-effort — a failed disconnect is reported, never raised).

Input Schema

NameRequiredDescriptionDefault
session_idYesThe deploy session to stop.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the full behavioral sequence: streaming is stopped, a block-annotated recording is saved, the assignment is conditionally advanced only when the scheduler reached its natural end, and device disconnect is best-effort with failures reported rather than raised. 'Always safe to call' corroborates destructiveHint=false without contradicting it.

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 whose every clause carries distinct information: the action, the safety note, and the four sequential effects. The parenthetical qualifier on disconnect is placed exactly where it matters.

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

Completeness5/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 described, and annotations already cover the safety profile. The description supplies the remaining operational picture — what state changes and what is persisted — leaving no material gap for an agent calling this tool.

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 description coverage is 100%, so session_id is already documented as 'The deploy session to stop.' The description adds no further parameter meaning (no format, no source of the id), so the baseline 3 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?

States a specific verb and resource ('Stop a protocol session') and immediately enumerates the concrete effects (stops streaming, saves recording, advances assignment, disconnects device). An agent can distinguish this from protocol.pause/protocol.resume because the side-effect list describes a terminal teardown rather than a temporary halt.

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?

The phrase 'always safe to call' gives some usage context, but the description never says when to choose this over the sibling protocol.pause or stream.stop, nor does it state prerequisites (e.g., must a session be active). Usage is implied rather than explicit.

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.