Skip to main content
Glama
jagoff

MEMO MCP Server

by jagoff

memo_context

Read-onlyIdempotent

Create a prompt-ready memory context pack for direct injection, bundling static profile, dynamic recent context, and relevant query hits without calling an LLM.

Instructions

Build prompt-ready memory context without calling the answer LLM.

Read-only. Unlike memo_search's raw hit list, this returns a budgeted, prompt-ready context pack for direct injection: static profile, dynamic recent context, query hits, omissions, and a readonly prompt wrapper.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kNoNumber of query hits retrieved for the pack (hybrid mode; clamped to 1-500).
typeNoRestrict retrieval to one memory type (e.g. 'decision', 'fact'); None searches every type.
sourceNoCalling layer for consult attribution (e.g. 'claude-code', 'codex'); empty falls back to client info.
questionYesNatural-language question used to retrieve and pack relevant memories.
budget_charsNoTotal character budget for the returned readonly prompt wrapper; rows beyond the budget are trimmed and counted in 'omissions'.
snippet_charsNoCharacter cap per memory snippet inside the pack.
include_dynamicNoInclude the dynamic section: up to 5 memories updated in the last 7 days.
include_profileNoInclude the static profile section (identity/preference lines).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds behavioral context beyond annotations: it explains that the pack includes dynamic recent context (up to 5 memories updated in last 7 days), static profile, query hits, omissions, and is read-only. It also mentions budget trimming. No contradiction.

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 two sentences long. First sentence states purpose clearly. Second sentence elaborates on content and differentiates from sibling. No wasted words, front-loaded with key information.

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 that an output schema exists, the description need not explain return values. It covers purpose, behavioral traits, and high-level output structure. All relevant aspects are addressed for a tool of this complexity.

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 description coverage is 100%, so the schema already documents all parameters. The description does not add specific parameter semantics beyond the schema, but it does provide context on how budget_chars and snippet_chars affect output. Baseline 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's purpose: 'Build prompt-ready memory context without calling the answer LLM.' It contrasts with memo_search's raw hit list, specifying that this returns a budgeted, prompt-ready context pack with static profile, dynamic recent context, query hits, omissions, and a readonly prompt wrapper. This distinguishes it from siblings and is specific about what it does.

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 says 'Read-only. Unlike memo_search's raw hit list, this returns a budgeted, prompt-ready context pack for direct injection.' It tells when to use this tool (when needing a prompt-ready pack) and when to use an alternative (memo_search for raw hits). This provides clear guidance.

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/jagoff/memo'

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