Skip to main content
Glama

mesh_recall

Search the mesh's shared memory for semantically relevant chunks other agents deposited. Call it to check prior work or context before starting a task.

Instructions

Query the mesh's shared memory (mcl-rag, a realm-bound RAG service) for anything relevant to query_text -- semantic retrieval, not keyword match. Auto-discovers which realm mcl-rag is currently advertised under, then calls its answer_query capability. Returns whatever chunks other agents (or you, earlier) deposited via mesh_remember that are semantically close to the query, each with a similarity score, source_path, and chunk metadata. Empty results mean nothing relevant has been deposited yet, not an error. Not automatic -- call this deliberately when you actually want to check shared memory, e.g. early in a session working on a repo others may have touched.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_kNoMax results (default 10).
query_textYesWhat to search for, in natural language.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.37.0
    • removedInput schema / properties / host
      Removed value: -{
      -  "description": "Station to connect through for both the discovery lookup and the call, \"host[:port]\". Defaults to station-de-frankfurt.macula.io:4433.",
      -  "type": "string"
      -}
  2. First observedv0.28.7

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so richly: it discloses auto-discovery of mcl-rag's advertised realm, the underlying answer_query call, the return shape (chunks with similarity score, source_path, chunk metadata), and that empty results are not an error. That is exactly the behavioral context an agent needs.

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?

Front-loaded with the core action and qualifier ('semantic retrieval, not keyword match'), then builds out behavior. It is longer than most definitions, but nearly every sentence adds distinct value (realm discovery, return shape, empty result meaning, invocation timing).

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?

No output schema exists, yet the return values are described in-detail, and empty-result semantics plus the auto-discovery mechanism are covered. Nothing an agent needs to call this correctly is missing.

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 coverage is 100%, so both query_text and top_k are already documented by the schema. The description adds useful framing of query_text as a semantic query rather than a keyword string, but adds nothing for top_k, so the baseline 3 holds.

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 (Query) and resource (mesh's shared memory / mcl-rag RAG service), and sharpens it by contrasting semantic retrieval against keyword match. It names mesh_remember as the deposit counterpart, letting an agent place it against siblings without opening any schema.

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?

Explicitly says 'Not automatic -- call this deliberately when you actually want to check shared memory' and gives a concrete trigger ('early in a session working on a repo others may have touched'). This supplies the when-to-use and the deliberate-invocation condition rather than leaving it to inference.

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