Skip to main content
Glama

Link Entries

link_entries

Create relationships between two journal entries to connect related notes, track context, and preserve project memory across AI sessions.

Instructions

Create a relationship between two journal entries

Input Schema

NameRequiredDescriptionDefault
toNo
relNo
fromNo
textNo
typeNo
to_idNo
from_idNo
messageNo
source_idNo
target_idNo
descriptionNo
to_entry_idNoID of the target entry. Anti-Hallucination Hint: use to_entry_id, not targetId
workspace_idNo
from_entry_idNoID of the source entry. Anti-Hallucination Hint: use from_entry_id, not sourceId
project_numberNo
relationship_typeNo

Output Schema

NameRequiredDescriptionDefault
codeNoError code (e.g. VALIDATION_ERROR, INTERNAL_ERROR)
errorNoHuman-readable error message
detailsNoAdditional error context
messageNoAdditional context about the operation
successNo
categoryNoError category (validation, query, connection, internal)
duplicateNoTrue if relationship already existed
suggestionNoSuggested fix for the error
recoverableNoWhether the error is recoverable
relationshipNo
aggregated_errorsNoDetails of individual errors in a multi-step operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already establish that this is a non-idempotent, non-destructive, closed-world write. The description adds nothing beyond that: it does not say what happens on a duplicate link (non-idempotent hint makes this critical), whether the relationship type is free-form, or what happens if an endpoint is missing. For a 16-parameter mutation with zero required fields, this is a substantial behavioral gap.

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

Conciseness3/5

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

A single front-loaded sentence with no filler, so nothing is wasted. But the brevity is achieved by omission rather than by precision; a 16-parameter tool warrants more structure than one clause.

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?

An output schema exists, so return values need not be explained, but the description never addresses the gap that no parameters are required despite 'between two entries' implying two are needed. With 16 loosely-related alias parameters and 13% schema coverage, the description leaves an agent unable to construct a correct call.

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

Parameters1/5

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

Schema description coverage is 13% and the description adds no parameter meaning at all. The schema exposes roughly a dozen competing aliases for the same concept (to/to_id/target_id/to_entry_id, from/from_id/source_id/from_entry_id, rel/type/relationship_type) with zero guidance on which set is canonical — only two params carry any hint. This is exactly the case where the description had to compensate and did not.

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 gives a specific verb and resource ('Create a relationship between two journal entries'), which is clearly understandable. However, it makes no attempt to distinguish itself from the sibling team_link_entries, so an agent has no basis for choosing between the two without inspecting schemas.

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 when-to-use guidance, no mention of prerequisites (do both entries need to exist? must they be in the same workspace?), and no mention of alternatives such as team_link_entries or visualize_relationships. The agent must infer everything from the name.

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