Skip to main content
Glama
theseoriddler

Google Knowledge Panel MCP Server

Compare entities

compare_entities
Read-only

Compare 2-5 Google Knowledge Graph or Wikidata entities to see types, descriptions, prominence, readiness, gaps, key facts, connections, and official profiles. Use for same-name or competitor checks.

Instructions

Compare 2-5 entities side by side: types, descriptions, prominence and readiness scores, what each is missing, key facts and connections, and official profiles. Use it for same-name entities (pass their IDs from find_entities) or for competitors (pass names like "hubspot" and "salesforce"). Google data needs GOOGLE_KG_API_KEY; without it, results come from Wikidata only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entitiesYesEntities to compare: Knowledge Graph IDs ("/m/0dr90d"), Wikidata IDs ("Q478214"), or names (a name resolves to its top match).
languageNoLanguage code, e.g. "en", "fr".en

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish readOnlyHint and openWorldHint, so the bar is lower. The description adds real behavioral context beyond them: the external Google KG dependency, the required API key, and that results silently narrow to Wikidata when it is absent. It does not describe result sizing beyond the 2-5 input bound.

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?

Front-loaded with the comparison scope and the compared dimensions, then the usage patterns, then the auth caveat. Two dense sentences with no filler, though the enumerated dimension list is long enough to slightly dilute the core action.

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?

With no output schema, the description usefully previews what comes back (types, scores, gaps, facts, connections, profiles). Combined with input formats, cardinality, use-case routing, and the API-key fallback, an agent can select and invoke this correctly without further inference.

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%, so the accepted ID formats (KG IDs, Wikidata IDs, names) are already documented in the schema. The description nonetheless reinforces name-resolution semantics with concrete examples ('hubspot', 'salesforce') and cross-references find_entities as the ID source, adding practical value over the schema alone.

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?

States a specific verb (compare) and resource (entities) with an explicit 2-5 cardinality, then enumerates exactly what is compared: types, descriptions, prominence/readiness scores, gaps, key facts, connections, and profiles. This distinguishes it from siblings like get_entity or analyze_entity_prominence.

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

Usage Guidelines5/5

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

Gives two concrete use cases with the exact argument pattern for each: same-name entities by passing IDs 'from find_entities', competitors by passing names like "hubspot" and "salesforce". It also states a prerequisite (GOOGLE_KG_API_KEY) and the degraded fallback behavior, so the agent knows when the tool will under-deliver.

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