Skip to main content
Glama
diaz3618

memory-bank-mcp

graph_link_entities

Create or remove a directed relationship between two entities in the memory knowledge graph. Specify source (from), relation type, and target (to). Optionally set action to 'unlink' to remove the relationship.

Instructions

Create or remove a directed relationship between two entities. Use action:"unlink" to remove a relationship.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
storeIdNoOptional store ID to target a specific registered store instead of the active one
actionNoAction to perform: "link" (default) to create, "unlink" to remove
fromYesSource entity name or ID
relationTypeYesType of relationship (e.g., "works_on", "knows", "depends_on")
toYesTarget entity name or ID
Behavior2/5

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

With no annotations provided, the description must fully disclose behavioral traits. It only mentions creation and removal, but omits details such as what happens on duplicate links, missing entities, or whether the operation is idempotent.

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

Conciseness5/5

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

Extremely concise (two sentences) with the primary action front-loaded. Every word is meaningful and there is no redundancy.

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?

Lacks description of return values or error scenarios, which is important since no output schema is provided. Also fails to explain directedness or any constraints on relationship types, leaving gaps for an agent using this tool.

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 coverage is 100%, so the schema already documents all parameters clearly. The description adds no new semantic information beyond restating the action field's role.

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

Purpose5/5

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

Clearly states the tool creates or removes a directed relationship between two entities. This distinguishes it from sibling graph tools like graph_search or graph_upsert_entity, which have different purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies usage for linking/unlinking entities by specifying the action parameter, but does not provide explicit guidance on when to use this tool versus other graph manipulation tools, nor does it mention prerequisites or side effects.

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/diaz3618/memory-bank-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server