Skip to main content
Glama
italia

Schema.gov.it MCP Server

Official
by italia

Find Relations

find_relations
Read-onlyIdempotent

Discover paths linking two concepts in Italian government data using configurable hops. Retrieve direct or multi-hop connections for semantic exploration.

Instructions

Find how two concepts are connected.

Args:

  • sourceUri: URI of the source concept

  • targetUri: URI of the target concept

  • max_hops: 1 | 2 | 3 (default: 1)

Returns:

  • Direct connections (single predicate)

  • Multi-hop paths up to the configured depth

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_hopsNoMaximum number of intermediate nodes to traverse. 1 preserves the previous behaviour.
sourceUriYesURI of the source concept
targetUriYesURI of the target concept
Behavior4/5

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

Annotations already indicate read-only, idempotent, and non-destructive behavior. The description adds valuable context about the depth parameter and return types (direct connections vs. multi-hop paths), beyond what annotations provide. However, it does not mention authentication or rate limits.

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?

The description is concise and well-structured with an introductory sentence, clear 'Args' and 'Returns' sections, and no redundant information. Every sentence is informative.

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?

Given the tool's simplicity, the description covers the purpose, parameters, and return types. However, it could be more explicit about the exact return format (e.g., JSON structure) since there is no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for all parameters. The description adds value by explaining max_hops options (1|2|3, default 1) and noting that '1 preserves previous behaviour,' which clarifies the schema's const values.

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?

The description clearly states 'Find how two concepts are connected' with specific arguments and return types. It is distinctive among siblings but does not explicitly differentiate itself from similar tools like search_concepts or check_overlaps.

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

Usage Guidelines3/5

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

The description implies usage by explaining inputs and outputs, but it does not explicitly state when to use this tool versus alternatives or when not to use it. No guidance on preconditions or exclusions.

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