Skip to main content
Glama

dsh_read_session

Read the recent visible conversation of a session, including user prompts, assistant replies, and tool names, to review or debug an agent run.

Instructions

Read the recent visible conversation (user prompts and assistant replies, with tool names) of one session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lastNoHow many recent messages
session_idYesSession id, e.g. session-…

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.4

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses content scope ('visible' conversation, includes tool names) without auth, error, or truncation behavior beyond the word 'recent'.

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 with no redundant clauses; the resource and its contents are stated immediately.

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 low-risk read tool with no annotations and no output schema, the description adequately conveys the shape of the return (prompts, replies, tool names) and the recency scoping. Only error/empty-session behavior is left unstated.

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 coverage is 100%, so both parameters are already documented. The description's 'recent' aligns with the `last` default but adds no format, ordering, or edge-case semantics beyond the schema.

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?

Specific verb (read) and resource (recent visible conversation of one session), with the returned content enumerated (user prompts, assistant replies, tool names). It is clearly not the same as dsh_list_sessions or dsh_session_activity, but it never explicitly contrasts itself with those siblings.

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 statement, no mention of alternatives such as dsh_session_activity or dsh_status, and no preconditions (e.g., must the session exist or be active). The agent must infer the use case from the word 'conversation' alone.

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