Skip to main content
Glama

suggest_links

Read-onlyIdempotent

Find missing wikilinks and broken link targets in knowledge base docs. Suggest connections for tidying and linking your documentation.

Instructions

List links the knowledge base is missing: documents that mention another document by name without linking to it, and links whose target does not exist. Read-only. Use it when asked to tidy or connect the knowledge base, then fix the documents with propose_update (add [[wikilinks]] in the text or in a related: front-matter list). Suggestions a maintainer dismissed are left out.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of suggestions (default 50, max 200), most-mentioned first.
doc_pathNoOnly suggestions for this document (as the one that should add the link). Default: all documents.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
brokenYes
missingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true; the description redundantly states 'Read-only' but adds valuable behavior beyond annotations: dismissed suggestions are excluded, and the two missing-link categories are clarified. This extra context helps an agent understand the tool's persistent state and filtering behavior.

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 is three sentences with the core purpose front-loaded, followed by usage context and behavioral nuance. Each sentence earns its place except for the redundant 'Read-only.' marker, which repeats an annotation.

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?

For a zero-required-parameter tool with a full input schema and an output schema, the description is complete: it covers what the tool returns conceptually, when to use it, how to follow up, and important filtering behavior. The output schema handles return details, so nothing critical 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 description coverage is 100%, with both `limit` and `doc_path` already documented in the schema. The description does not add parameter-specific details, but the schema fully handles parameter meaning, so the baseline of 3 is appropriate.

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 names a specific verb ('List') and resource ('links the knowledge base is missing') and enumerates two concrete categories: documents that mention another document without linking, and links whose target does not exist. This clearly differentiates it from siblings like search_context and propose_update, which are about searching and modifying rather than surfacing missing links.

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?

It explicitly states when to use the tool ('when asked to tidy or connect the knowledge base') and names the follow-up tool ('fix the documents with propose_update'). This gives an agent an actionable decision rule and points to the correct sibling for the next step.

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