Skip to main content
Glama

read_capture

Read a PreCompact capture to recover context lost during mid-session compaction. Choose from summary, structured, or raw modes to match your need.

Instructions

Read a PreCompact capture by ID. Use this to recover context that was lost during mid-session compaction. Three modes control token cost: 'summary' (one paragraph, cheap), 'structured' (decisions/loops/warnings, moderate), 'raw' (full transcript excerpt, expensive — only when summary or structured is insufficient). Start with the lightest mode that answers your question.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCapture ID from list_captures (e.g., 'precompact-abc123-001')
modeNoReading mode. 'summary': one-paragraph overview. 'structured': decisions, open loops, warnings, context shifts. 'raw': full transcript excerpt.structured
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses three modes with token cost implications and recommends starting with lighter modes. Does not mention read-only nature explicitly, but it's implied by 'Read'. No contradictions.

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?

Two sentences, both front-loaded with essential information: purpose + use case in first, modes + guidance in second. No filler.

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?

Covers purpose, usage context, mode selection, and token cost. Lacks description of output format (e.g., whether it returns text/JSON), but given no output schema, the modes imply the output type. Nearly complete.

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

Parameters5/5

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

Schema coverage is 100%, but description adds significant value: elaborates on mode options with token cost and usage strategy, and clarifies id parameter source ('from list_captures').

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?

Description clearly states 'Read a PreCompact capture by ID' and provides the specific use case 'recover context that was lost during mid-session compaction', distinguishing it from siblings like list_captures and capture_now.

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?

Explicitly says when to use (recover lost context) and provides mode guidance ('Start with the lightest mode that answers your question'). Lacks explicit 'when not to use' or sibling alternatives, but the guidance is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Skitchy/rekindle'

If you have feedback or need assistance with the MCP directory API, please join our Discord server