Skip to main content
Glama

link_topics

Records a directed connection between two existing topics with a one-sentence reason, helping you surface cross-field links in your knowledge graph.

Instructions

Record a directed connection between two topics. Both must already exist.

The best connections cross fields: a principle linking a golf idea to a poker idea, or a book to the principle it develops. The reason should name what the two share, in terms of the subject only, not the person.

Args: from_topic: Name of the topic that led to the other. to_topic: Name of the topic that was reached. reason: One sentence on the idea that connects them, e.g. 'both turn on judging a decision by its process, not its outcome'. reviewed: Set True only if you were told the reason was too personal and have confirmed the wording is fine as written.

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_topic": "<from_topic>",
      "to_topic": "<to_topic>",
      "reason": "<reason>"
    },
    "name": "link_topics"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYes
reviewedNo
to_topicYes
from_topicYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses the key prerequisite that both topics must already exist and the semantics of the review workflow, but leaves open what happens on a nonexistent topic, whether duplicate links are rejected or merged, and whether the call is idempotent — all material for an unannotated write tool.

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?

Purpose and precondition are front-loaded, then qualitative guidance, then parameters — a sensible order. The middle paragraph on cross-field connections is longer and more editorial than strictly necessary, but it does convey a real quality criterion rather than padding.

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?

The description supplies the prerequisite, directionality, reason format, and the non-obvious reviewed flag, and an output schema exists so return values need no explanation. What remains is failure behavior for missing topics and duplicate-link handling, which keeps it short of fully complete for an unannotated mutation tool.

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?

Schema coverage is 0%, so the description must compensate, and it largely does: all four parameters are given meaning beyond their bare types, including the directionality contract of from_topic/to_topic, the one-sentence format for reason with an example, and the precise gating condition for reviewed. The remaining gap is that topic-name matching (exactness, case sensitivity) is never defined.

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 first sentence gives a specific verb and resource — 'Record a directed connection between two topics' — plus the precondition that both topics already exist, which tells an agent this is not a topic-creation tool like log_topic. It stops short of naming a sibling explicitly, so the differentiation is implied rather than stated.

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?

Directional usage is spelled out through the args ('the topic that led to the other' vs 'the topic that was reached'), and the reviewed parameter carries an explicit when-to-set condition ('only if you were told the reason was too personal'). There is guidance on what a good link looks like (cross-field, subject-only, not about the person) but no explicit when-not-to-use or alternative tool to pick instead.

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