Skip to main content
Glama
Wikidata Entity Knowledge Graph MCP

Wikidata Entity Knowledge Graph MCP

Lookup B2B company identifiers on Wikidata

lookup_company_identifiers
Read-onlyIdempotent

Extract structured B2B corporate identifiers—such as LEI, SEC CIK, ISIN, ticker, EIN, DUNS, and OpenCorporates ID—from a Wikidata company Q-ID for entity resolution and business verification.

Instructions

Extract structured B2B corporate identifiers (LEI, SEC CIK, ISIN, ticker symbol, IRS EIN, DUNS, OpenCorporates ID, official website, headquarters) for a company Q-ID.

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": "lookup_company_identifiers"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesWikidata company Q-ID (e.g. "Q312" for Apple Inc., "Q2283" for Microsoft).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/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, so the safety profile is covered. The description adds value beyond that by listing what is returned (identifier fields), which matters because no output schema exists, but it stays silent on missing identifiers, partial results, or behavior for non-company entities.

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 with zero filler, front-loaded on the verb and resource, with the parameterized entity type placed at the end. Nothing is redundant.

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?

For a one-parameter read tool with full annotation coverage, the definition is serviceable, and enumerating returned identifier types partly compensates for the absent output schema. It still leaves gaps an agent would care about: absence handling, whether missing fields are omitted or null, and how to source the Q-ID.

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% and the schema already documents the single 'id' parameter with concrete Q-ID examples. The description only reinforces that the ID must belong to a company, adding minimal meaning beyond the schema, so the baseline 3 applies.

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 gives a specific verb ('Extract') plus the resource ('structured B2B corporate identifiers') and enumerates the exact identifier types returned (LEI, SEC CIK, ISIN, ticker, EIN, DUNS, OpenCorporates ID, website, headquarters). That enumeration implicitly separates it from generic siblings like get_entity_claims or get_entity_summary, but it never explicitly names a sibling or states the contrast.

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 or when-not-to-use guidance. The definition never says how to obtain the required Q-ID (e.g., via search_entities), nor what happens if the Q-ID refers to a non-company entity, which is the main selection risk for this tool.

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