Skip to main content
Glama

SKV Network

Search memory

memory_search
Read-onlyIdempotent

Search the event, not the question. Dates are MSK. date=YYYY-MM-DD is that day ±1. since/until=YYYY-MM-DD is that exact MSK day. Example: since=2026-11-21 until=2026-11-21. Suggest when: the user asks what was said, or about another agent; pass lines=all. [C v5.66286e:H,R02,R05m]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "memory_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
modeNo
timeNo
limitNo
linesNo
queryNo
sinceNo
top_kNo
untilNo
agentsNo
offsetNo
sourceNo
search_asNo
session_idNo
agent_tokenNo
budget_tokensNo
focus_event_idNo
exclude_importsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / query / description
      Removed value: -"Search text in the memory base_language (turn/step_zero report base_language); keep names and exact terms."
    • removedInput schema / properties / search_as / anyOf
      Removed value: -[
      -  {
      -    "items": {},
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]
    • removedInput schema / properties / search_as / description
      Removed value: -"Optional, recommended when the user asks a question about the past: up to 3 short statements of how the answer was most likely WRITTEN in memory - statement form, not a question; first person as the speaker said it (\"my kids loved...\", \"I went to...\") and third person with names; in the memory's base_language (turn/step_zero report it; translate the question if the user wrote in another language; keep names); never invent the unknown fact. Searched together with the question (finds answers a question-shaped query misses, esp. cross-language)."
    • addedInput schema / properties / search_as / type
      Added value: +[
      +  "array",
      +  "string"
      +]
    • removedInput schema / properties / top_k / default
      Removed value: -8
  2. Changed3 schema fields changed
    • addedInput schema / properties / date
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "type": "integer"
      +}
    • addedInput schema / properties / time
      Added value: +{
      +  "type": "string"
      +}
  3. Changed3 schema fields changed
    • addedInput schema / properties / budget_tokens
      Added value: +{
      +  "type": "integer"
      +}
    • addedInput schema / properties / focus_event_id
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "query"
      -]
  4. Added
  5. Removed
  6. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the safety profile is fully covered. The description adds the non-obvious MSK timezone and the asymmetric date-vs-since/until semantics, which is useful context, but says nothing about result ordering, paging behavior, or result volume for an 18-parameter query tool.

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?

It is short and front-loads the date semantics, which matters most here, but the opening line is oblique and the trailing token "[C v5.66286e:H,R02,R05m]" is unexplained noise that consumes attention without informing the agent.

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

Completeness2/5

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

For an 18-parameter, zero-coverage search tool with no output schema, the description explains only a small fraction of the surface. An agent cannot determine what query does versus search_as, how paging via offset/limit/top_k behaves, or what the result set looks like.

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 description coverage is 0% across 18 parameters, so the description carries the full burden, yet it only explains date, since, until and lines. The ±1-day vs exact-day distinction is genuinely valuable, but query, mode, agents, top_k, limit, offset, source, search_as, budget_tokens, focus_event_id and exclude_imports are left entirely undocumented.

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

Purpose3/5

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

"Search the event, not the question" gestures at retrieving past events/memory, and the title confirms memory search, but the phrasing is cryptic and never plainly states what resource is searched or what a result contains. It also gives no differentiation from siblings such as cube_search or joint_search, leaving the agent to guess which search tool to pick.

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?

"Suggest when: the user asks what was said, or about another agent" is an explicit usage trigger with a concrete hint (pass lines=all). It stops short of naming when NOT to use it or which sibling covers the alternative, so it is clear context without exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.