Skip to main content
Glama
cuemap-dev

CueMap MCP Server

Official
by cuemap-dev

cuemap_recall

Recall evidence from repository memory with natural language queries, returning source metadata and handles for deeper retrieval.

Instructions

Recall evidence for a focused question; follow up with narrower queries as needed. Returns engine JSON with project_id and memory_id handles, source metadata, and requested diagnostics in text and structuredContent. Use handles with cuemap_memory_get when the stored record is needed. Hybrid locally reranks lexical candidates. Start with a small limit and depth 1; enable reconstruction only when surrounding evidence is needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cuesNoNormally omit: CueMap generates cues from the query. Supply known tags only to deliberately narrow lexical/hybrid recall, e.g. type:conversation to search tagged conversations.
depthNoDepth of multi-hop recall. Default is 1.
limitNoOptional limit on the number of results to return. Default is 10.
queryYesThe natural language query to search the codebase memory for.
explainNoInclude explain component for debug information in results. Default is false.
projectsNoOptional list of project IDs to scope the search to. Provide multiple for cross-project recall. If not provided, searches the default project.
query_timeNoOptional timestamp or natural-language time anchor used by v0.7 temporal query intent.
trace_timingNoInclude v0.7 timing diagnostics in the response. Default is false.
parent_fusionNoParent fusion mode for chunk-parent reconstruction. Default is off.
preview_charsNoMaximum leading content length per hit in preview mode (100–2000 UTF-16 code units; default 200). Does not cap metadata or diagnostics. Ignored in full mode.
response_modeNoDefault full. Use preview for broad discovery to return only a leading excerpt per hit, with IDs and source metadata. Fetch promising stored memories with cuemap_memory_get; previews are not complete evidence.
semantic_modeNoQuery signal mode. lexical uses cue recall only, semantic uses vector candidate discovery, and hybrid reranks lexical candidates. Default is hybrid.
auto_reinforceNoAutomatically reinforce retrieved memories. Default is false.
expansion_depthNoNeighbor context expansion. 1 returns the matched chunk; values above 1 include nearby parent chunks or source-ordered context with radius expansion_depth - 1 when linkage exists. Default is 1.
query_embeddingNoOptional precomputed query vector. Use this when the application owns the embedding provider.
min_intersectionNoMinimum intersection count for retrieval. Default is 0.
evidence_coverageNoEvidence coverage mode for multi-evidence answers. Default is off.
cuebridge_gap_limitNoMaximum CueBridge gap expansions. Default is 6.
parent_fusion_limitNoCandidate limit for parent fusion. Default is 80.
ordered_max_sessionsNoMaximum sessions considered for ordered reconstruction. Default is 3.
disable_salience_biasNoDisable salience bias scoring. Default is false.
ordered_reconstructionNoOrdered session reconstruction mode. Default is off.
disable_alias_expansionNoDisable alias expansion during querying. Default is true.
evidence_coverage_limitNoResult scan limit for evidence coverage. Default is 100.
parent_fusion_min_chunksNoMinimum sibling chunks required for parent fusion. Default is 2.
ordered_session_scan_limitNoPer-session scan limit for ordered reconstruction. Default is 4096.
disable_cuebridge_artifactsNoDisable CueBridge artifact expansion. Default is false.
ordered_reconstruction_limitNoResult scan limit for ordered reconstruction. Default is 80.
evidence_coverage_max_sessionsNoMaximum sessions considered for evidence coverage. Default is 3.
evidence_coverage_session_scan_limitNoPer-session scan limit for evidence coverage. Default is 4096.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.4

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and mostly meets it: it specifies the return envelope (engine JSON with project_id/memory_id handles, source metadata, diagnostics in text and structuredContent) and the hybrid reranking behavior. It stops short of disclosing side effects such as auto_reinforce altering stored memory state, a notable gap for a tool that can mutate memory.

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?

Four sentences with no filler: purpose, output shape, sibling routing, and operational guidance each get roughly one sentence. The final sentence is slightly dense, packing three separate pieces of advice, but nothing is wasted.

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 30-parameter tool with no output schema and no annotations, the description covers the essentials: what it returns, how to follow up with cuemap_memory_get, and how to start with safe parameter values. Gaps are the auto_reinforce side effect and empty/error behavior, but the core call-and-follow-up flow is complete.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents all 30 parameters; the description adds cross-cutting guidance beyond it — small limit, depth 1, and enabling reconstruction only when surrounding evidence is needed — which maps onto limit, depth, and the reconstruction/fusion parameters. It does not explain how mode parameters interact, but the baseline is already satisfied by the schema.

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 and resource — 'Recall evidence for a focused question' — and distinguishes itself from the sibling cuemap_memory_get by describing the returned handles and how they are used downstream. The scope (focused recall with follow-up narrowing) is concrete enough that an agent can tell this from ingestion and artifact tools.

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 routes to cuemap_memory_get when the stored record is needed, naming the key sibling alternative. Operational starting points — 'Start with a small limit and depth 1; enable reconstruction only when surrounding evidence is needed' — give concrete parameter-level guidance. It does not, however, contrast with the wider sibling set (e.g., when to prefer ingestion or intent classification).

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