Skip to main content
Glama
10CG

nexusm-mcp-server

by 10CG

nexus.context_retrieve

Retrieves relevant memories, recent conversations, and stored facts from prior sessions to provide context for open-ended user queries.

Instructions

Use when user asks anything that might need context from prior sessions, prior conversations, or stored facts. Single call returns relevant memories, recent conversation turns, and knowledge entities together. Prefer this over nexus.memory_search when query is open-ended.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYesUser identifier within tenant scope. Required per-call.
queryYes
limitNo
as_ofNoISO 8601 with timezone, max 90 days in the past. Default: NULL (current valid memories, no anchor inheritance from previous calls). Do NOT infer as_of from conversation context — user must explicitly express time intent.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
retrieve_idYesPASS THIS to nexus.memory_feedback to rate this retrieval. Save it before continuing the conversation.
memoriesYes
conversation_turnsYes
knowledge_entitiesYes
errorsNoNon-empty if partial degradation (dict[str,str] type, key=layer, value=error message). Null when all layers healthy. HTTP 200 + errors!=null indicates partial result.
_warningsNoPartial-result warning channel; populated when one or more retrieval layers degraded.
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that a single call returns multiple data types and gives specific behavioral guidance for the 'as_of' parameter, including the restriction against inferring time context from conversation. This adds valuable transparency beyond the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise: three sentences that convey the purpose, usage guideline, and a key behavioral note. Every sentence earns its place without redundancy.

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?

Given the existence of an output schema (not shown but indicated), the description appropriately avoids explaining return values. It covers the key combination of data types and the critical 'as_of' constraint. Minor gap: no mention of error conditions or performance, but overall sufficient for a retrieval tool.

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 50%, so the description should compensate. It adds meaningful detail for the 'as_of' parameter (e.g., max 90 days, no inference from context), but does not elaborate on user_id, query, or limit beyond what the schema provides. This meets the baseline but does not elevate.

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's purpose: retrieving context from prior sessions, conversations, or stored facts. It specifies that it returns 'memories, recent conversation turns, and knowledge entities together,' and distinguishes from sibling nexus.memory_search by stating 'Prefer this over nexus.memory_search when query is open-ended.'

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?

The description provides a clear condition for use ('when user asks anything that might need context from prior sessions...') and suggests an alternative for more specific queries (nexus.memory_search). However, it does not explicitly list when not to use this tool or other exclusions.

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/10CG/nexusm-mcp-server'

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