Skip to main content
Glama
MCP Brain Context Manager

MCP Brain Context Manager

by Big0290

trace_knowledge_path

Follow how knowledge flows between two concepts through stored memory connections, revealing multi-hop learning or reasoning paths with a configurable hop limit.

Instructions

Trace how knowledge flows from one concept to another through memory connections

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "from_concept": "<from_concept>",
      "to_concept": "<to_concept>"
    },
    "name": "trace_knowledge_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_hopsNoMaximum number of connection hops (default: 5)
project_idNoProject context for search
to_conceptYesTarget concept or memory
from_conceptYesStarting concept or memory

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?

With no annotations supplied, the description carries the full behavioral burden and discloses almost nothing. It never states whether the operation is read-only, what happens when no path exists between the two concepts, how directionality of connections is treated, or what the traversal costs on a dense graph.

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 but so terse that it leaves out information the agent would need, so it is not a model of structure.

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?

This is a four-parameter graph traversal with zero annotation coverage and no output schema, so the description must explain behavior and results — but it never says what a 'trace' returns (a path, an ordered edge list, a subgraph?) or how empty results are signaled. For a traversal tool with no structured safety metadata, that is a substantial gap.

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 from_concept, to_concept, max_hops, and project_id are already documented in the schema. The description adds only the framing that a path is being traced between two concepts, without clarifying hop semantics (e.g., whether max_hops bounds path length or search breadth) or what project scoping changes. Baseline 3 applies.

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 uses a specific verb ('Trace') and a well-defined resource ('how knowledge flows from one concept to another through memory connections'), so an agent can tell it is a graph-traversal/pathfinding tool rather than a plain retrieval tool. It does not explicitly contrast itself with siblings like get_knowledge_graph or search_similar_experiences, so it falls short of a 5.

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 when-to-use guidance, no prerequisites, and no exclusions are given. The phrasing implies a discovery/traversal scenario, but the agent must infer that this is the right choice when it wants a connection path rather than a graph dump or a similarity search.

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