Skip to main content
Glama
ondata

CKAN MCP Server

by ondata

Get MQA Quality Details

ckan_get_mqa_quality_details
Read-onlyIdempotent

Inspect every failing MQA metric for a dataset on dati.gov.it, grouped by FAIR dimension with DCAT-AP property, weight, and URL test status, to pinpoint what lowers the quality score.

Instructions

Get detailed MQA (Metadata Quality Assessment) quality reasons for a dataset on dati.gov.it. Lists every failing metric grouped by FAIR dimension, with DCAT-AP property, weight, how many distributions fail it and its gain on the final score, plus the HTTP status of failing URL tests (e.g. 1100 timeout, 404) (methodology v2); previous-methodology datasets get non-max reasons. Only works with dati.gov.it server. Typical workflow: ckan_get_mqa_quality (get overview scores) → ckan_get_mqa_quality_details (inspect failing metrics)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataset_idYesDataset ID or name
server_urlYesBase URL of dati.gov.it (e.g., https://www.dati.gov.it/opendata)
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.108

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds valuable context: it details the exact output contents (metrics grouped by FAIR dimension, HTTP statuses, weight, gain) and mentions methodology v2 and differences for previous-methodology datasets. This goes beyond annotations without contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is somewhat long but each sentence adds value: main purpose, output details, server constraint, and workflow. It is front-loaded with the core purpose and uses structured flow. Slightly over-long but not wasteful.

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?

For a tool with detailed output but no output schema, the description adequately explains what will be returned. It covers the methodology, output fields, server limitation, and workflow. Missing explicit error handling or pagination, but not critical for a read-only details endpoint.

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 all parameters are documented in the schema. The description does not add additional parameter semantics beyond what's in the schema (e.g., server_url's domain constraint is already in the schema description). Baseline 3 is appropriate.

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 verb 'Get' and the resource 'detailed MQA quality reasons for a dataset', and specifies the output details. It also distinguishes itself from the sibling ckan_get_mqa_quality by explicitly mentioning it lists failing metrics, whereas the overview tool gives scores.

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

Usage Guidelines5/5

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

The description provides explicit usage context: 'Only works with dati.gov.it server' and a typical workflow ckan_get_mqa_quality → ckan_get_mqa_quality_details. This tells the agent when to use this tool versus its sibling and sets clear expectations about server requirements.

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