Skip to main content
Glama
italia

Schema.gov.it MCP Server

Official
by italia

Resolve Territorial URI

resolve_territorial_uri
Read-onlyIdempotent

Convert Italian ISTAT or Belfiore territorial codes into canonical CLV URIs with official names and related geographical URIs for semantic data modeling.

Instructions

Resolve an Italian territorial code to its canonical CLV URI with labels and related URIs.

Args:

  • code_type: Type of code: "istat-comune", "istat-provincia", "istat-regione", or "belfiore"

  • code: The code value (e.g. "046030" for ISTAT comune, "F205" for Belfiore)

  • date: (optional) ISO date string (e.g. "2022-08-12") — noted in output, full temporal filtering not yet implemented

Returns:

  • uri: canonical CLV URI

  • name: official name

  • code_type and code

  • related: connected territorial URIs (province for cities, region for provinces)

  • date_note: reminder if date was provided

Use when: You have a raw territorial code (ISTAT or Belfiore) and need the official semantic URI to use in JSON-LD or RDF modeling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe code value (e.g. '046030', 'F205', '001')
dateNoOptional ISO date for temporal context (e.g. '2022-08-12')
code_typeYesType of territorial code
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent, non-destructive. The description adds that the date parameter is noted in output but full filtering not yet implemented, providing useful behavioral context 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?

The description is well-structured with clear sections (Args, Returns, Use when). It uses bullet-like formatting and every sentence adds value without redundancy.

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 tool's simplicity (3 params, no output schema), the description covers purpose, parameters, return fields, usage guidance, and a limitation. It is fully self-contained.

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 params. The description adds examples, allowed values (matching enum), and explains the date parameter's partial implementation, adding value beyond the schema.

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 resolves Italian territorial codes to canonical CLV URIs. It uses a specific verb-resource combination and distinguishes from siblings which handle search, listing, or querying rather than code resolution.

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 'Use when' section explicitly tells agents to use this when they have a raw code and need a semantic URI. It does not list alternatives, but the context of sibling tools makes the purpose sufficiently clear.

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