Skip to main content
Glama

Pause, resume or stop a stream subscription

control_stream_subscription
Destructive

Requests pause, resume or stop of one subscription using the bounded quiescence CAS API. First get_stream kind quiescence and use its version as expected_version; the browser reads and binds this version during approval. There is no fallback to the legacy unfenced actions. Returns the new bounded state and version. Stop does not mean drained: get_stream quiescence until quiescent is true. A stale version is refused. Changes ongoing acquisition, so the browser requires the person's approval.

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": {
      "subscription_id": "<subscription_id>",
      "action": "<action>"
    },
    "name": "control_stream_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
subscription_idYes
expected_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=false and openWorld=true, and the description adds substantial non-obvious behavior on top: the CAS version is bound during human approval, a stale version is refused, and 'stop does not mean drained' so get_stream must be polled until quiescent. It stops short of saying whether pause/resume are reversible or what the returned bounded state contains beyond state plus version.

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?

Front-loaded with the action and mechanism, followed by the version prerequisite, the failure mode, the stop caveat and the approval requirement. Every sentence carries distinct operational information with no filler, despite dense domain jargon.

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 destructive mutation with no output schema, the description covers the return value ('new bounded state and version'), the auth/approval requirement, and the correct follow-up procedure. The remaining gap is that the resulting state transitions and any side effects on ongoing acquisition are described only indirectly.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry the parameter burden, and it does meaningfully: it explains that expected_version must be sourced from get_stream quiescence and that the browser binds it, and it enumerates the three actions semantically. subscription_id's UUID form and the stale-version failure mode are left to the schema and inference respectively.

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?

The description opens with a specific verb and resource ('Requests pause, resume or stop of one subscription') and names the mechanism ('bounded quiescence CAS API'). An agent can immediately tell this is a lifecycle-control mutation on a single subscription, distinct from state-reading siblings like get_stream.

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 an explicit prerequisite workflow: call get_stream for kind quiescence first and pass that version as expected_version. It also rules out an alternative path ('no fallback to the legacy unfenced actions') and explains the follow-up needed after stop. It does not, however, say when to prefer pause versus stop, or when this tool should not be used at all.

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.

Resources