Skip to main content
Glama
Wikidata Entity Knowledge Graph MCP

Wikidata Entity Knowledge Graph MCP

Get compact Wikidata entity summary

get_entity_summary
Read-onlyIdempotent

Fetch a concise Wikidata knowledge-graph summary by Q-ID, including label, description, aliases, Wikipedia URL, instance-of classes, website, and claim/sitelink counts.

Instructions

Fetch a concise knowledge-graph summary for a Wikidata Q-ID with label, description, aliases, Wikipedia URL, instance-of classes, website, and claim/sitelink counts.

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_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesWikidata entity ID (e.g. "Q312").
languageNoISO language code (default "en").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered without the prose. The description's contribution is the compactness signal — it returns counts rather than full claim/sitelink payloads — which is genuinely useful. It adds nothing about behavior for unknown Q-IDs, missing fields, rate limits, or authentication, so it stays at the minimum-viable level for a tool whose annotations already do the heavy lifting.

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 sentence, front-loaded with the action and resource, then immediately followed by the returned fields. No filler, no restatement of the title, every clause carries information.

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?

There is no output schema, so the description correctly takes on the job of enumerating return fields, which it does thoroughly for a read tool. The remaining gap is that it does not say how those fields behave when a Wikidata item lacks them (many are optional in practice), which matters for a caller parsing the response. For a two-parameter read-only lookup, that is a small omission rather than a blocking one.

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 'id' (Wikidata entity ID, example Q312) and 'language' (ISO code, default en) documented in the schema. The description mentions the Q-ID but adds no meaning beyond the schema — no note on language affecting which labels/descriptions are returned, which is the one semantic an agent might want. Baseline 3 applies when the schema carries the parameter burden.

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 pairs a specific verb ('Fetch') with a specific resource ('knowledge-graph summary for a Wikidata Q-ID') and enumerates exactly what the summary contains: label, description, aliases, Wikipedia URL, instance-of classes, website, and claim/sitelink counts. That field list implicitly separates it from siblings that return raw claims or sitelinks (this one returns counts), but no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'concise' / 'summary' / 'counts' suggests a cheap overview step before drilling into get_entity_claims or get_entity_sitelinks. There is no explicit when-to-use statement, no exclusion such as 'use this instead of X when you only need counts', and no prerequisite notes about the ID needing to exist.

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