Skip to main content
Glama

session_read

Reads a session’s status, outcome, incremental history, pending prompt, screen, and usage; use it to monitor progress or wait until a turn ends or changes.

Instructions

Read status, final outcome, incremental history, pending prompt, screen and usage.

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": "session_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNo
at_leafNo
wait_msNo
session_idYes
wait_untilNo
include_inline_imagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it omits the most consequential behavior: the presence of wait_ms and wait_until implies blocking/long-poll semantics that are never explained. It does add some value by naming the return facets (outcome, history, pending prompt, screen, usage) in the absence of an output schema, but it says nothing about side effects, whether a pending prompt is consumed, or payload size concerns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short fragment with zero padding, so it is certainly concise. But the noun-list structure is not front-loaded around a stated purpose, and it reads as a field inventory rather than a usable instruction.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter tool with no annotations, no output schema, and 0% schema description coverage, this is far too thin. The undefined waiting parameters and cursor semantics are the exact gaps that lead to incorrect invocation, and none of them are addressed.

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% across six parameters, so the description must compensate and largely does not. The phrase 'incremental history' loosely hints at the `after` cursor, but at_leaf, wait_ms, wait_until, include_inline_images, and session_id are given no meaning at all, leaving an agent to guess at the waiting and pagination semantics.

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 enumerates what is returned (status, final outcome, incremental history, pending prompt, screen, usage), which conveys that this is a read of a session's state. However, it is a bare content list rather than a stated purpose, and it gives no basis for distinguishing session_read from siblings like board_read or session_list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/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 mention of prerequisites, and no reference to alternatives such as session_list or board_read. An agent must infer entirely from the tool name and the read-verb that this is the status/inspection call.

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