Skip to main content
Glama

market_data_stream_unsubscribe

Cancel an active market data stream using its subscription ID to stop receiving live updates.

Instructions

Unsubscribe from a market data stream by subscription_id.

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>"
    },
    "name": "market_data_stream_unsubscribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
subscription_idYesSubscription ID returned from subscribe call

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and does not meet it. It says nothing about whether the cancellation is irreversible, whether it returns a confirmation, how it behaves when the subscription_id is unknown or already cancelled, or whether it affects other consumers of the same stream.

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 front-loaded sentence with no filler or redundant phrasing. It is efficient, though its brevity contributes to the behavioral gaps noted elsewhere rather than being a model of tight completeness.

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 terminal operation with no nested objects and no output schema, the definition is minimally sufficient: the agent knows what to call and what to pass. It is not sufficient on the mutation side, since nothing tells the agent what the call returns or what failure modes to expect.

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% and there is only one required parameter, whose meaning is already documented in the schema as 'Subscription ID returned from subscribe call'. The phrase 'by subscription_id' restates rather than extends that, so the schema does the heavy lifting and 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 pairs a specific verb ('Unsubscribe') with a specific resource ('market data stream') and names the keying parameter, so the agent can tell it apart from the many *_subscribe siblings without opening the schema. It stops short of explicitly stating how it differs from other unsubscribe variants (depth, tick-by-tick, realtime bars), which keeps it off a 5.

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 when-to-use guidance, no prerequisite stated (e.g., that a live subscription must exist), and no mention of alternatives such as listing subscriptions first or using the more specific stream-specific unsubscribe tools. Usage is only inferable from the tool name and the schema's note that the ID comes from a subscribe call.

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

Deploy Server

Other Tools