Skip to main content
Glama

memory_search

Read-onlyIdempotent

Search published memory cards by keywords, project, or scope, and retrieve historical rule states for a given date. Use it to find project-aware preferences and trace past rule application.

Instructions

Search published MemoryS cards by query, project name/ID/alias, or scope. Supports historical point-in-time lookups via as_of (YYYY-MM-DD).

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
as_ofNoOptional business date (YYYY-MM-DD) for point-in-time rule lookup
queryNoSearch keywords or subject_key; leave empty to list cards in scope
scopeNoScope filter (shared/preferences, shared/methods, shared/domain, or project/<id>)
projectNoProject title, alias, or project_id (e.g. acme-billing)
include_historyNoInclude superseded and archived cards (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description does add useful behavioral context beyond that: results are limited to "published" cards and as_of enables point-in-time lookups. However, it says nothing about result limits, pagination, ranking, or the effect of include_history, which the schema alone carries.

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?

Two sentences, zero filler, with the primary capability front-loaded and the point-in-time capability as a secondary clause. Every phrase maps to a real behavior or parameter.

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

Completeness3/5

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

For a read-only search tool with fully documented parameters and annotations covering safety, the description is adequate. Since no output schema exists, the agent gets no sense of the return shape (card fields, ordering, truncation), which is a real gap for a search endpoint, though not a blocking one.

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 all five parameters are already documented in structured form, making 3 the baseline. The description reinforces query, project, scope, and as_of semantics but adds no syntax or precedence detail beyond the schema, and it omits include_history entirely.

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 states a specific verb and resource ("Search published MemoryS cards") and enumerates the filter axes: query, project name/ID/alias, and scope. It also names a distinctive capability, historical point-in-time lookup via as_of. It does not explicitly contrast itself with siblings like memory_read or memory_trace, which keeps it short of a 5.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the word "Search" plus the filter list signals discovery/listing, and the schema notes that an empty query lists cards in scope. There is no explicit guidance on when to prefer this over memory_read (fetch a specific card) or memory_trace, and no stated exclusions, so the agent must infer routing.

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