Skip to main content
Glama
jryom

agentsmd-memory

by jryom

memory_forget

Removes outdated or incorrect facts stored in AGENTS.md, keeping project memory accurate.

Instructions

Remove outdated or wrong facts from the nearest AGENTS.md. Call this PROACTIVELY the moment you notice a stored fact no longer holds — do not wait to be asked. Triggers: you read AGENTS.md and a fact contradicts what you observe in the code; a command/path/convention it describes has been renamed or removed; a decision it records was reversed; a refactor made it obsolete; or you just changed something that invalidates an existing entry. Whenever you act on a fact from memory, sanity-check it against reality first — if it's stale, forget it. Keeping stale memory is worse than none: it misleads future sessions. Describe what to remove in natural language; matching is fuzzy. Returns instructions which you then carry out with your own Read/Edit tools, leaving all other facts intact.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoAbsolute path of the current project directory.
descriptionYesNatural-language description of the fact(s) to remove.
Behavior5/5

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

With no annotations provided, the description fully explains behavior: returns instructions for the agent to execute, uses fuzzy matching, leaves other facts intact, and warns about consequences of stale memory. No hidden side effects or contradictions.

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?

The description is moderately long but well-structured: core action first, then triggers, then behavioral context, then return value. Each sentence adds value, though some redundancy could be trimmed.

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

Completeness5/5

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

Given no output schema, the description explains the tool's return (instructions) and overall process. It covers triggers, proactive use, and warns about stale memory, making it complete for a tool with only two parameters and high schema coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers all parameters (100%), but the description adds value by clarifying that matching is fuzzy and describing the removal in natural language. The cwd parameter is already well-described in the schema.

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

Purpose5/5

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

The description clearly states the tool removes outdated or wrong facts from AGENTS.md, with a specific verb (remove) and resource (nearest AGENTS.md). It distinguishes from the sibling tool 'memory_save' by focusing on forgetting.

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

Usage Guidelines5/5

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

Explicitly instructs proactive calling upon noticing stale facts, lists multiple triggers, and directs the agent to use its own tools for the actual removal. Provides clear when-to-use guidance without ambiguity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jryom/agentsmd-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server