Skip to main content
Glama
mcp-server-qlever

mcp-server-qlever

by XORwell

list_named_graphs

Lists named graphs in a dataset to identify available graph scopes before running SPARQL queries or updates.

Instructions

List named graphs in the dataset. Call this before graph-scoped queries or updates.

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": "list_named_graphs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of graphs to return (default: 50, max: 500)

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 supplied, the description carries the full burden. "List" implies a read-only operation and the sequencing note adds behavioral context, but nothing is said about truncation when the limit is hit, result ordering, or what a named-graph entry contains. These are meaningful gaps for a discovery tool an agent may need to paginate.

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 short sentences, purpose first then the prerequisite call, with no redundant wording. Every clause 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 one-parameter, no-output-schema listing tool, the description covers purpose and call timing adequately. The only notable omission is pagination/truncation behavior when the limit is reached, which an agent managing a large graph set would want to know.

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 the single limit parameter is fully documented in the schema (default 50, max 500). The description adds no further meaning about the parameter, so the baseline of 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?

"List named graphs in the dataset" gives a specific verb (list) and resource (named graphs), which is clearly distinct from siblings like sparql_query or describe_entity. It stops short of explicitly naming a sibling it could be confused with, so it lands just below the top band.

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?

"Call this before graph-scoped queries or updates" is explicit sequencing guidance that tells the agent when to reach for this tool. It does not state when not to use it or name an alternative discovery tool, but for a prerequisite listing tool the context is clear.

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