Skip to main content
Glama

Aggiungi un’azienda

azienda_crea
Idempotent

Aggiunge un’azienda a mano (es. una segnalazione, un contatto di una fiera): stessi controlli del portale. Se esiste già (stessa P.IVA, stesso sito o stesso nome nello stesso comune) restituisce l’id di quella esistente. Con il sito, DeviL lo legge e calcola il punteggio.

Input Schema

NameRequiredDescriptionDefault
sitoNosito web, es. https://www.azienda.it
emailNoemail generica dell’azienda (es. info@): non è un consenso a scrivere
comuneNocomune della sede
settoreNosettore in parole tue, es. "impiantistica elettrica"
rapportoNobase giuridica col referente: none (nessun rapporto), legitimate_interest (conosciuto), contract (cliente)
telefonoNotelefono dell’azienda
provinciaNosigla, es. CO
referenteNonome e cognome, se noto e pubblico
partita_ivaNopartita IVA, se nota: serve anche a riconoscere i doppioni
ragione_socialeYesnome dell’azienda (2-200 caratteri)
ruolo_referenteNoruolo del referente, es. titolare, ufficio tecnico

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / comune / description
      Added value: +"comune della sede"
    • addedInput schema / properties / email / description
      Added value: +"email generica dell’azienda (es. info@): non è un consenso a scrivere"
    • addedInput schema / properties / partita_iva / description
      Added value: +"partita IVA, se nota: serve anche a riconoscere i doppioni"
    • addedInput schema / properties / ragione_sociale / description
      Added value: +"nome dell’azienda (2-200 caratteri)"
    • addedInput schema / properties / ruolo_referente / description
      Added value: +"ruolo del referente, es. titolare, ufficio tecnico"
    • addedInput schema / properties / settore / description
      Added value: +"settore in parole tue, es. \"impiantistica elettrica\""
    • addedInput schema / properties / sito / description
      Added value: +"sito web, es. https://www.azienda.it"
    • addedInput schema / properties / telefono / description
      Added value: +"telefono dell’azienda"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description corroborates this by explaining the dedup keys (same P.IVA, website, or name+comune return the existing id). It also discloses a non-obvious side effect — supplying a website causes DeviL to scrape it and compute a score. No auth/permission details, but the added behavioral context is substantial.

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?

Three tight sentences with the core action front-loaded, followed by dedup and the site-scoring caveat. Each sentence carries information; no filler, though the phrasing is dense.

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 mutation tool with annotations covering safety and idempotency and a fully documented 11-param schema, the description covers the remaining gaps: return value on duplicates and the site-reading side effect. No output schema exists, and the description adequately explains what it returns.

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 adds meaning beyond the schema by tying parameters to behavior: partita_iva is used for duplicate detection and sito triggers external reading and scoring. This parameter interaction is not apparent from the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Aggiunge un’azienda a mano') and clarifies the mode of entry versus automated sourcing. It doesn't explicitly name a sibling like cerca_aziende to differentiate, but an agent can still tell this is a manual create operation.

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

Usage Guidelines3/5

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

It gives the usage context (a lead or trade-fair contact) and describes the duplicate-return behavior, which effectively signals when creation will be a no-op. However, it never tells the agent to look up first or names which sibling (e.g. cerca_aziende) to use instead when the company may already exist.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources