Skip to main content
Glama

memory_index

Read-only

Search memory by returning a compact index of IDs, versions, titles, and scores before pulling full text.

Instructions

Progressive Disclosure Layer 1: compact ~15-20 token search index (IDs, versions, titles, scores) before pulling full text.

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": {
      "query": "<query>"
    },
    "name": "memory_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
mmrNo
kindNo
as_ofNo
limitNo
queryYes
scopeNopersonal
include_personalNo
include_supersededNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.1.0
    • addedInput schema / properties / include_superseded
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
  2. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description contributes real added value by disclosing the compact ~15-20 token payload and the exact returned fields, but says nothing about defaults, ranking behavior, or what happens with superseded or personal-scope records.

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

Conciseness4/5

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

A single front-loaded sentence with no wasted words; the workflow cue is placed after the payload summary. "Progressive Disclosure Layer 1" is internal jargon that costs a little clarity but does signal the intended two-stage pattern.

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?

With 8 parameters at 0% schema coverage, no output schema, and non-obvious knobs like mmr, as_of, and include_superseded, the description is far too thin to guide correct invocation. It is adequate for a zero-parameter index but not for this signature.

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 8 parameters, so the description carries the full burden and adds nothing: query, kind, as_of, limit, mmr, scope, include_personal, and include_superseded are all unexplained. The only parameter-shaped hint is that "scores" and "versions" come back, which does not help an agent set any input.

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 resource and output shape: a compact search index returning IDs, versions, titles, and scores. It implicitly distinguishes itself from a full-text retrieval step ("before pulling full text"), though it never names the sibling tool that does that pull.

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?

"before pulling full text" implies a two-step workflow in which this is the cheap first pass, which is genuinely useful usage context. However, it gives no explicit when-not guidance and names no alternative tool, so the agent must infer that memory_get or memory_search is the follow-up.

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