Skip to main content
Glama

List archived spans

list_spans
Read-onlyIdempotent

Browse archived conversation spans locally without a search term. Lists runs with span counts newest first, or individual spans when a run is specified.

Instructions

Browse the span archive, no search term. Use search_spans for known text, read_span to open one. Local files, no network. Returns <run>: <n> spans per run, newest first, or a line per span given run.

Input Schema

NameRequiredDescriptionDefault
maxNoMax rows, e.g. 10. Clamped to 1-100.
runNoSpan folder, e.g. 20261015-120000. Omit to list runs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.0

TDQS

A4.6/5.0
Behavior4/5

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

Adds context beyond annotations: local files, no network access, newest-first ordering, and the two distinct return formats ('<run>: <n> spans' per run vs. a line per span given run). Annotations already cover the read-only/idempotent/non-destructive profile, so this is solid added value; only minor gaps like pagination/truncation behavior remain.

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?

Three tight sentences that front-load the purpose, then siblings, then environment and output shape. No filler; every clause carries routing or format information.

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 two-parameter read-only list tool with no output schema, the description supplies the essential output shape and environment context. It could mention what a span record contains or whether results are truncated at 'max', but coverage is otherwise strong.

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 baseline is 3, but the description adds meaning the schema lacks: omitting 'run' yields per-run summary counts, while supplying it yields per-span lines. That is real semantic value beyond the field descriptions.

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 ('Browse the span archive') plus a distinguishing scope condition ('no search term'), and explicitly names the sibling tools for other purposes. An agent can tell it apart from search_spans and read_span immediately.

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 routing: use search_spans for known text, read_span to open one, and this tool for browsing without a search term. Also clarifies the run parameter changes the output shape, so when/when-not is fully covered.

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