Skip to main content
Glama

Stop a live session

stop_session

Asks the Nod to leave its room now, waits a few seconds for it to go, and returns the final state and cost.

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": {
      "id": "<id>"
    },
    "name": "stop_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault
stateYes
messageYes
warningYes
end_reasonYes
session_idYes
nod_has_spokenYes
charged_micro_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / nod_has_spoken
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "const": "unknown",
      +      "type": "string"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / warning
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "session_id",
      -  "state",
      -  "end_reason",
      -  "message",
      -  "charged_micro_usd"
      -]New value: +[
      +  "session_id",
      +  "state",
      +  "end_reason",
      +  "message",
      +  "charged_micro_usd",
      +  "nod_has_spoken",
      +  "warning"
      +]
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world operation, so the bar is lower. The description still earns credit by disclosing the asynchronous wait ('waits a few seconds for it to go') and the return of final state and cost, which an agent cannot get from the annotations alone.

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?

One sentence, front-loaded with the action, then the timing behavior, then the return value. Nothing is redundant or padded.

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?

An output schema exists, so return values need not be spelled out, and the description is adequate for a one-parameter tool. However, it omits what happens on an already-stopped or unknown session and leaves the meaning of 'id' unstated, which matters for a mutating call.

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

Parameters2/5

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

Schema description coverage is 0% for the single required 'id', and the description never says whether that id refers to the session or the Nod. The phrase 'the Nod' hints at the subject but does not resolve the ambiguity that the bare UUID parameter creates.

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-and-resource ('Asks the Nod to leave its room') with the effect of terminating a live session, which lets an agent distinguish it from get_session and start_session. It stops short of naming a sibling explicitly, so it is clear but not maximally differentiated.

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?

Usage is only implied: an agent can infer this is the teardown counterpart to start_session, but nothing states when to prefer it over delete_nod, or what to do if the session is already ended. No prerequisites or exclusions are given.

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