Skip to main content
Glama
mcp-server-qlever

mcp-server-qlever

by XORwell

describe_entity

Look up triples where an IRI is subject or object, returning outgoing properties and incoming references to explore an entity in QLever knowledge graphs.

Instructions

Look up all triples where a given IRI appears as subject or object. Returns both outgoing properties (where the entity is the subject) and incoming references (where it is the object). Accepts full IRIs (e.g. 'http://www.wikidata.org/entity/Q42') or prefixed names if the dataset supports them.

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": {
      "iri": "<iri>"
    },
    "name": "describe_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
iriYesThe IRI of the entity to describe, e.g. '<http://www.wikidata.org/entity/Q42>'
limitNoMaximum number of triples to return (default: 100, max 10000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full load. It does disclose the important behavioral trait that results include both incoming and outgoing edges, and that prefixed names may be accepted. It omits what happens on an unresolvable IRI, whether results are truncated silently at the limit, and the shape of each returned triple, which matters for a lookup with no output 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?

Three short sentences, front-loaded with what the tool returns, followed by the subject/object distinction and then accepted input forms. No filler and no repetition of the schema.

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?

For a two-parameter read lookup with no annotations and no output schema, the description covers purpose, scope, and input forms adequately. The remaining gap is return-shape detail (what a triple looks like, truncation behavior), which an agent would need for anything beyond casual exploration.

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 baseline is 3, but the description adds meaningful detail the schema does not: that the iri parameter may take a prefixed name when the dataset supports it, whereas the schema example shows only a full bracketed IRI. It says nothing extra about the limit parameter beyond what the schema already states.

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?

Uses a specific verb ('look up') and resource ('all triples where a given IRI appears as subject or object'), and immediately clarifies the bidirectional scope (outgoing properties and incoming references). An agent can tell this is an entity-centric neighborhood lookup, though it never names the sibling it competes with (search_entities or sparql_query) for that job.

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?

Usage is only implied: an agent can infer this is the exploratory 'tell me everything about this entity' step rather than a filtered search or arbitrary SPARQL query. There is no explicit when-to-use/when-not-use statement and no alternative named, so the agent must reason from the sibling list itself.

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