Skip to main content
Glama

memory_recent

List recently updated memories from shared long-term memory to get context on what was learned or saved lately; choose compact response for excerpts without full content.

Instructions

List the most recently updated memories from the shared long-term memory. Set response to compact to return excerpts without full content. Use to get context about what was learned/saved lately.

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_recent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNo
limitNo
projectNoOnly memories for this project/repository
responseNoCompact omits full content; full preserves the existing responsefull
currentProjectNoUse the current Git repository as project scope when project is omitted

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.7.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed3 schema fields changedv1.6.0
    • addedInput schema / properties / currentProject
      Added value: +{
      +  "default": false,
      +  "description": "Use the current Git repository as project scope when project is omitted",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / project
      Added value: +{
      +  "description": "Only memories for this project/repository",
      +  "maxLength": 120,
      +  "type": "string"
      +}
    • addedInput schema / properties / response
      Added value: +{
      +  "default": "full",
      +  "description": "Compact omits full content; full preserves the existing response",
      +  "enum": [
      +    "full",
      +    "compact"
      +  ],
      +  "type": "string"
      +}
  3. First observedv1.0.0

TDQS

B3/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. 'List' implies a read operation and the compact/full note hints at payload tradeoffs, but it does not state ordering, whether results span all agents or only the caller's, or what the default scope is when agent/project are omitted. The compact explanation largely duplicates the schema.

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?

Three short sentences, front-loaded with the core action, and nothing is padded. The middle sentence slightly restates the schema's response description rather than adding to it.

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?

Five optional parameters, no annotations and no output schema, so the description should clarify defaults and return shape. It explains the compact mode but leaves the result structure (memory fields, excerpt length) and default scoping behavior unstated.

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 only 60%, and the description only touches 'response', which the schema already documents. It adds no meaning for agent, limit (default 5, max 25), project, or currentProject — exactly the parameters an agent is most likely to mis-set.

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?

States a specific verb and resource: 'List the most recently updated memories from the shared long-term memory.' It is clearly distinguishable from memory_get/memory_delete/memory_add by the recency-listing framing, though it never names a sibling to sharpen the contrast against memory_search.

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?

Gives one positive usage cue ('Use to get context about what was learned/saved lately') but no negative guidance or alternative routing — e.g., nothing says to prefer memory_search when you have a keyword, or memory_get when you know the ID.

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