Skip to main content
Glama

session_md

Renders the evidence timeline of SAY blocks and attached events, capped at about 80k characters. For long sessions, use segment lists and event lookups first to keep raw precision.

Instructions

The rendered evidence timeline (SAY blocks + attached events). Capped at ~80k chars — for long sessions prefer list_segments/segment_detail first, then events_around for raw precision

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "session_md"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.7.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / offset
      Added value: +{
      +  "type": "number"
      +}
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose a real constraint — the ~80k character cap — which is valuable and non-obvious. However, it omits other behavioral facts an agent needs: whether the call is read-only, what happens at the cap (truncation vs. error), and how the offset relates to the cap.

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?

Two compact sentences, front-loaded with what the tool returns and immediately followed by the fallback strategy. Almost no waste. The phrasing is slightly compressed to the point of being cryptic ('SAY blocks + attached events') for an agent unfamiliar with the domain.

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?

With no output schema and no annotations, the description does well to describe the return shape and the size cap. It is still incomplete for a tool whose only parameter is undocumented and whose read-only/safety profile is unstated. Adequate for a simple read tool, but not fully self-sufficient.

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 coverage is 0% for the single 'offset' parameter, so the description must supply its meaning. The cap mention indirectly hints that offset exists to page past the ~80k limit, but it never states that offset is a character or block position, what units it uses, or how it interacts with the cap. The hint is useful but leaves the parameter effectively undocumented.

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 definition states concretely what the tool returns: a rendered evidence timeline composed of SAY blocks plus attached events. The name 'session_md' is opaque on its own, but the description compensates by naming the resource and its content. It stops short of a crisp action verb, so it is clear but not maximally distinguishable from siblings like list_says or segment_detail.

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?

It explicitly routes the agent away from this tool for long sessions, naming list_segments/segment_detail as the first step and events_around for raw precision. That is genuine when-to-use guidance with named alternatives. The gap is that it never states the positive condition for choosing session_md itself, leaving the agent to infer 'short sessions / want the rendered view'.

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