Skip to main content
Glama

Read a live session

get_session
Read-only

Whether the Nod is still in the room, why it left, and what it cost once settled. nod_has_spoken says whether the Nod has actually made a sound in its room (true, false, or 'unknown' when the engine cannot say); warning says what to do when a visitor spoke and the Nod has stayed silent.

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": "get_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

C2.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful field semantics, including that nod_has_spoken may be true, false, or 'unknown' and that warning explains silence handling, but it does not cover permissions, errors, or broader session behavior.

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?

The description is two sentences, front-loaded around observable state, and has no obvious filler. The second sentence is dense with unexplained terms like 'room' and 'visitor', which slightly reduces clarity despite the brevity.

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 simple one-parameter read tool with an output schema and safety annotations, the description covers some return-field behavior. However, it omits the meaning of the required id and provides no usage context, so the definition is not fully self-contained.

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?

The sole required parameter is id with 0% schema description coverage, and the description never clarifies whether it is a session id or a Nod id. The tool name implies a session id, but the definition adds no explicit meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description frames the tool as reporting whether a 'Nod' remains in a room, why it left, and settled cost, but never plainly says it reads a stored session by id. The title supplies the core read purpose, while the body is heavily domain-specific, making the resource identity only inferable.

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?

No condition is given for when to use get_session versus siblings such as get_nod, start_session, or stop_session, and there are no prerequisites or exclusions. The only usage signal is the title phrase 'live session'.

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