Skip to main content
Glama
udjin-labs
by udjin-labs

mnemostack_answer

Answer a natural-language question using retrieved memories, returning a concise synthesized answer with confidence and sources. Supports point-in-time recall and payload filters.

Instructions

Answer a question using retrieved memories.

Read-only, no side effects, no authentication required. Use this when you want a concise factual answer synthesized from memory search results instead of the raw matches returned by mnemostack_search. Returns a JSON object with ok, query, answer text, confidence (0.0-1.0), sources, notes (the AUTHORITATIVE routine signals — e.g. temporal:no_parse on any query without a date; NOT a fault), degraded (components that actually fell back, plus a deprecated back-compat duplicate of the routine tags until the next major), fallback_recommended, tokens_estimate (estimated text tokens of the context memories), tokens_used (LLM-provider-reported usage for the answer call; null when unreported), and error. Stale facts are hidden by default; use include_invalidated or as_of to see them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
as_ofNoPoint-in-time recall (ISO-8601); same contract as mnemostack_search.
limitNoMaximum number of results to return (default 10)
queryYesNatural language question or keyword to search memories for
filtersNoPayload filters applied inside every retriever (exact match or gte/lte ranges); the answer is generated only from memories inside the filtered scope.
token_budgetNoHard cap on the total (estimated) text tokens of the memories fed to the answer LLM (same contract as mnemostack_search). Unset uses the server-wide default.
include_invalidatedNoInclude facts marked stale (default false; same as mnemostack_search).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations provided, the description fully carries the burden. It states 'Read-only, no side effects, no authentication required,' and thoroughly describes return fields including the 'notes' routine signals, 'degraded' field behavior, and null token_used cases. It also discloses the default hiding of stale facts, which is a behavioral trait beyond what the schema conveys.

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 front-loaded with the purpose and usage, followed by a detailed return-value specification. It is long but every sentence carries substantive information; the use of parentheses and semicolons keeps it structured. Not as concise as the ideal two-sentence example, but appropriately sized for the tool's complexity.

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?

The description is comprehensive: it explains the tool's purpose, usage context, return schema, safety profile, and edge cases (e.g., stale facts, degraded flags, token reporting). Given the tool's complexity and the absence of annotations, this description covers all necessary context for an agent to invoke it correctly.

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 baseline is 3. The description adds value by referencing 'same contract as mnemostack_search' for as_of and token_budget, clarifying filter behavior, and noting the default for include_invalidated. These cross-tool and behavioral details go beyond the schema's property descriptions.

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 clearly states the tool answers a question using retrieved memories and distinguishes it from mnemostack_search by producing a synthesized answer rather than raw matches. The verb 'answer' plus the resource ('retrieved memories') is specific, and the explicit mention of the sibling tool clarifies the differentiation.

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 gives explicit usage guidance: 'Use this when you want a concise factual answer synthesized from memory search results instead of the raw matches returned by mnemostack_search.' It also notes when to use include_invalidated or as_of to see stale facts, providing clear context for this tool over alternatives.

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/udjin-labs/mnemostack'

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