Skip to main content
Glama
italia

Schema.gov.it MCP Server

Official
by italia

List Instances of Class

list_instances_of_class
Read-onlyIdempotent

List real instances of a given class from the Italian government data catalog, with pagination to explore results and verify if the class is actually used.

Instructions

List instances of a given class in the catalog.

Args:

Returns:

  • instances: list of URIs with labels

  • pagination: total count, offset, has_more

Use when: You found a class and want to know if it has real instances (i.e., whether it is used in the catalog, not just defined theoretically).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoItems per page (max 200)
offsetNoItems to skip
class_uriYesURI of the class to list instances of
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 transparency about pagination parameters (limit, offset) and return structure, which is useful 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 succinct and well-organized with separate sections for Args, Returns, and Use when. 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, the description fully covers parameters, return format, and usage context. No output schema is needed because Returns are described in prose.

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 coverage is 100%, so the description mainly echoes the schema with defaults and constraints. It adds an example URI for class_uri, but does not significantly enhance understanding 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 'List instances of a given class in the catalog' with a specific verb and resource. It distinguishes from sibling tools like explore_classes or inspect_concept by focusing on listing actual instances.

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?

Includes a 'Use when' section that provides clear context: when you have a class and want to know if it has real instances. Although it doesn't explicitly exclude other tools, the guidance is precise and actionable.

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