Skip to main content
Glama
google-seo-mcp
by Akxan

Entity presence: Google Knowledge Graph + Wikidata

knowledge_graph_check
Read-onlyIdempotent

Verify whether a brand, business, or place exists as an entity in Wikidata and Google Knowledge Graph, and get actionable steps to establish one if missing.

Instructions

Check whether a brand/business/place exists as an entity in Wikidata (free, no key) and in Google's Knowledge Graph Search API (needs the 'Knowledge Graph Search API' enabled on the GCP project and a key in GOOGLE_API_KEY or PAGESPEED_API_KEY). AI engines and Google rely on entities to know 'who' a site is; if none exists, the result includes the steps to establish one. Narrow a generic heritage or place name with types, or pass ids to follow one known entity over time instead of searching by name again.

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": {
      "name": "<name>"
    },
    "name": "knowledge_graph_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoLook up known Knowledge Graph entity ids instead of searching by name, e.g. ['kg:/m/02_286'] as printed by a previous run (the 'kg:' prefix is stripped automatically). Tracks the same entity over time without re-matching the name.
nameYesEntity name, e.g. 'Altai Turismo' or 'Casa Sefardí de Sevilla'.
limitNo
typesNoRestrict Knowledge Graph hits to these schema.org types, e.g. ['Organization','Place','TouristAttraction'] - the fastest way to cut the noise around a generic monument or town name.
languagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Changed2 schema fields changedv0.10.0
    • addedInput schema / properties / ids
      Added value: +{
      +  "description": "Look up known Knowledge Graph entity ids instead of searching by name, e.g. ['kg:/m/02_286'] as printed by a previous run (the 'kg:' prefix is stripped automatically). Tracks the same entity over time without re-matching the name.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
    • addedInput schema / properties / types
      Added value: +{
      +  "description": "Restrict Knowledge Graph hits to these schema.org types, e.g. ['Organization','Place','TouristAttraction'] - the fastest way to cut the noise around a generic monument or town name.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
  3. Changed1 schema field changedv0.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observedv0.3.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, yet the description still adds material context: Wikidata is free and keyless, Google requires the Knowledge Graph Search API enabled on a GCP project plus a key in GOOGLE_API_KEY or PAGESPEED_API_KEY, and a negative result returns remediation steps. That auth-failure mode is exactly the kind of operational detail annotations cannot express; only the exact return shape is left vague.

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?

One front-loaded paragraph that opens with the check and then layers prerequisites, fallback behavior, and parameter strategy — all sentences carry information. It is dense, with long appositive clauses, so an agent must parse carefully, but there is no filler or repetition.

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?

With no output schema, the description does state that a null result carries steps to establish an entity, which is the key return-value behavior an agent needs. Auth requirements, dual backends, and both lookup modes are covered; only the response structure for positive hits and the limit/languages semantics go undocumented.

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 60%, and the description compensates for part of the gap by explaining the intent behind two parameters — 'narrow a generic heritage or place name with types' and 'pass ids to follow one known entity over time'. The limit and languages parameters remain unexplained in both places, keeping it below a 5.

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 uses a specific verb ('Check whether ... exists as an entity') and names both resources it queries: Wikidata and Google's Knowledge Graph Search API. It also states the underlying rationale (AI engines rely on entities to know 'who' a site is), which makes the tool's remit unmistakable compared to sibling checks like brand_mentions or ai_citation_check.

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?

It gives concrete selection guidance within the tool: use types to narrow generic heritage/place names, use ids to track a known entity over time 'instead of searching by name again'. What's missing is guidance about when to reach for this versus siblings such as brand_mentions, but the internal routing between its own modes is explicit.

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