Skip to main content
Glama

Recall cached facts before retrieving

recall

Search the verification ledger and offloaded blobs for known facts and content prior to querying the codebase, saving tokens by retrieving only matching line ranges instead of full files.

Instructions

Search the verification ledger + offloaded blobs for already-known facts and content. CALL THIS BEFORE querying the codebase / context engine: a cached fact or a known blob line range avoids pulling whole files back into the window (token saver, esp. on hosts with their own retrieval like Augment). Semantic ranking when embeddings are configured, else lexical. Returns ledger hits + blob hits with line ranges (use with offload_fetch).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
sessionIdNo
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It reveals meaningful behavioral traits: semantic vs lexical ranking depending on embeddings, returning both ledger hits and blob hits with line ranges, and its link to offload_fetch. This adds valuable context beyond a simple search tool, even though it does not explicitly state 'read-only' or side effects.

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?

Three sentences with no filler, front-loaded with the primary action. The second sentence is slightly long with a parenthetical, but each sentence adds distinct value. It is concise without being sparse.

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 tool with no annotations and no output schema, the description covers the core functionality, use case, behavioral contingencies, and how to pair it with offload_fetch. The missing piece is parameter documentation, but overall it is complete enough for an agent to understand when and how to invoke the tool.

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 description coverage is 0%, so the description must compensate by explaining parameters. It only implicitly addresses the query (the search term) and mentions 'limit' indirectly via 'line ranges', but does not clarify the meaning of 'limit' or 'sessionId'. The description falls short of compensating for the complete lack of schema coverage.

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?

The description opens with a specific verb and resource: 'Search the verification ledger + offloaded blobs for already-known facts and content.' This clearly distinguishes it from siblings like ledger_query (which only queries the ledger) and offload_fetch (which fetches offloaded content), making the tool's purpose immediately clear.

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?

Explicit when-to-use guidance is present: 'CALL THIS BEFORE querying the codebase / context engine' and explains the benefit (avoids pulling whole files, token saver). It also mentions an alternative ('querying the codebase / context engine') and provides a concrete use case, making it highly actionable.

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/Ink01101011/compaction-mcp'

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