Skip to main content
Glama
MCP Brain Context Manager

MCP Brain Context Manager

by Big0290

get_context_summary

Generates a focused context summary from stored project memories for chat session injection so AI agents can resume work with relevant background.

Instructions

Generate a context summary for chat session injection

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": "get_context_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNoProject identifier to summarize context for
focus_areasNoSpecific areas to focus on in summary
max_memoriesNoMaximum number of memories to include in summary
include_recentNoInclude recent memories in summary

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 discloses almost nothing: it does not say whether the summary is persisted or ephemeral, whether the call is side-effect free, what size/format the returned summary takes, or what the defaults are when all four parameters are omitted.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity edges toward under-specification rather than purposeful concision.

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?

For a tool with four optional parameters, no annotations, and no output schema, the definition is too thin: the agent cannot tell what the summary looks like, how large it will be, or what happens when project_id is omitted. The lack of an output schema means the description should compensate for return-value shape, which it does not.

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 each parameter is already documented in the schema and the baseline of 3 applies. The description adds no meaning beyond it — nothing about default focus areas, memory selection heuristics, or how max_memories interacts with include_recent.

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?

States a specific verb and resource ('Generate a context summary') plus the consumption target ('chat session injection'), so the agent knows what is produced and roughly why. It does not distinguish itself from the sibling auto_inject_context, leaving ambiguity about which one to call for injection.

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 stated preconditions, and no reference to alternatives such as auto_inject_context or get_memory_insights. The agent must infer from the phrase 'chat session injection' whether this is a substitute for or a prerequisite to the injection tool.

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