Skip to main content
Glama

Load memory context

mem_context
Read-only

Carga las memorias más recientes de un scope (proyecto/repo), sin query: da contexto de sesiones previas al empezar a trabajar en un repo. scope es el nombre del proyecto (el de la carpeta del repo). Devuelve [] si el scope no tiene memoria. limit opcional (1-100, def. 25). git_remote opcional (la URL de git remote get-url origin): si ya hay un scope de ese repo se usa ese aunque tu carpeta se llame distinto, así compartes memoria con quien lo clonó en otra carpeta. crossProject: true completa el contexto con lo más reciente de los DEMÁS proyectos del workspace una vez agotado lo propio (marcado con foreign=true). Requiere un plan de pago y una credencial que no esté acotada a un proyecto. workspaceId opcional: el contexto guardado en ESE workspace. Sin él, el del workspace por defecto. Si vas a trabajar issues de otro workspace, cárgalo también con su workspaceId: es donde está lo que su equipo ya sabe.

Input Schema

NameRequiredDescriptionDefault
limitNo
scopeYes
git_remoteNo
workspaceIdNo
crossProjectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only safety, yet the description adds material context: returns [] when the scope has no memory, requires a paid plan and a credential not scoped to a project, and marks cross-project results with foreign=true. These are exactly the operational traits an agent cannot infer from structured fields.

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?

Purpose and edge case are front-loaded, and each sentence adds a distinct fact. However, it is one dense ~120-word paragraph with no structural breaks, which makes the per-parameter guidance harder to scan than it needs to be.

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?

Covers all five parameters, defaults, auth prerequisites, the empty-result case, and the foreign=true marker for a tool with no output schema. The only gap is the shape of an individual returned memory item, which the agent must discover empirically.

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

Parameters5/5

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

With 0% schema description coverage, the description carries the full burden and does: scope (= repo folder name), limit (1–100, default 25), git_remote (URL from git remote get-url origin, with alias-resolution behavior), crossProject (fills from other projects, foreign=true), workspaceId (default vs. explicit). Minor note: the documented limit range 1–100 is tighter than the schema's unbounded integer.

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?

States a specific verb and resource — loads the most recent memories for a scope — and explicitly contrasts with a query-based sibling via 'sin query'. An agent can immediately tell this apart from mem_search or mem_get without opening either schema.

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?

Gives clear context for use: 'al empezar a trabajar en un repo' and 'si vas a trabajar issues de otro workspace, cárgalo también con su workspaceId'. The 'sin query' framing implicitly routes query-based lookups elsewhere, but no alternative tool is ever named explicitly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources