Skip to main content
Glama

wikidata_get_entity

Read-onlyIdempotent

Retrieve structured Wikidata entity data by Q-ID, with an optional language code, to support lookups and data enrichment.

Instructions

Get structured data for a Wikidata entity by Q-id (e.g. Q42).

Input Schema

NameRequiredDescriptionDefault
idYesWikidata entity ID (e.g. Q42).
languageNoLanguage code (default: en).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

B3.4/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 fully covered. The description adds nothing about language fallback behavior or what the returned 'structured data' comprises, so it is adequate but thin beyond the annotations.

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?

A single front-loaded sentence with no waste, though it is on the terse side and leaves some useful framing (what 'structured data' means, behavior with language) unsaid.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description should clarify what an entity record contains and how the language parameter affects labels, but it does neither. For a simple read tool it is minimally sufficient yet leaves meaningful gaps.

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%; the id and language parameters are both documented in the schema, and the description's Q-id example merely echoes the schema text. Baseline 3 applies since the schema carries the semantic load.

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?

States a specific verb ('Get') and resource ('structured data for a Wikidata entity') and pins the lookup key to a Q-id with an example. This implicitly separates it from wikidata_search (query-based), though it never names that sibling 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?

The Q-id phrasing implies 'use this when you already have an entity ID,' but there is no explicit when/when-not or pointer to wikidata_search for name-based lookup. Usage is inferred rather than stated.

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

Deploy Server

Other Tools