Skip to main content
Glama

Semantic Memory Query

query

Retrieve conceptually relevant memories about people, projects, decisions, tasks, and past work using natural language queries with time and type filters.

Instructions

query

Semantic search across Memkin memory.

When to use: fuzzy, conceptual recall across people, projects, decisions, tasks, and prior work. When NOT to use: exact keyword matching; use search instead. Do not look for source-specific tools; use filters. Returns: ranked results with slug, title, type, snippet, score, and provenance. On error: broaden filters or retry with fewer constraints.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoInclusive upper time bound as an ISO date or datetime.
fromNoInclusive lower time bound as an ISO date or datetime.
typeNoLimit results to page types such as `decision`, `task`, or `person`.
limitNoMaximum number of results. Search tools default to 20 and clamp to 50.
queryYesNatural language search query, for example `上周部署方案`.
channelNoLimit results to a stable source channel id, for example `dm/wechat/wxid_123`.
platformNoLimit results to one or more source platforms, for example `wechat` or `feishu`.
participantNoLimit results to memories involving this exact participant display name.
source_typeNoLimit results to one or more source types, for example `dm`, `group`, or `document`.
channel_nameNoLimit results to a human-readable channel name, for example `产品评审群`.
exclude_typesNoExclude these page types from results.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYesRanked memory results.
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses that results are ranked with fields like slug, title, type, snippet, score, provenance. Gives error recovery guidance. Could mention default limit and clamping behavior (present in schema but not description), but overall adds value.

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?

Extremely concise with structured bullets and headings. Four compact lines (excluding title) that front-load purpose and include return format and error context. No wasted words.

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 output schema exists (not shown but indicated), description adequately covers return summary and error handling. With 11 parameters, description is comprehensive enough for agent decision-making. Minor omission: default limit/clamping not restated.

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 description coverage is 100%, so baseline is 3. The description does not add parameter-specific details beyond the schema, merely referencing 'filters' generically. Meets baseline but does not exceed.

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 'Semantic search across Memkin memory,' clearly stating the verb and resource. It distinguishes from sibling 'search' by specifying fuzzy/conceptual recall versus exact keyword matching.

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 states when to use ('fuzzy, conceptual recall') and when NOT to use ('exact keyword matching; use `search` instead'). Also provides error handling advice ('broaden filters or retry with fewer constraints').

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/AndreLYL/memkin'

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