Skip to main content
Glama

Save a memory

create_memory

Save one new memory to the user's Locul account. Use only when the user asks to remember or save something. Creates a new record; it does not change or delete existing memories. If the same fact is already saved, nothing is added. Never save secrets such as passwords or keys. Keep fact concrete and standalone so it still makes sense read alone months later, and list every person, company, product, project, tool or topic it is about in entities so it is linked to them.

Input Schema

NameRequiredDescriptionDefault
factYesThe memory as ONE concrete, standalone statement (max ~280 chars).
kindNoWhat kind of memory this is.
entitiesNoEvery person, company, product, project, tool or topic this memory is about.
confidenceNo0-1, how sure you are this is true.
importanceNo1-5, how significant this fact is.
source_titleNoOptional short label for where this came from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only tell the agent this is a non-read-only, non-destructive write; the description adds genuinely non-obvious behavior beyond that — deduplication ('If the same fact is already saved, nothing is added'), the immutability of existing records, and an explicit safety prohibition ('Never save secrets such as passwords or keys').

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?

Front-loaded with the purpose and usage trigger, then layers behavioral and content-quality rules. Every sentence carries a distinct rule, though the 'Creates a new record; it does not change or delete existing memories' clause partially overlaps with the dedup statement that follows.

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?

For a 6-parameter mutation with annotations but no output schema, the description covers purpose, trigger, non-destructive scope, dedup semantics, safety, and content-authoring guidance. It does not say what a successful call returns (e.g. whether an ID or the created record comes back), which is the main remaining gap.

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 description coverage is 100%, so the baseline is 3, but the description goes further by telling the agent how to author the two semantically important fields: keep `fact` concrete and standalone, and populate `entities` with every person/company/product/project/tool/topic the memory touches. It adds no guidance on `kind`, `confidence`, `importance`, or `source_title` beyond 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?

States a specific verb and resource ('Save one new memory to the user's Locul account') and immediately scopes it as additive ('Creates a new record; it does not change or delete existing memories'), which cleanly separates it from the read-oriented siblings like recall_memories, search, and get_entity_profile.

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?

Gives an explicit trigger condition: 'Use only when the user asks to remember or save something.' That is a clear when-to-use rule, but it never names the alternative tools (recall_memories, search) for the retrieval cases an agent might otherwise conflate with this one.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources