mcp_engram_search_by_relation
Find concepts related to a seed concept in a knowledge graph, filtered by relation label and direction. Results are ranked with static edges first to keep high-relation hubs scoped.
Instructions
Traverse the knowledge graph. Find concepts related to a seed, filtered by optional label and direction. Results include RoMem semantic-speed-gate α per edge and are ranked by prefer_static (default true: static edges first). IMPORTANT FOR SCOPING: use label, direction, and k to keep results small on high-relation hubs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Max results to return (default 50, max 200). Use to scope and prevent huge outputs on central concepts. | |
| label | No | Optional: filter by relation label (e.g. 'depends_on', 'implements') | |
| concept | Yes | The seed concept to query | |
| direction | No | 'from' (A→?), 'to' (?→A), or 'both' (default: 'from') | from |
| prefer_static | No | If true (default), rank by ascending volatility α (static facts first). If false, dynamic/high-α edges first. |