Skip to main content
Glama

Wikidata Entity Details

knowledge.wikidata.entity
Read-onlyIdempotent

Retrieve structured data for any Wikidata entity using its ID. Returns labels, descriptions, aliases, and up to 20 property statements across 300+ languages.

Instructions

Get structured data for a Wikidata entity by ID (e.g. Q42 = Douglas Adams). Returns labels, descriptions, aliases, and up to 20 property statements. 300+ languages supported. CC-0 (Wikidata)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesWikidata entity ID (e.g. "Q42" for Douglas Adams, "Q478214" for Tesla Inc). Get IDs from wikidata.search

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
Behavior4/5

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

Annotations already indicate a safe read operation. The description adds valuable context: return fields (labels, descriptions, aliases, up to 20 property statements), language support (300+), and license (CC-0). No contradictions.

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?

Two sentences with an example and then bullet-like list of return fields. Extremely efficient, no filler. Every word adds value.

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?

Given the presence of an output schema, the description adequately explains the kind of data returned and language support. Could mention handling of invalid IDs, but overall sufficient for a simple read tool.

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% with good parameter description including examples and source. The tool description reinforces the relationship with wikidata.search and adds context for the ID parameter, adding meaning beyond the schema.

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?

Clearly states the verb 'Get' and resource 'structured data for a Wikidata entity by ID'. Provides concrete example (Q42 = Douglas Adams) and distinguishes from sibling 'knowledge.wikidata.search' by indicating IDs come from there.

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

Usage Guidelines4/5

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

Explicitly tells where to obtain IDs (Get IDs from wikidata.search), guiding appropriate usage. Does not explicitly state when not to use, but the sibling tool name implies alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/whiteknightonhorse/APIbase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server