Skip to main content
Glama

Mark Memory Used

mark_memory_used

Record when a retrieved memory influences your response. Call after confirming memory use to track effective context.

Instructions

Record that a recalled memory was used in the answer. Call this after a retrieved memory actually influenced your response (not for ignored results).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoUsage action or audit-event action filter, depending on the tool.used
contextNoShort context explaining a memory usage event or pending decision.
memory_idYesExact XMemo memory reference shown by search or recall.
metadata_jsonNoOptional JSON object string with extra metadata for the operation.{}
usage_tracking_idNoOptional tracking ID that links a recalled memory to later usage feedback.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate non-readOnly and non-destructive. The description adds behavioral context: the tool marks usage only for memories that influenced the response, implying a state update. It also clarifies the condition for calling. This goes beyond annotations without contradiction.

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?

The description is a single sentence with front-loaded purpose and immediate usage condition. No wordiness; every part earns its place.

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?

Given the tool has 5 parameters (1 required) and an output schema, the description adequately covers when and why to use it. It could mention return behavior, but the output schema likely covers that. The description leaves little ambiguity.

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 coverage is 100%, so baseline is 3. The description does not add parameter-specific details beyond the schema. The optional parameters (action, context, metadata_json, usage_tracking_id) are explained in the schema, so the description meets the baseline.

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 states a specific verb ('Record') and resource ('that a recalled memory was used'). It distinguishes from ignored results, making the purpose clear and differentiable from sibling tools like 'recall' or 'forget'.

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 says 'Call this after a retrieved memory actually influenced your response (not for ignored results).' This provides clear when-to-use and when-not-to-use guidance, establishing appropriate context.

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/yonro/memory-os-cli'

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