Skip to main content
Glama
mcp-server-qlever

mcp-server-qlever

by XORwell

get_predicates

Lists predicates (properties) in a dataset, ordered by frequency, to help explore unfamiliar knowledge graphs and understand their schema before writing SPARQL queries.

Instructions

List the predicates (properties) available in the dataset, ordered by frequency. Useful for exploring an unfamiliar knowledge graph and understanding its schema before writing queries.

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_predicates"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of predicates to return (default: 50, max 1000)
timeoutNoQuery timeout (default: server-configured timeout)

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?

With no annotations, the description carries the full burden; 'List' implies a non-destructive read, and the frequency ordering plus dataset-wide scope are useful behavioral context. However, it says nothing about truncation by the limit parameter or whether per-predicate frequencies/counts are included in the response, leaving the agent guessing about 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?

Two sentences, zero filler, with the core capability front-loaded and the usage rationale following. Nothing redundant or padded.

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, parameter-light read tool with no output schema, the description covers purpose, ordering, and motivation adequately. The only real gap is not indicating what each returned entry contains (predicate name only vs. name plus frequency/count).

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%, and both parameters (limit with default/max, timeout with pattern) are fully documented in the schema, so the baseline of 3 applies. The description adds no parameter meaning beyond noting that results are frequency-ordered.

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 ('List the predicates (properties) available in the dataset') plus an ordering rule ('ordered by frequency'), which separates it from schema-introspection siblings like describe_entity or get_index_stats. It stops short of naming an alternative, so it is clear but not maximally differentiated.

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?

Gives a concrete usage context: exploring an unfamiliar knowledge graph and understanding the schema before writing queries. It does not state exclusions (e.g., when to prefer describe_entity for a single type), so the guidance is clear but not exhaustive.

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