Skip to main content
Glama

mem_context_pack

Generate a compact continuity pack to carry project or session context forward using fewer tokens, enabling agents to resume work with less repetition.

Instructions

Return a compact continuity pack optimized to carry project or persisted-session context forward with fewer tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_keyYes
budgetNo
max_charsNo
known_pack_hashNo
session_idNo
Behavior2/5

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

No annotations provided, so the description carries full burden. It mentions optimization for fewer tokens but does not disclose side effects, permissions, idempotency, or whether the pack is read-only. The behavioral traits are minimal.

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?

The description is a single sentence that is front-loaded with the core purpose. It is concise without fluff, though could expand slightly on key behavior.

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?

Given 5 parameters, no output schema, and no annotations, the description is too brief. It fails to explain return format, error conditions, or parameter interactions, which are critical for correct usage.

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

Parameters1/5

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

Schema description coverage is 0% and the description adds no meaning to any of the 5 parameters (project_key, budget, max_chars, known_pack_hash, session_id). Agent cannot infer how to set them beyond their names and basic types/enums.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it returns a compact continuity pack to carry context forward with fewer tokens, which is a specific verb and resource. It distinguishes from siblings like mem_get by focusing on a 'pack' rather than a single context item, but could be more explicit about the exact format.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like mem_session_list or mem_get. The description lacks any context about prerequisites or suitability for different tasks.

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/MarceloCaporale/codex-agent-mem'

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