Skip to main content
Glama

memory_correct

Update flagged memories with corrected content after related code changes. Replaces stored content and refreshes git context for accurate freshness checks.

Instructions

Update a memory flagged by memory_check_freshness with corrected content after its related code changed. Replaces the stored content and refreshes the git context (current commit SHA) so future freshness checks compare against the new baseline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUUID of the memory item to correct
contentYesThe corrected, up-to-date content
related_pathsNoFiles/dirs this memory is about (e.g. ["src/api.ts"]). Refreshes staleness tracking for future checks.
Behavior4/5

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

Annotations show it's a mutation (readOnlyHint false, destructiveHint false, idempotentHint false). The description adds that it refreshes git context for future freshness checks, aligning with annotations and extending transparency.

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, front-loaded with action and context, no wasted words. Essential information is efficiently presented.

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

Completeness4/5

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

With 3 params and no output schema, the description covers the tool's purpose, preconditions, and effect. It references the related freshness check, but could mention error cases or prerequisites for completeness.

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 the baseline is 3. The description doesn't add new parameter details beyond what's in the schema, but it contextualizes them within the tool's purpose.

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 it updates a memory flagged by memory_check_freshness, replacing content and refreshing git context. This distinguishes it from siblings like memory_confirm or memory_forget.

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

Usage Guidelines4/5

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

The description specifies when to use: after code changes cause a freshness flag. It implies not for fresh memories or direct edits, but doesn't explicitly list alternatives or when not to use.

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/alfredoizdev/contextforge-mcp'

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