Skip to main content
Glama

Stop a live analysis session

stop_live_session
DestructiveIdempotent

End a live analysis session when the user stops watching the symbol, so no more runs are charged. Safe to call twice.

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": {
      "session_id": "<session_id>"
    },
    "name": "stop_live_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYesSession id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

The description adds a genuinely new behavioral consequence beyond the annotations: stopping prevents further runs from being charged. "Safe to call twice" restates idempotentHint=true, so it is redundant, and with destructiveHint=true the description does not say what happens to the session's collected analysis data or in-flight runs.

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 covering purpose, trigger, and consequence with zero filler; nothing could be removed without losing information.

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 one-parameter termination tool with rich annotations and no output schema, the description covers what it does, when to call it, and the cost consequence. The remaining gap is the fate of the terminated session (whether it can be resumed), which would help an agent decide between stopping and leaving it idle.

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?

Only one parameter (session_id) exists and schema description coverage is 100%, so the schema already carries the meaning. The description adds nothing about the identifier or where to obtain it, which is acceptable but not additive, so the baseline 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?

"End a live analysis session" is a specific verb+resource and clearly separates it from siblings like stop_autopilot or stop_news_watch by naming the live analysis session domain. It stops short of explicitly naming the sibling it is not, so it lands at clear-but-not-differentiated-from-siblings.

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?

"When the user stops watching the symbol" gives an explicit trigger condition for invoking the tool, which is more than most definitions offer. There are no exclusions or named alternatives, so it does not reach the top band.

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.