Skip to main content
Glama
mcp-server-qlever

mcp-server-qlever

by XORwell

search_entities

Find entities by matching text in labels or names via SPARQL, supporting rdfs:label and schema:name predicates; returns matching entities with their labels.

Instructions

Search for entities by name or label using SPARQL text matching. Works with datasets that have rdfs:label or schema:name predicates. Returns matching entities with their 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": {
      "search_term": "<search_term>"
    },
    "name": "search_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results (default: 20, max 1000)
search_termYesThe text to search for in entity labels
label_predicateNoThe predicate used for labels (default: rdfs:label). Use 'schema:name' for schema.org-based datasets, or a full IRI like '<http://www.w3.org/2000/01/rdf-schema#label>'.rdfs:label

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.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 must carry the behavioral burden; it does disclose the predicate dependency and that results include entity labels. It says nothing about match semantics (substring vs. exact vs. case sensitivity), result ordering, or truncation behavior beyond the limit parameter, which matters for a text-matching search.

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 tight sentences with no filler: purpose first, dataset prerequisite second, return shape third. Nothing is redundant with the name or with each other.

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 simple three-parameter read-only search with full schema documentation, the description covers purpose, applicability, and the return shape. The main residual gap is match semantics and how it relates to search_fulltext, which a slightly richer definition would include.

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 three parameters are already documented in detail, including the default and format for label_predicate. The description reinforces the label-predicate requirement but adds no new syntax or constraint information beyond the schema, 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?

States a concrete verb and resource ('Search for entities by name or label using SPARQL text matching') plus the supported predicate types, which is specific enough to distinguish it from a generic query tool. It does not, however, distinguish itself from the sibling search_fulltext, leaving the natural pair ambiguous.

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 precondition 'Works with datasets that have rdfs:label or schema:name predicates' implicitly tells the agent when this tool applies. There is no explicit when-not guidance or named alternative for full-text search across literals or for retrieving a single entity's full details.

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