Skip to main content
Glama
isina-nej
by isina-nej

Memory link

memory_link

Links two entities using a specified relation type to record an association in the memory graph.

Instructions

Link two entities with a typed relation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
relationYes
to_entityYes
from_entityYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations only indicate readOnlyHint=false, idempotentHint=false, openWorldHint=false, and destructiveHint=false, so the description carries the burden of explaining side effects. It does not disclose whether existing links are overwritten, whether entities must already exist, or what state changes occur. 'Link' implies mutation, but no behavioral detail is added beyond the annotations.

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?

The description is a single, tightly written sentence with no filler. It front-loads the core action and object, and every word earns its place.

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 mutation tool with three required parameters, zero schema parameter descriptions, and minimal annotations, this description is far too thin. It does not explain how relation values are expressed, whether entities must already be present, or what happens on repeated links. An agent could guess the basics but would lack enough context for confident invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds a minimal hint that from_entity and to_entity are 'entities' and that relation is 'typed', but the schema property names already convey that. No additional meaning is given for valid relation values, ID formats, or entity requirements.

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 ('Link') with a clear resource ('two entities') and a typed relation, which distinguishes it from the broader memory_store, memory_recall, and memory_forget siblings. It is not merely a restatement of the tool name, though it stops short of explicitly contrasting itself with those siblings.

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 guidance on when to use this tool versus memory_store, memory_recall, or memory_forget. The phrase 'Link two entities' implies the purpose, but no prerequisites, exclusions, or alternative tool conditions are provided.

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

Deploy Server

Other Tools