Skip to main content
Glama

find_cross_links

Discover direct relationships and shared hubs between Wikidata entities, such as alliances, conflicts, or parent entities, while filtering out irrelevant entertainment and sports connections.

Instructions

Discover direct relationships and shared hubs (alliances, conflicts, parent entities, shared bodies of water) between a set of resolved Wikidata entities, filtering out irrelevant entertainment/sports hubs.

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

Input Schema

NameRequiredDescriptionDefault
qidsYesList of at least two Wikidata entity QIDs to cross-reference (e.g. ['Q159', 'Q212', 'Q7184']).
max_shared_hubsNoMaximum number of shared hub connections to return (default: 30).
max_direct_edgesNoMaximum number of direct inter-entity edges to return (default: 50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does add real value by disclosing a filtering rule ('filtering out irrelevant entertainment/sports hubs'), which an agent could not guess, but it says nothing about cost, rate limits, pagination, or what happens when a QID is unresolved or unrecognized.

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?

A single front-loaded sentence with no filler; the core purpose and the scoping rule come first. It is slightly dense in its trailing parenthetical list and the 'irrelevant' filtering criterion is left subjective, costing a point.

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?

There are no annotations and no output schema, so the description is the only source of behavioral detail. It covers what the tool finds and what it excludes but not the shape of the result (how a direct edge differs from a shared hub) or edge-case behavior for small/unresolvable inputs, leaving a moderate gap for a 3-parameter analytical tool.

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 description coverage is 100% and all three parameters are documented there, including defaults for max_shared_hubs and max_direct_edges. The description adds no further meaning about what the qids list or the caps actually do, so the baseline of 3 applies.

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?

Uses a specific verb ('Discover') against specific resources ('direct relationships and shared hubs') scoped to 'a set of resolved Wikidata entities', with concrete hub categories named (alliances, conflicts, parent entities, shared bodies of water). This scope — multi-entity cross-referencing — is clearly distinct from single-entity relation lookups like get_entity_triples or get_inbound_relations, so an agent can route correctly without opening the schema.

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

Usage Guidelines3/5

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

The phrase 'resolved Wikidata entities' implicitly signals a prerequisite step (resolve_entities first) and the schema's 'at least two' requirement is echoed as a set-based tool, but there is no explicit statement of when to prefer this over get_entity_triples or query_sparql. Usage is inferable rather than stated.

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