Skip to main content
Glama
mcp-server-qlever

mcp-server-qlever

by XORwell

get_index_stats

Retrieve metadata about a QLever index—dataset name, triple count, predicates, subjects, and objects—to understand knowledge graph scope before SPARQL querying.

Instructions

Retrieve metadata about the QLever index: dataset name, number of triples, predicates, subjects, and objects. Useful for understanding the scope of the knowledge graph before querying.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_index_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. "Retrieve metadata" reasonably implies a read-only, side-effect-free call, which is the key safety information an agent needs, but there is no mention of cost, latency on large indexes, caching, or whether the index must be loaded — details that matter for a server-side stats call.

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 sentences, no redundancy. The core action and the returned fields come first, with the usage hint second, so an agent reading only the opening clause already knows what it gets back.

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?

There is no output schema and no parameters, so the description must convey return content — and it does by naming the five reported fields. Missing only minor framing such as the response shape or whether counts are exact versus estimated, which keeps it just short of complete.

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?

The tool takes zero parameters, so there is no parameter meaning for the description to add beyond the empty schema. Baseline for a parameterless tool applies; nothing in the description deepens or conflicts with the schema.

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 specific verb and resource ("Retrieve metadata about the QLever index") and enumerates the exact contents: dataset name, triple/predicate/subject/object counts. It implicitly distinguishes itself from query-executing siblings by framing the result as scope information, though it never names an alternative tool explicitly.

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?

"Useful for understanding the scope of the knowledge graph before querying" gives a concrete when-to-use condition tied to a workflow position (pre-query orientation). It does not state when this tool is unnecessary or name a sibling as an alternative, so it falls short of a full 5.

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