Skip to main content
Glama

Link

links_add
Idempotent

Link one of the user's notes, tasks or contacts to a note, task, contact or web page, e.g. a task to the note it came from, or a note to the people it's about. A link goes one way: it is the item's it's from, under linked_notes, linked_tasks or linked_contacts, and shows on a note, task or contact it goes to under linked_from_notes, linked_from_tasks or linked_from_contacts. Linking to a note, task or contact takes the user seeing it, and a contact must be theirs. To file something in a folder, use folders_add_item. Returns the item linked from, as it is now.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "from_type": "<from_type>",
      "from_uuid": "<from_uuid>",
      "to_type": "<to_type>"
    },
    "name": "links_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_urlNoThe web page's address, for to_type web_page
to_typeYesWhat it goes to
to_uuidNoThe note's, task's or contact's uuid
from_typeYesWhat the link goes from
from_uuidYesIts uuid

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the mutation and idempotency annotations, it explains one-way link direction, the linked_* and linked_from_* representations, target-access prerequisites, and that the updated source item is returned. It does not explain duplicate-link handling or likely failure behavior, so it is informative but not exhaustive.

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

Conciseness4/5

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

The description front-loads its purpose and gives each subsequent sentence a useful role, with no substantial filler. However, the dense second sentence and awkward phrases such as "it is the item's it's from" and "takes the user seeing it" reduce readability.

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?

Together with the fully described, enum-rich input schema and output schema, the description supplies nearly everything needed to select and invoke the tool. Explicit valid target-argument combinations and clearer wording of the direction and permission rules would close the remaining invocation gaps.

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

Parameters4/5

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

Although schema coverage is 100%, the prose adds meaningful source/target direction and constraints on the user's source items and accessible internal targets. It leaves the conditional argument combinations implicit rather than explicitly requiring to_uuid for note/task/contact targets and to_url for web_page.

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 opening sentence gives a specific verb, allowed source and target resources, and concrete examples such as linking a task to its originating note. It also distinguishes linking from folder filing by naming folders_add_item.

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

Usage Guidelines5/5

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

Examples establish useful linking scenarios, while "To file something in a folder, use folders_add_item" provides an explicit when-not/alternative rule. Visibility and contact-ownership requirements further clarify when an internal target can be used.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources