Skip to main content
Glama

Compare public KG entities

compare_knowledge_entities
Read-only

Compare two to four public Zhiyong AI knowledge graph entities after semantic discovery. Use this when a user needs a short-list comparison. Returns decisionProfile selection dimensions plus public metadata, known notes, and typed relations; source evidence, raw URLs, and write operations are omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesTwo to four public entity ids, slugs, or exact names returned by search_knowledge_graph.
languageNoOptional output language override. If omitted, the server uses Accept-Language and then Cloudflare IP country; the final fallback is English.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
policyNo
entitiesYes

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds useful context by listing what is included (decisionProfile dimensions, metadata, notes, relations) and explicitly noting what is omitted (source evidence, raw URLs, write operations). This goes beyond the annotations.

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?

The description is compact and well-structured, leading with the action and use case, then stating return contents and exclusions. Every sentence adds value, and there is no redundant information.

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 appropriately outlines the nature of returned data and what is excluded. It does not mention prerequisites or error conditions, but for a read-only comparison tool with full schema coverage, this is sufficient.

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?

The input schema provides 100% coverage for both parameters, including descriptions. The tool description does not add further semantic meaning to the parameters beyond what the schema already states, so it sits at the baseline for full schema coverage.

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 the tool's function: comparing two to four public knowledge graph entities, with a specific scope and purpose. It distinguishes itself from siblings by focusing on comparison rather than retrieval or search, which is immediately obvious.

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 explicitly states the condition for use: 'when a user needs a short-list comparison.' However, it does not mention when not to use it or directly reference alternative tools, so it lacks the full when/when-not guidance.

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.4/5.0
Disambiguation5/5

Search, get, and compare serve clearly distinct workflows: discovering candidates, fetching a single entity, and comparing a short-list. Overlapping output fields do not create meaningful ambiguity because the operational intent is different.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case and domain-specific objects. Singular/plural and graph-versus-entity variations are grammatically appropriate for each operation.

Tool Count5/5

Three tools form a tight, well-scoped read-only knowledge graph server. Each tool earns its place and together they cover the core search, inspect, and compare workflow without redundancy.

Completeness5/5

For a read-only AI transformation selection engine, the surface covers discovery via search, detail via get, and comparative analysis via compare. Write operations and raw source evidence are explicitly and intentionally excluded, so there are no consequential gaps.

Resources