Skip to main content
Glama

Link nodes

link

Create directed edges between nodes with labels like blocks, implements, or causes to define relationships in a reasoning graph. Invalid combinations are rejected, keeping analytics consistent.

Instructions

Create a directed edge from one node to another with a label: blocks, implements, asks, tests, targets, produces, causes, supersedes or distills. Edges feed the ready, next, path, deps and impact analytics and are checked by invariants, so invalid combinations are rejected; success is silent. To remove an edge use unlink.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYestarget node id
fromYessource node id
labelYesedge label

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations indicate a mutation (readOnlyHint=false) but do not cover side effects or error behavior. The description adds 'success is silent' and 'invalid combinations are rejected by invariants,' which are valuable behavioral details beyond annotations. No contradiction with 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?

Three sentences, front-loaded with the primary action, then consequences and alternative. No filler or repetition. Every sentence earns its place.

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

Completeness5/5

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

With three required parameters and no output schema, the description covers the operation's purpose, label options, validation behavior, side effects on analytics, and the removal path. Nothing an agent needs to call this tool correctly is missing.

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 all parameters have descriptions in the schema. The description does not add additional parameter-specific meaning beyond saying 'from one node to another,' which is already implied by source/target node ids. Baseline 3 applies because the schema handles the semantics.

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 the action: 'Create a directed edge from one node to another with a label.' It enumerates the allowed labels, which is explicit. It also distinguishes itself from unlink by naming the removal counterpart, making the purpose unambiguous.

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool: to create edges between nodes, with the note that edges feed analytics. It explicitly directs users to unlink for removal, but it doesn't discuss alternatives like add or set, so it's slightly short of full exclusions.

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