Skip to main content
Glama

link

Create typed edges between entities to define relationships like refines, depends_on, or supersedes. Supports entity kinds such as thread, note, and task.

Instructions

Create a typed edge between two entities.

Kinds: thread, note, concept, distill, task, signal, probe. Relations (suggested, free-form ok): refines, contradicts, exemplifies, depends_on, mentions, elaborates, supersedes.

Existing edge with same (from, to, relation) is replaced (re-linking means updating weight/timestamp, not duplicating).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
from_kindYes
from_idYes
to_kindYes
to_idYes
relationYes
weightNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description discloses key behavior: existing edges are replaced (upsert) and weight/timestamp are updated. This is valuable. However, it does not discuss authentication needs, validation, or error states (e.g., missing entities).

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 concise and well-structured: a purpose statement followed by bullet-like lists for kinds and relations. Every sentence adds value without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the presence of an output schema (not shown), the description does not need to detail return values. It covers core behavior and constraints, but omits prerequisites and error handling, which are acceptable for a simple linking 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 0%, so the description must compensate. It lists valid values for 'kind' and 'relation' but does not define 'from_id', 'to_id', or 'weight' (though weight has a default). The description partially aids understanding but leaves gaps.

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?

The description clearly states 'Create a typed edge between two entities,' using a specific verb and resource. It lists supported kinds and relations, making the purpose unambiguous. The existence of a sibling 'unlink' implicitly distinguishes this as the creation/update tool.

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?

The description provides usage context by listing entity kinds and relations, but does not explicitly state when to use this tool versus alternatives like 'unlink' or 'core_set'. No exclusions or decision criteria are given.

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/po4erk91/thread-keeper'

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