Skip to main content
Glama

memory_session_to_docs

Convert session facts into a linked documentation set by grouping them into topic clusters and building cross-linked articles. Commit changes to persist or preview read-only.

Instructions

Turn a session's durable facts into a linked documentation set.

Groups the facts into topic clusters, builds one Article per cluster, and cross-links them into a doc set. With commit=True the cards are persisted. Read-only by default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
factsYes
commitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states that the tool groups facts into topic clusters, creates one Article per cluster, cross-links them, and that the default mode is read-only (with `commit=True` persisting the cards). This is a strong disclosure of the tool's core behavior. Missing details like authorization needs or potential side effects, but given the tool appears to be a read-like build operation, the transparency is high.

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 exceptionally concise — three short sentences, front-loaded with the core purpose. The first sentence defines the overall action, the second elaborates on the process, and the third clarifies the commit behavior. No filler, no tautology, every sentence earns its place.

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 moderate complexity (clustering into articles, cross-linking), a simple input schema with 2 params (one boolean default, one array of strings), and no annotations, this description is complete enough. An output schema exists (not provided), so the description doesn't need to explain return values. The process (clustering, article creation, cross-linking) and commit behavior are fully described, leaving no major gaps.

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?

The schema description coverage is 0%, so the description must compensate. It does so by explaining the `commit` parameter's role in persisting cards vs. read-only default. The `facts` parameter is explained indirectly as 'session's durable facts' that are clustered into Articles. While it doesn't detail the format of each fact string, it provides enough context to understand the purpose of both parameters beyond their names and types.

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 uses a specific verb ('Turn'), a clear resource ('a session's durable facts'), and identifies the output ('a linked documentation set', 'Article per cluster'). It clearly distinguishes the tool from siblings by describing its unique transformation process — none of the sibling tools (e.g., memory_recall, memory_dedupe) perform this clustering and document creation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies the tool is used when you want to turn session facts into documentation, mentioning the clustering and cross-linking behavior. However, it does not explicitly state when to use this tool vs alternatives, nor does it provide conditions under which it should not be used. The explicit mention of 'Read-only by default' with the `commit` parameter provides some guidance on safe usage, but no exclusions or alternatives are named.

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/morozsm/memory-facade'

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