Skip to main content
Glama

link_knowledge

Link two knowledge entries (e.g. "confirmed_by", "contradicts", "based_on", "led_to")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
relationYesRelation type (e.g. "confirmed_by", "contradicts", "based_on", "led_to")
sourceIdYesSource entry ID
targetIdYesTarget entry ID
projectIdYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. 'Link' implies a mutation, but the description does not say whether the operation is idempotent, whether the link is bidirectional, what happens if the link already exists, or whether creating both directions is required. The reversibility via unlink_knowledge is implied only by a sibling name, not stated here.

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?

A single front-loaded sentence with zero wasted words; the verb, resource, and example values all appear quickly. It is appropriately terse for a four-string-parameter tool, though it sacrifices usage and behavior context for brevity.

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

Completeness3/5

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

For a simple tool with four self-describing string parameters and 100% schema coverage, the description is nearly sufficient. However, because there are no annotations, the missing mutation semantics (idempotency, side effects, reversibility) leave the agent without a complete picture of what happens when the tool is invoked.

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 description coverage is 100%, so the baseline is 3. The description's relation examples duplicate what the schema already documents for the 'relation' parameter and add no new meaning about parameter semantics, formats, or constraints beyond the structured fields.

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 states a specific verb ('Link') and resource ('two knowledge entries'), and the relation-type examples ('confirmed_by', 'contradicts', etc.) clarify what kinds of connections can be created. It is clear and unambiguous, though it does not explicitly differentiate itself from similar siblings like add_knowledge_refs or the inverse unlink_knowledge.

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?

No guidance is given on when to use this tool versus alternatives. The presence of unlink_knowledge (the reverse operation) and add_knowledge_refs (potentially similar linking behavior) makes this a real gap — the agent must infer the boundary between these tools without any explicit when-to-use or when-not-to-use context.

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