Skip to main content
Glama
mcp-server-qlever

mcp-server-qlever

by XORwell

search_fulltext

Find entities co-occurring with keywords by searching QLever's text index; use this when label matching is insufficient and a text index is available.

Instructions

Search QLever's text index for entities co-occurring with keywords. Different from search_entities which matches labels. Requires text index.

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": {
      "keywords": "<keywords>"
    },
    "name": "search_fulltext"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results (default: 20, max: 1000)
keywordsYesKeywords to search for in the text index
filter_typeNoOptional type IRI to filter entities (e.g. '<http://www.wikidata.org/entity/Q5>' for humans)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose a genuine operational prerequisite ('Requires text index'), which is valuable, but says nothing about ranking/relevance semantics, result ordering, error behavior when the index is absent, or result shape.

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: purpose first, disambiguation second, prerequisite last. Nothing is redundant and every sentence earns its place.

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 three-parameter read tool with a fully documented schema and no output schema, the description covers purpose, sibling differentiation, and the key prerequisite. The remaining gap is behavioral detail on ranking and failure modes when the text index is missing.

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 limit, keywords, and filter_type are already documented; the baseline is therefore 3. The phrase 'co-occurring with keywords' adds some semantic flavor about how keywords are matched, but it does not explain result behavior or the interaction between keywords and filter_type.

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?

States a specific verb and resource ('Search QLever's text index for entities') plus the semantic mechanism ('co-occurring with keywords'), and explicitly distinguishes it from search_entities which matches labels. An agent can select between the two without opening either schema.

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

Usage Guidelines4/5

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

Names the alternative (search_entities) and the axis that separates them — text-index co-occurrence vs. label matching — which gives clear routing guidance. It stops short of an explicit when-not-to-use statement or a note about what to do if full-text scoring isn't desired, so not quite a 5.

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