Skip to main content
Glama

lookup

Search across all projects and archive kinds to find existing memories before saving, turning duplicates into revisions. Narrow results by scope, free-text query, or exact key, with up to 25 matching items returned.

Instructions

Code lane: searches THOR's memory - every project, archive kinds (Report, Chunk) included - never scoped to only the current project. Call this before remember, so an existing near-duplicate becomes a revise instead. No arguments returns the catalogue of scopes; scope alone lists everything filed there; scope with query narrows a search to it; query alone searches everywhere; key answers only a Lookup item's own exact key (query and scope are then ignored). Read-only, and never an injection surface - nothing here reaches you unprompted. Replies with up to 25 matching lines (id, kind, text) and how many more exist, the catalogue, or a plain 'no matches'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoAn exact Lookup key. When given, this is the ONLY parameter used - `query` and `scope` are ignored - and only a real Lookup item can ever answer it.
queryNoFree-text search over every live item's text and tags, any project, archive kinds (Report/Chunk) included - never a Lookup item (those answer only to their own `key`, see below).
scopeNoOne scope, by name, as the catalogue lists it. On its own it opens that scope: every item filed under it, one line each, complete. Together with `query` it narrows that search to this scope alone.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.7/5.0
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 discloses read-only behavior ('Read-only'), non-interactivity ('nothing here reaches you unprompted'), matching limits ('up to 25 matching lines'), and the shape of replies ('id, kind, text' plus counts). It doesn't explicitly discuss rate limits or failure modes, but the behavioral surface is unusually well disclosed for a search tool.

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?

The description is dense but purposeful; nearly every clause earns its place and the critical scoping constraint and call-before-remember advice are front-loaded. It is a long paragraph, but the complexity of five invocation modes justifies the length. It could be slightly tightened, but there is no fluff.

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?

Given no output schema, the description covers what an agent needs: return shapes (catalogue, matches with id/kind/text, 'no matches'), limits, scope semantics, and exclusions (Lookup items are not queryable by free-text). The sibling context and missing output schema are fully compensated by the description's detail.

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 already 100%, but the description adds semantic interactions beyond the schema: 'key answers only a Lookup item's own exact key (query and scope are then ignored)' clarifies precedence, and the mode-by-mode breakdown (no args, scope alone, scope+query, query alone) explains what combination produces what result. This is meaningful added value over the schema alone.

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 strong verb-resource pair ('searches THOR's memory') and immediately distinguishes itself from a current-project-scoped search. It names the sibling 'search_code' implicitly by contrast ('never scoped to only the current project') and covers all invocation modes, so an agent knows exactly what this tool does.

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?

The description explicitly says 'Call this before remember, so an existing near-duplicate becomes a revise instead,' which gives a concrete when-to-use instruction and a direct alternative ('remember', 'revise'). It also enumerates the parameter-mode conditions (no arguments, scope alone, scope+query, query alone, key alone), leaving no ambiguity about which input combination to choose.

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

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/nworks3d/THOR-memory-bible-for-AI'

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