Skip to main content
Glama

ground_entities

Resolve entity mentions to Wikidata QIDs and retrieve curated triples, cross-links, and inbound relations to ground briefs.

Instructions

Single composite tool to ground a brief: resolves all mentions to Wikidata QIDs, retrieves curated outbound triples, discovers inter-entity cross-links and shared hubs, and retrieves key inbound rosters.

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

Input Schema

NameRequiredDescriptionDefault
entitiesYesList of entity mentions extracted from the brief.
predicatesNoOptional override list of predicate IDs for outbound triples. Defaults to full OSINT whitelist.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/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 burden; it does disclose the multi-step behavior (resolution, outbound, cross-links, inbound), which is real behavioral content. However, it omits that this is a read-only operation profile, says nothing about cost/latency of the composite fan-out, and — with no output schema — gives no sense of the return structure.

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 dense sentence, front-loaded with the purpose ('Single composite tool to ground a brief') before the operation list. No filler, though the trailing operation list is packed without separators that might aid scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a composite aggregation tool with no annotations and no output schema, the description should describe the shape of what comes back and how the bundled results are organized. It lists operations but never characterizes the response, leaving a significant gap for an agent trying to consume the output.

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 the schema already documents 'entities' subfields (mention, domain, class_qids, alternate_labels) and 'predicates'. The description adds no parameter-level meaning, so the baseline 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+resource framing and enumerates the four concrete operations (QID resolution, outbound triples, cross-links/shared hubs, inbound rosters), so an agent can understand what the tool achieves. The phrase 'single composite tool' hints at consolidation but does not explicitly differentiate it from the atomic siblings like resolve_entities 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?

Usage is only implied via 'to ground a brief'; there is no explicit statement of when to prefer this composite over the individual sibling tools, nor any when-not-to-use guidance or prerequisites. An agent must infer the batching rationale on its own.

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