Skip to main content
Glama

mss__SearchRecords

Performs semantic search over long-term memory records in a specified memory base, with optional actor, agent, session filters and a configurable result limit.

Instructions

[MSS] 基于语义检索长期记忆

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "memorybase_id": "<memorybase_id>",
      "query": "<query>"
    },
    "name": "mss__SearchRecords"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
top_kNo结果限制,默认10
filterNo
memorybase_idYes记忆仓的唯一标识符(8位预留码 + 36位UUID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, yet it discloses nothing about ranking behavior, whether results are scored, permissions needed, or limits. It implies a read operation via '检索' but never states that results are read-only or how they are ordered.

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

Conciseness3/5

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

The single sentence is compact and front-loaded, but at the cost of under-specification; brevity here is terseness, not efficiency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A four-parameter tool with a nested filter object, no annotations, and no output schema gets one short sentence. Nothing explains result shape, filter semantics, or ranking, which is far short of what an agent needs to call this correctly.

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

Parameters2/5

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

Schema coverage is 50%, and the description adds no meaning for any of the four parameters — query, top_k, filter, or memorybase_id are all unmentioned. The nested filter object in particular receives no explanation of how actor_id, agent_id, and session_id constrain retrieval.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: semantic retrieval over long-term memory records. An agent can infer this searches rather than lists, unlike mss__ListRecords, but the differentiation is only implied and the '[MSS]' namespace prefix adds no meaning.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus mss__ListRecords or mss__ShowRecord, no prerequisites, and no exclusions. The only cue is the word 'semantic', leaving the agent to guess the selection criteria.

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

Deploy Server

Other Tools