Skip to main content
Glama
italia

Schema.gov.it MCP Server

Official
by italia

Explore External SPARQL Endpoint

explore_external_endpoint
Read-only

Discover main classes and instance counts from any external SPARQL endpoint to quickly understand its data structure before writing detailed queries.

Instructions

Explore the structure of an external SPARQL endpoint: discover its main classes and instance counts.

Args:

  • endpointUrl: URL of the SPARQL endpoint to explore (must be HTTPS)

  • limit: Maximum number of classes to return (default: 20)

Returns:

  • List of classes with instance counts, ordered by count descending

Security: Only HTTPS endpoints are allowed. Requests timeout after 15 seconds.

Use when: Getting a quick overview of what data an external endpoint contains before writing detailed queries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of classes to return
endpointUrlYesURL of the SPARQL endpoint to explore (HTTPS required)
Behavior4/5

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

Annotations already indicate readOnlyHint=true, but the description adds security details (HTTPS only, 15s timeout), which are behavioral traits beyond annotations.

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?

Very concise: four sentences plus bullet-pointed Args and Returns. No wasted words, front-loaded with purpose.

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?

Covers purpose, usage context, security, and return format (ordered list with counts). Lacks error handling description, but adequate for a quick overview tool.

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 has 100% coverage with descriptions for each parameter; description repeats this info without adding new semantics beyond what schema provides.

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?

The description clearly states the tool explores an external SPARQL endpoint to discover main classes and instance counts, and the 'Use when' context distinguishes it from siblings like query_sparql.

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?

Explicit 'Use when' section provides context for when to use (quick overview before detailed queries), but does not explicitly mention when not to use or name alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/italia/dati-semantic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server