Skip to main content
Glama

lookup_entity

Resolves a brand/topic/person to a structured entity record built from Wikidata + Wikipedia (free APIs, no auth). Pass exactly one of: name (search by string), qid (Wikidata Q-number to skip search), or wikipediaTitle (resolves to QID via the article's wikibase_item). Returns: qid, label, description, instanceOf (P31 with resolved labels), sameAs (Wikipedia + claim-derived URLs for Twitter/Instagram/Facebook/GitHub/LinkedIn/YouTube/Crunchbase/official site), sitelinks (top 10 language wikis) and sitelinkCount, Wikipedia summary + thumbnail, Wikipedia section outline (canonical sub-topic structure for content briefs), and alternativeMatches when a name search returned multiple candidates. Powers entity-graph alignment checks (Stage 4 trustworthiness, Stage 10B verification) and feeds the content-brief skill's outline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qidNoWikidata Q-number (e.g. "Q12345") to fetch directly, skipping search.
nameNoBrand/topic/person name to search Wikidata for. The top match is resolved; runners-up are returned in alternativeMatches.
skipWikipediaNoIf true, return Wikidata-only (no Wikipedia summary/sections). Default false.
wikipediaTitleNoEnglish Wikipedia article title (e.g. "Acme_Corporation"). Resolves to QID via pageprops, then proceeds.

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that the tool uses free APIs with no authentication, and explains behavior like returning alternativeMatches when a name search yields multiple candidates. It does not mention rate limits or caching, but for a read-only lookup, these are less critical.

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?

The description is fairly long but every sentence adds value. It is front-loaded with the main purpose and method of use. Minor trimming could be possible, but overall it is efficient for the amount of information conveyed.

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?

Given that there is no output schema, the description thoroughly explains the return values including qid, label, description, instanceOf, sameAs, sitelinks, Wikipedia summary, sections, and alternativeMatches. It also covers all four parameters and provides use cases. The tool is fully specified for an AI agent to invoke correctly.

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 description coverage is 100%, but the description adds value beyond the schema by explaining how the 'name' parameter resolves to the top match and returns alternatives, and describes the effect of skipWikipedia. This provides deeper meaning for parameter usage.

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 description clearly states it resolves a brand/topic/person to a structured entity record built from Wikidata and Wikipedia. It lists the three ways to call it (name, qid, wikipediaTitle) and details the return fields. This distinguishes it from sibling tools like analyze_page or get_brand_overview.

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?

The description explicitly states to pass exactly one of name, qid, or wikipediaTitle. It also provides context for when to use the tool (entity-graph alignment checks, content briefs). However, it does not explicitly mention when not to use this tool or suggest alternatives, which would be helpful.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: page SEO vs site AI discovery vs bot checks vs graph computation vs link extraction vs brand info vs page fetching vs listing vs entity lookup vs freshness parsing vs search. No overlapping responsibilities.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in lower_snake_case (e.g., analyze_page, check_bots, compute_link_graph). No mixing of conventions.

Tool Count5/5

11 tools is well-scoped for the server's purpose (SEO/web analysis). Each tool earns its place, covering page, site, bot, link graph, entity, and freshness analysis without unnecessary bulk.

Completeness5/5

The tool surface appears complete for its domain: it covers individual page SEO, site-wide AI discovery, bot accessibility, link graph analysis, entity lookup, and freshness signals. No obvious gaps for the intended analysis workflows.

Resources