Skip to main content
Glama

trailmem_store

Save decisions, lessons, or tasks as durable memories with optional cross-linking. Duplicate titles are blocked; edit existing instead.

Instructions

Save a new memory (decision/lesson/task/constraint/...) with optional linking. Store the ENGLISH version of the content; title 3-60 chars, content 50+ chars. Duplicates are rejected/blocked with the existing #id — edit that instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNo
titleYes
pinnedNo
contentYes
link_toNo
projectNo
edge_typeNorelated
work_typeNo
agent_typeNo
event_typeYes
source_uriNo
supersedesNo
archive_reasonNo
modified_filesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses memory storage behavior, character limits, and duplicate rejection. With no annotations provided, the description carries the burden; the output schema likely covers return values. No 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?

Four sentences, front-loaded with purpose, then constraints and error behavior. No redundant information; each sentence adds value.

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

Completeness2/5

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

Despite good purpose clarity, the high parameter count (14) and 0% schema coverage require much richer description. Missing explanations for optional linking, edge types, force, pinned, etc. Output schema exists but description does not reference it.

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

Parameters2/5

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

Only explains constraints for two parameters (title, content) among 14. Schema coverage is 0%, so description must compensate but fails for most parameters (force, pinned, link_to, etc.). Detailed param semantics are missing.

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 action 'Save a new memory' and specifies the resource types (decision/lesson/task/constraint) with optional linking. It distinguishes from siblings like trailmem_edit (edit) and trailmem_query (query) 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 Guidelines4/5

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

Provides explicit constraints (title 3-60 chars, content 50+ chars, English version) and duplicate handling ('rejected/blocked with existing #id — edit that instead'). Lacks explicit comparison to alternatives beyond duplicates.

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/amitnexTech/trailmem'

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