DiscoveryFree
list_sources
Elenca i data source caricati nel catalogo. Filtra per schema tematico, tipo di geometria o flag di risolvibilità spaziale. Prima chiamata di un agente quando deve sapere cosa c'è dentro.
Use cases
- Bootstrap di un agente: ottieni l'elenco completo dei dataset disponibili prima di qualsiasi chiamata spaziale.
- Mostra solo i source joinable (
joinable_only=true) quando ti serve un layer geometrico per un source tabellare. - Filtra
theme="healthcare"per restringere lo scope delle query downstream. - Alimenta una UI che permette di esplorare il catalogo per tipo di geometria.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| theme | string | optional | Filter by theme schema (healthcare, commerce, risk, environment, …). |
| geometry_type | string | optional | Point, MultiPolygon, or MultiLineString. |
| joinable_only | boolean | optional | Only sources whose geo_join_table is populated. |
| location_resolvable | boolean | optional | Only sources spatially resolvable (have lat/lon or a join target). |
| limit | integer | optional | Max rows. Range 1 – 500. Default 100. |
Example request
curl
bash
curl -X POST https://mcp.qubitdata.it/mcp \
-H "Authorization: Bearer $QUBITDATA_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_sources",
"arguments": {
"theme": "healthcare",
"limit": 5
}
}
}'
Example response
JSON-RPC 2.0 result
json
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "[\n { \"source_id\": \"minsalute_strutture_sanitarie\", \"theme\": \"healthcare\", \"geometry_type\": \"Point\", \"row_count\": 12435, \"qualified_table\": \"healthcare.minsalute_strutture_sanitarie\" },\n { \"source_id\": \"agenas_strutture_residenziali\", \"theme\": \"healthcare\", \"geometry_type\": \"Point\", \"row_count\": 8721, \"qualified_table\": \"healthcare.agenas_strutture_residenziali\" }\n]"
}
]
}
}
Prompt da provare
Incollali in Claude Desktop, Cursor o un qualsiasi client MCP collegato a https://mcp.qubitdata.it/mcp.
-
Claude Desktop
Quali dataset healthcare sono caricati? Mostra nomi delle tabelle e row count.
-
Cursor
Usa list_sources con joinable_only=true per trovare i source che posso geo-risolvere via JOIN.
-
Client MCP custom
Elenca ogni dataset il cui geometry_type è MultiPolygon.
Related tools
describe_table · relationships_graph · bbox_of
Get started
Registrati per una free key e richiama il tool dal tuo agente. Servono cap geografici più ampi o quota più alta? Vedi pricing.
Last updated: