Skip to main content
Glama

save_memory

Persist coding decisions, handoffs, or facts as a new memory with title and markdown. Optionally scoped to project and tags.

Instructions

Create a new persistent coding memory (title + markdown body) scoped to an optional project and tags. Side effect: writes a new record via the Ratary REST API; not idempotent (each call creates another memory). Requires RATARY_API_KEY. Does not overwrite existing memories — use get_memory/search_memory first if updating. Use after decisions, handoffs, or durable facts the agent should recall later. Do not use for ephemeral chat notes that should not persist. Returns the created memory JSON including id/codename/timestamps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoFilter tags (e.g. ["handoff", "phase-4"]). Optional.
titleYesShort human-readable title (e.g. "P1-A Task 7 acceptance gate").
contentYesFull markdown body stored as the memory content.
projectNoProject slug for scoping (e.g. "ratary", "ontorata"). Optional.
Behavior5/5

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

The description discloses side effects (writes via REST API), non-idempotency (each call creates another memory), and that it does not overwrite. This adds value beyond annotations (readOnlyHint=false, destructiveHint=false).

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 concise at four sentences, front-loaded with purpose, then side effect, then usage guidelines. Every sentence adds necessary information without waste.

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 the tool has 4 parameters (2 required), no output schema, and good annotations, the description covers purpose, side effect, idempotency, prerequisites (RATARY_API_KEY), and usage guidelines. It is complete for the agent's needs.

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% and parameters are well-described in the schema. The description adds no extra meaning beyond the schema, such as format or constraints, so baseline score of 3 is appropriate.

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 creates a new persistent coding memory, specifying the resource (memory with title + markdown body) and optional scoping. It distinguishes itself from sibling tools like get_memory and search_memory by focusing on creation.

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?

The description explicitly states when to use ('after decisions, handoffs, or durable facts') and when not to use ('not for ephemeral chat notes'). It also advises to use get_memory/search_memory first if updating, providing clear 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/ontorata/ratary'

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