Skip to main content
Glama
Wikidata Entity Knowledge Graph MCP

Wikidata Entity Knowledge Graph MCP

Get Wikidata entity sitelinks

get_entity_sitelinks
Read-onlyIdempotent

Retrieve Wikipedia and Wikimedia sitelinks with canonical article URLs for a Wikidata entity ID, letting you map a Q-ID to its pages across language editions.

Instructions

Retrieve Wikipedia and Wikimedia project sitelinks and canonical article URLs for a Wikidata entity.

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": {
      "id": "<id>"
    },
    "name": "get_entity_sitelinks"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesWikidata entity ID (e.g. "Q312").
limitNoMaximum sitelinks to return (1-200, default 30).
site_filterNoOptional filter matched against site code or title (e.g. "enwiki", "dewiki").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds that results include canonical article URLs, which is useful return-shape context, but says nothing about ordering, pagination, or what happens when an entity has no sitelinks.

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?

A single front-loaded sentence with no filler; every clause (sitelinks, canonical article URLs, Wikidata entity) carries information an agent needs.

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?

For a simple three-parameter read tool with no output schema, the description adequately signals what comes back (sitelinks plus canonical URLs). It is slightly thin on return structure and pagination behavior, but nothing critical to invoking it correctly 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 coverage is 100%, so id, limit, and site_filter are fully documented in the schema including defaults and bounds. The description adds no extra meaning about how site_filter matching behaves (site code vs. title) beyond what the schema already states.

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?

Names a specific verb (Retrieve) and a specific resource (Wikipedia/Wikimedia sitelinks and canonical article URLs) scoped to a Wikidata entity. An agent can tell this apart from get_entity_claims or get_entity_summary by the resource named, though the description never explicitly contrasts with those siblings.

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?

There is no when-to-use guidance, no prerequisites, and no mention of when a different sibling (e.g. get_entity_summary) would be the better pick. Usage must be inferred entirely from the resource noun.

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