Skip to main content
Glama

Export a memory to Markdown

ygg_materialize
Idempotent

Export a stored memory as a human-readable Markdown note on disk using its memory ID and project name, enabling reading, editing, or archiving.

Instructions

Write ONE stored memory to a human-readable Markdown note (Obsidian-compatible) on disk; the stored memory itself is unchanged. Use when the user wants to read, edit, or archive a specific memory as a file. Needs the memory id from a prior ygg_recall / ygg_search / ygg_bootstrap result plus its project; returns the written file path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe memory id to export, as returned by a prior recall/search/bootstrap, e.g. "ygg_4a5c82a...".
projectYesThe project the memory belongs to.
output_dirNoDirectory to write the Markdown note into (default "vault/04-learnings").vault/04-learnings
Behavior4/5

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

Description adds value beyond annotations by stating the memory is unchanged (aligning with idempotentHint and destructiveHint) and that the output is a file path. No contradictions with annotations. Could mention file overwrite behavior, but overall sufficient.

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 with no wasted words. The first sentence describes the action, the second gives usage guidance. Front-loaded and efficient.

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 simple export tool with 3 parameters and no output schema, the description covers prerequisites, action, and return value (file path). Could include error handling, but adequate for the complexity.

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 coverage is 100%, and the description adds important context: 'id' must come from prior tools, 'project' is the memory's project, and the default output_dir is explained. This reinforces parameter meaning 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?

The description specifies a clear verb ('Write') and resource ('ONE stored memory to a human-readable Markdown note'), distinguishes from siblings by requiring a memory id from prior recall/search/bootstrap, and states the memory itself is unchanged.

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?

Explicitly states when to use ('when the user wants to read, edit, or archive a specific memory as a file') and provides necessary context about needing a prior memory id and its project. Lacks explicit when-not or alternatives, but the sibling tools list provides implicit differentiation.

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/VonderVuflya/Yggdrasil'

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