Skip to main content
Glama
italia

Schema.gov.it MCP Server

Official
by italia

Find OKG Alignments for a schema.gov.it Resource

find_okg_alignments
Read-onlyIdempotent

Identifies equivalent resources in the Open Knowledge Graphs catalog for a schema.gov.it concept, using Wikidata alignments and label search to confirm matches or suggest candidates.

Instructions

Given a schema.gov.it URI, find related resources in the Open Knowledge Graphs catalog.

How it works (3 steps):

  1. Queries schema.gov.it for the resource's label and any Wikidata alignments (owl:sameAs, skos:exactMatch)

  2. Searches OKG using the resource label

  3. Cross-references OKG results: those whose wikidataId matches a known alignment are "confirmed matches"; the rest are "candidates" (label-based, need manual review)

Args:

  • uri: URI of a schema.gov.it concept, class, or vocabulary

Returns:

  • label: The label used for OKG search

  • wikidata_alignments: Wikidata URIs already present in schema.gov.it for this resource

  • okg_matches: OKG resources with a confirmed Wikidata alignment (high confidence)

  • okg_candidates: OKG resources found by label search only (lower confidence)

Use when: Discovering international equivalents of a local ontology or vocabulary, or checking whether a schema.gov.it concept is represented in global semantic standards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriYesURI of a schema.gov.it resource
Behavior4/5

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

Annotations (readOnlyHint, idempotentHint, destructiveHint) already cover safety. The description adds valuable behavioral details: the three-step process, how matches are classified (confirmed vs candidates), and how cross-referencing works. No contradiction with 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?

The description is well-structured with numbered steps, separate sections for args and returns, and a 'Use when' clause. Every sentence is concise and informative, with no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple input (one param), clear annotations, and no output schema, the description fully explains the process, return fields, and confidence levels. The agent has all necessary information to use the tool correctly.

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?

The single parameter 'uri' is fully described in both the schema and the description as 'URI of a schema.gov.it resource'. Schema coverage is 100%, so the description's additional mention of 'concept, class, or vocabulary' adds useful specificity.

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's purpose: given a schema.gov.it URI, find related resources in the Open Knowledge Graphs catalog. It uses a specific verb 'find' and resource 'OKG alignments', distinguishing it from sibling tools like search_okg_resources or find_external_alignments.

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?

The description includes a 'Use when' section that explicitly advises discovering international equivalents or checking representation in global standards. While it does not list counterexamples, the context strongly implies appropriate usage.

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