Skip to main content
Glama

get_memories

Retrieve stored memories by type, project, confidence, and pagination so AI coding assistants can restore context across sessions.

Instructions

获取存储的记忆

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": "get_memories"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo记忆类型(可选)
limitNo返回数量限制(默认 50)
offsetNo分页偏移量(默认 0)
projectNo项目名称(可选)
minConfidenceNo最低置信度过滤 0-1(可选)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing: not whether deleted or superseded memories are included, not the sort order, not default pagination behavior, not the cost of an unbounded call. One sentence that only echoes the name leaves every behavioral question unanswered for a five-parameter read 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?

The single sentence is front-loaded and free of padding, but its brevity comes from omission rather than discipline — there is no second sentence doing any of the work the missing guidance requires.

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?

Five optional parameters, an enum, pagination fields, and no annotations or output schema mean the description should explain return shape and filtering semantics, but it covers none of this. Only the well-documented schema keeps the tool callable at all.

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%, with each of the five optional parameters documented inline (including the type enum and the 0-1 confidence range), so the description need not compensate. It adds nothing beyond the schema, which is the baseline for full coverage.

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

Purpose2/5

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

"获取存储的记忆" restates the tool name (get_memories) with no added specificity: no statement of what a memory is, what ordering or scope applies, or how it differs from search_memories, get_memory_by_id, or get_user_context. An agent reading only this cannot tell which retrieval sibling 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 Guidelines2/5

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

There is no when-to-use guidance and no exclusions. With siblings like search_memories and get_memory_by_id present, the definition gives no signal about when bulk listing is appropriate versus targeted search or single-record fetch.

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