Skip to main content
Glama
juriSacchetta

domustudio-mcp-server

Elenca fornitori

domustudio_list_fornitori
Read-onlyIdempotent

Lists suppliers from a Domustudio archive by activity, VAT, IBAN, active status, or DURC to find vendor records.

Instructions

Elenca i fornitori di un archivio Domustudio.

L'anagrafica fornitori è globale sull'archivio, non per condominio: non esiste un parametro che la restringa a uno stabile. Come per le persone, il record non contiene alcun id, quindi non esiste una lettura per id; per trovare un fornitore si filtra questo elenco.

Args:

  • archivio (string, opzionale): archivio da interrogare

  • attivi (boolean, opzionale): solo attivi (true) o solo non attivi (false); omesso, entrambi

  • dati_incompleti (boolean, opzionale): filtra sui fornitori con dati incompleti

  • attivita (string, opzionale): attività del fornitore (parametro Attivita)

  • impianto_servizio_id (number, opzionale): id del servizio collegato (ImpiantoServizioID)

  • esercizi_id (number[], opzionale): esercizi del fornitore (EserciziID)

  • search_query (string, opzionale): passato all'API come SearchQuery, semantica non documentata

  • order_by (string, opzionale): passato all'API come OrderBy, semantica non documentata

  • pagina (number): pagina 1-based, default 1

  • dimensione_pagina (number): elementi per pagina, default 50

  • tutte_le_pagine (boolean): se true scorre le pagine fino a 50, default false

  • response_format ('markdown' | 'json'): default 'markdown'

Restituisce (json): stesso involucro paginato di domustudio_list_persone, con elementi della forma { "descr": string, "fornitoreAttivita": string, "codFisc": string, "piva": string, "iban": string, "email": string[], "pec": string[], "tel1": string, "fornitoreInattivo": boolean, "descStatoDurc": string, "dataScadenzaDurc": string, "f24CodTributo": { "codice": number, "etichetta": string }, ... } "ha_altre_pagine" è un'euristica: l'API non restituisce un totale, quindi è vero quando l'ultima pagina letta era piena.

Usare quando: serve un fornitore per attività, partita IVA, IBAN o stato DURC. Non usare per: i condòmini e i soggetti dell'anagrafica persone (domustudio_list_persone).

L'API Domustudio è di sola lettura: espone solo tre endpoint GET. Domustudio resta il sistema di registrazione — ogni correzione va fatta da un operatore dentro il gestionale.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attiviNoStato del fornitore (parametro Attivi).
paginaNoNumero di pagina, 1-based (parametro PageNumber dell'API).
archivioNoNome dell'archivio Domustudio da interrogare. Opzionale se ne è configurato uno solo; usare domustudio_list_archivi per l'elenco.
attivitaNoAttività del fornitore (Attivita).
order_byNoOrdinamento, inoltrato all'API come OrderBy.
esercizi_idNoEsercizi del fornitore (EserciziID).
search_queryNoRicerca libera, inoltrata all'API come SearchQuery.
dati_incompletiNoFornitori con dati incompleti (DatiIncompleti).
response_formatNo'markdown' per una sintesi leggibile dei campi principali, 'json' per il record completo.markdown
tutte_le_pagineNoSe true, scorre le pagine successive fino a esaurimento o fino a 50 pagine (il campo troncato_al_limite_pagine segnala il taglio).
dimensione_paginaNoElementi per pagina (parametro PageSize dell'API). Massimo 100.
impianto_servizio_idNoId del servizio collegato al fornitore (ImpiantoServizioID).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
paginaYes
archivioYes
elementiYes
conteggioYes
pagine_letteYes
ha_altre_pagineYes
prossima_paginaNo
dimensione_paginaYes
troncato_al_limite_pagineYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent/non-destructive, and the description adds substantial context beyond them: the record has no id so there is no per-record read, 'ha_altre_pagine' is only a heuristic because the API returns no total, and the whole API is read-only with only three GET endpoints while Domustudio remains the system of record (corrections require an operator). That is exactly the kind of behavioral disclosure annotations cannot carry.

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?

Well front-loaded and sectioned (Args / Restituisce / Usare quando / Non usare), but the Args block largely restates the 100%-covered schema, which is redundant filler. The genuinely additive sentences (no id, pagination heuristic, read-only caveat) are worth their space; the parameter recap is not.

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?

For a 12-parameter, zero-required listing tool with an output schema present, the description covers filtering semantics, pagination limits, the return envelope shape, and the system-of-record constraint. An agent has everything needed to call it correctly and to route lookups to it instead of a nonexistent get-by-id.

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%, so the baseline is 3, but the description earns extra: it spells out omitted=both for 'attivi', flags that hidden 'search_query' and 'order_by' are passed through with undocumented semantics, and caps 'tutte_le_pagine' at 50 pages with a truncation flag. These add meaning beyond the schema without fully re-documenting every field.

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?

Opens with a specific verb+resource ('Elenca i fornitori di un archivio Domustudio') and immediately scopes it: the anagrafica fornitori is global to the archivio, not per condominio. It explicitly names the sibling it is not ('Non usare per: i condòmini e i soggetti dell'anagrafica persone (domustudio_list_persone)'), so an agent can disambiguate without opening either schema.

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?

Gives an explicit when-to-use ('serve un fornitore per attività, partita IVA, IBAN o stato DURC') and an explicit when-not-use with the named alternative (domustudio_list_persone). It also states the critical routing fact that there is no read-by-id, so lookup must go through this filtered list.

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