Skip to main content
Glama
MCP Brain Context Manager

MCP Brain Context Manager

by Big0290

fetch_memory

Retrieve stored memories using semantic search and filters for tags, project, or memory type to surface relevant context and past tasks.

Instructions

Fetch memories based on search criteria

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fetch_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoFilter by tags
limitNoMaximum number of results
queryNoSearch query for semantic search
project_idNoProject identifier
memory_typeNoFilter by memory type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing. It does not state that this is a read-only operation, how results are ranked or paginated, what happens when filters are combined, or whether any permissions/scope apply to project_id.

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?

It is a single short, front-loaded sentence with no redundant wording, which is good structure. The brevity is efficient rather than padded, though it borders on under-specification given the tool's five optional parameters.

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?

With five optional parameters, no annotations, and no output schema, the description needs to shoulder more explanatory weight than one clause can bear. It leaves unclear what a result looks like, how empty or unlimited result sets behave, and whether semantic query search combines with tag/type filters as AND or OR.

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 every parameter (tags, limit, query, project_id, memory_type) is already documented in the input schema, which sets the baseline at 3. The description adds only the generic notion of "search criteria" and no extra meaning about how filters interact or how semantic search relates to tag filtering.

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 names a specific verb and resource ("Fetch memories") and hints at filtering via "search criteria", so an agent knows the operation is a filtered retrieval. It does not distinguish this tool from plausible siblings such as search_similar_experiences or get_memory_insights, leaving the agent to infer which retrieval surface to use.

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?

There is no when-to-use guidance, no when-not-to-use guidance, and no named alternative. The phrase "based on search criteria" only restates the presence of filter parameters rather than telling the agent under what circumstances this tool is the right choice.

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