Skip to main content
Glama

get_entity_triples

Retrieve curated outbound Wikidata triples for one or more entity QIDs and return grouped, deduplicated facts with readable labels for entity analysis.

Instructions

Retrieve curated outbound Wikidata triples for one or more entity QIDs. Returns grouped, deduplicated facts with human-readable predicate and object labels.

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

Input Schema

NameRequiredDescriptionDefault
qidsYesList of Wikidata entity QIDs (e.g. ['Q159', 'Q148']).
predicatesNoSpecific property IDs (e.g. ['P31', 'P36', 'P463']) to restrict retrieval to. Defaults to curated OSINT whitelist.
include_unwhitelistedNoSet true to retrieve all direct outbound properties without whitelist filtering (capped at 2000 bindings).
max_values_per_predicateNoMaximum number of values to retain per predicate (default: 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add useful return-shape context ('grouped, deduplicated facts with human-readable predicate and object labels'), but it never states that the operation is read-only, nor does it surface the whitelist/curation behavior or the 2000-binding cap in the description body (those appear only in the schema).

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?

Two tightly written sentences with zero waste. The retrieval scope is front-loaded and the return-shape note follows, so an agent can act on it immediately.

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 and no annotations, the description does well to describe the returned structure and the curation model. It is nearly complete for a read tool, with the main omission being an explicit read-only/safety statement and any note on truncation behavior.

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%, so all four parameters, including the whitelist default and the 2000-binding cap, are already documented. The description adds nothing about parameter meaning or interactions, so the baseline of 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 uses a specific verb and resource ('Retrieve curated outbound Wikidata triples') and scopes it to 'one or more entity QIDs'. The word 'outbound' implicitly distinguishes it from the sibling get_inbound_relations, though it doesn't explicitly name alternatives like query_sparql or find_cross_links.

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 and no alternatives are named. An agent must infer from the purpose alone that this is the tool for pre-curated facts about known QIDs rather than for arbitrary SPARQL (query_sparql) or relation discovery (find_cross_links).

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