Skip to main content
Glama

List session transcripts

wiki_list_sources
Read-onlyIdempotent

List raw session transcript files by path, oldest first, optionally filtered by project name, to see which sessions exist before opening one.

Instructions

List raw session transcripts in raw/sessions/ (one markdown file per agent session), sorted by path, oldest first. Returns a JSON array of {path, project, date, filename, size_bytes}; project and date come from each file's frontmatter, so either can be empty. project is a case-sensitive substring match; omit it to list every session, and an unknown value returns an empty array. Read-only. Use it to see which sessions exist for a project, then open one with wiki_read_page. To find sessions by content, use wiki_search with include_raw=true instead.

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

Input Schema

NameRequiredDescriptionDefault
projectNoOptional substring of the project name, usually the workspace folder name (e.g. 'llm-wiki'). Omit to list every session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.3
    • changedInput schema / properties / project / description
      Previous value: -"Optional project slug to filter by."New value: +"Optional substring of the project name, usually the workspace folder name (e.g. 'llm-wiki'). Omit to list every session."
  2. First observedv2.0.2

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, but the description goes further: it discloses the return shape (JSON array of path, project, date, filename, size_bytes), the ordering guarantee, that project/date may be empty because they come from frontmatter, and that an unknown project yields an empty array. Since there is no output schema, this return-value disclosure is doing real work.

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?

Front-loaded with what it lists, then return shape, then edge-case behavior, then routing guidance. Every clause carries information; nothing is redundant filler.

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

Completeness5/5

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

Single optional parameter, no output schema, enrich with a precise description of the return payload, its ordering, and the empty-result case. Nothing needed to invoke it correctly appears to be missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds semantics the schema does not: the match is case-sensitive, and a non-matching value returns an empty array rather than erroring. With only one optional parameter, this is close to complete.

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

Purpose5/5

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

States a specific verb and resource ('List raw session transcripts in raw/sessions/'), the file format, and the sort order ('sorted by path, oldest first'). It is immediately distinguishable from wiki_search (content) and wiki_read_page (open one page).

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

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit sequencing guidance ('see which sessions exist for a project, then open one with wiki_read_page') and an alternative with a concrete condition ('To find sessions by content, use wiki_search with include_raw=true instead'). Both a when-to-use and a when-to-use-something-else are stated.

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