Skip to main content
Glama

get-links-here

Read-onlyIdempotent

Lists pages that link to, transclude, or display a target wiki page, with namespace and redirect filters and optional redirect expansion.

Instructions

Lists pages that reference a target wiki page, returning each referencing page's title, page ID, namespace ID, and whether it is a redirect. The type parameter selects the relationship — wikilinks (pages that link to the target), transclusions (pages that embed it, such as a template), or fileusage (pages that display it, for file description pages) — one relationship per call. With expandRedirects, a referencing redirect also yields the pages that link through it (wikilinks and fileusage only), each tagged with the via redirect. Filter by namespace ID or by redirect status. For members of a category, use get-category-members; for full-text content search, use search-page. Returns up to 500 per call; paginate with continueFrom. The redirect flag appears only when the referencing page is a redirect.

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": {
      "title": "<title>"
    },
    "name": "get-links-here"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoInbound relationship to list: wikilinks (pages that link to the target), transclusions (pages that embed it), or fileusage (pages that display it)wikilinks
wikiNoWiki to target, as a key from the mcp://wikis/ resources (e.g. en.wikipedia.org), or the full mcp://wikis/ URI. Omit to use the default wiki.
limitNoMaximum referencing pages to return (1..500)
titleYesWiki page title to find references to (the link target). A File title when type is fileusage.
filterNoFilter the referencing pages by redirect statusall
namespacesNoNamespace IDs to filter the referencing pages by
continueFromNoOpaque continuation token from the previous response; omit on first call
expandRedirectsNoWhen a referencing page is a redirect to the target, also return the pages that link through it. Applies to wikilinks and fileusage only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.10.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, but the description adds real operational context beyond them: the 500-result cap, the need to paginate with continueFrom, the conditional nature of the redirect flag, and the caveat that transitive links only surface for wikilinks and fileusage. These are the details that actually change how an agent calls the 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 is front-loaded and the sentences are dense with substance rather than filler. It is a bit long and duplicates the schema's enum explanations for type and expandRedirects, but no sentence is genuinely wasted and the ordering (what it does → parameter semantics → alternatives → limits) is sensible.

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?

With eight parameters and no output schema, the description compensates by describing the shape of each returned item and the pagination mechanism. Together with the sibling routing and the stated 500 cap, an agent has everything needed to call it correctly on the first attempt.

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 100%, so the baseline is 3; the description goes modestly beyond by explaining how the parameters interact — 'one relationship per call' for type, and the fact that expandRedirects is inert for transclusions. Some of the type and expandRedirects wording restates the schema descriptions verbatim rather than adding new meaning, which keeps it at a 4.

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 names a specific verb and resource — 'Lists pages that reference a target wiki page' — and immediately enumerates what each result contains (title, page ID, namespace ID, redirect status). That is enough for an agent to distinguish it from get-page, get-pages, or search-page without opening a schema.

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 routes the agent explicitly: use get-category-members for category members and search-page for full-text search, and it states the 'one relationship per call' constraint that selects the type value. It also scopes expandRedirects to wikilinks and fileusage only, which prevents a misinvocation.

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