Skip to main content
Glama

mem_scope_resolve

Resolve project context by transforming a broad project key and optional hints into persisted session candidates for efficient agent memory retrieval.

Instructions

Resolve a broad project plus optional thread/path hint into persisted session/sub-scope candidates before requesting active context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_keyYes
hintNo
current_cwdNo
repo_pathNo
mentioned_filesNo
limitNo
Behavior1/5

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

No annotations provided. The description does not disclose any behavioral traits (e.g., read-only, destructive, auth requirements, side effects). Full burden falls on description, which is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence is concise and front-loaded, but lacks critical detail. Efficiency is undermined by vagueness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 6 parameters, no output schema, and no annotations, the description is far too brief. It omits return values, parameter semantics, and any behavioral context.

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?

Input schema has 0% description coverage for 6 parameters. The description only vaguely references 'project' and 'hint', leaving current_cwd, repo_path, mentioned_files, and limit unexplained. Does not add meaning beyond schema.

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

Purpose3/5

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

The description states it resolves a project and optional hint into candidates, but uses jargon ('persisted session/sub-scope candidates') that lacks clarity. It does not distinguish from sibling tools like mem_scope_guard or mem_search.

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. Only a vague mention of 'before requesting active context' but no explicit context or exclusions.

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