Skip to main content
Glama

Skim spans

list_digests
Read-onlyIdempotent

List compact digests of archived conversation spans so you can skim recent context before opening full originals. Filter by run and cap results or tokens to stay within limits.

Instructions

Skim: a line per span. Use search_spans for words, read_span to open, no network. Returns <run>/<NNNN> <time> ~<n>t: <digest> lines.

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

Input Schema

NameRequiredDescriptionDefault
maxNoMax, e.g. 10. Capped at 100.
runNoRun, e.g. 20261015-120000. Omit for every run.
max_tokensNoToken cap, e.g. 400.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.15.0
    • changedInput schema / properties / max / description
      Previous value: -"Max rows, e.g. 10. Clamped to 1-100."New value: +"Max, e.g. 10. Capped at 100."
    • changedInput schema / properties / run / description
      Previous value: -"Span folder, e.g. 20261015-120000. Omit for every run."New value: +"Run, e.g. 20261015-120000. Omit for every run."
  2. Addedv0.12.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world semantics, so the description's main added value is the output line format ('<run>/<NNNN> <time> ~<n>t: <digest>') and the token cost indicator per line, which no structured field provides. It does not explain how max_tokens truncates the listing, which would have been the remaining behavioral gap.

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?

Very short and front-loaded: purpose first, alternatives second, return shape last. The telegraphic phrasing ('Use search_spans for words, read_span to open, no network') borders on cryptic but does not waste words.

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?

With no output schema, supplying the literal return-line template is exactly the missing piece an agent needs to parse results, and the alternatives are named. What remains unstated is truncation behavior under max_tokens and whether digests themselves are cut, a minor gap for a simple read-only lister.

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 description coverage is 100%, so all three parameters (max, run, max_tokens) are already documented with ranges, defaults, and examples. The description adds nothing about their interaction, such as whether max_tokens cuts lines or shortens digests, so it sits at the baseline.

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 conveys a compact per-span listing through 'a line per span' and the literal output template, which lets an agent infer this is a digest/overview lister. However 'Skim' is not a clear verb+resource statement, and the tool name 'list_digests' is only obliquely supported by '<digest>' in the format string. Purpose is inferable but not stated plainly.

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: use search_spans for word lookups, read_span to open a span, implying this is the cheap overview step before either. It lacks an explicit 'do not use this when...' exclusion, but the sibling routing is clear enough to select correctly.

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