Skip to main content
Glama

Check wiki links

wiki_lint
Read-onlyIdempotent

Detect orphan pages and broken wikilinks in a wiki link structure, reporting counts and lists without modifying content. Use after syncing or before publishing to find link issues.

Instructions

Check the link structure of wiki/: find orphan pages (no inbound [[wikilinks]]; index, overview and log are exempt) and broken [[wikilinks]] that point to no page. Returns JSON {total_pages, orphan_count, orphans, broken_link_count, broken_links}, listing at most 50 of each. Read-only: it reports and changes nothing. Use it after wiki_sync or before publishing; use wiki_lifecycle or wiki_confidence to review page quality.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.2

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, and the description reinforces that with "reports and changes nothing." It adds genuinely non-obvious behavior beyond the annotations: the exact result keys and, critically, that orphans and broken_links are capped at 50 each, which tells an agent the output may be truncated rather than exhaustive.

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

Conciseness5/5

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

Front-loaded with the operation and findings, then the return shape, then the safety note, then routing to alternatives. Every sentence carries distinct information with no restatement of the title or name.

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?

There is no output schema, but the description enumerates the return JSON fields and the 50-item cap, so an agent knows what it will get back. Combined with read-only annotations, nothing needed to call this correctly is missing.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline applies. It does implicitly confirm the scope is the whole wiki/ tree with no filtering options, which is the only parameter-adjacent fact an agent would need.

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?

Names a specific verb and resource ("Check the link structure of wiki/") and then defines both findings precisely: orphan pages as those with no inbound [[wikilinks]] (with index/overview/log explicitly exempt) and broken [[wikilinks]] pointing to no page. This is far more specific than the title and lets an agent distinguish it from sibling review tools like wiki_confidence or wiki_lifecycle.

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?

Gives explicit timing triggers ("after wiki_sync or before publishing") and names the alternative tools for a different job ("wiki_lifecycle or wiki_confidence to review page quality"). Both when-to-use and when-to-use-something-else are covered.

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