Skip to main content
Glama

Salva un’offerta

offerte_salva

Crea o aggiorna un’offerta in «Le mie offerte» (con id = aggiornamento, senza id = nuova offerta). Settori: le chiavi elencate nel campo settori; parole chiave = parole che indicano il bisogno. Dopo il salvataggio DeviL calcola le aziende adatte.

Input Schema

NameRequiredDescriptionDefault
idNoid per aggiornare un’offerta esistente
nomeYesnome dell’offerta come la presenti ai clienti
tipoNoche cosa vendi
atecoNocodici ATECO dei clienti adatti, anche solo la divisione (es. "41", "43.21")
per_chiNoa chi serve, es. "imprese edili 5-30 addetti"
settoriNochiavi: industria, edilizia, studi_tecnici, logistica, servizi_prof, sanita, ospitalita, auto, commercio, artigianato, it
provinceNosigle delle province in cui la proponi; vuoto = tutte
prezzo_daNoprezzo di partenza in euro, facoltativo
in_una_rigaNocosa fa e per chi, in una frase
parole_chiaveNoparole che sul sito di un’azienda indicano il bisogno (anche radici, es. "preventiv")
problema_risoltoNoil problema concreto che toglie al cliente

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / ateco / description
      Added value: +"codici ATECO dei clienti adatti, anche solo la divisione (es. \"41\", \"43.21\")"
    • addedInput schema / properties / in_una_riga / description
      Added value: +"cosa fa e per chi, in una frase"
    • addedInput schema / properties / nome / description
      Added value: +"nome dell’offerta come la presenti ai clienti"
    • addedInput schema / properties / parole_chiave / description
      Added value: +"parole che sul sito di un’azienda indicano il bisogno (anche radici, es. \"preventiv\")"
    • addedInput schema / properties / per_chi / description
      Added value: +"a chi serve, es. \"imprese edili 5-30 addetti\""
    • addedInput schema / properties / prezzo_da / description
      Added value: +"prezzo di partenza in euro, facoltativo"
    • addedInput schema / properties / problema_risolto / description
      Added value: +"il problema concreto che toglie al cliente"
    • addedInput schema / properties / province / description
      Added value: +"sigle delle province in cui la proponi; vuoto = tutte"
    • addedInput schema / properties / tipo / description
      Added value: +"che cosa vendi"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly=false, idempotent=false, destructive=false), so the bar is lower; the description still adds real value by disclosing a post-save side effect — DeviL computes matching companies after saving. It does not say whether the call returns the new id or how to retrieve the computed matches, but the annotation-plus-side-effect coverage is solid.

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, front-loaded with the create-or-update rule. The settori sentence ('le chiavi elencate nel campo settori') is slightly circular and redundant with the schema, which is the only real waste.

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?

No output schema exists, yet the key thing an agent needs to know about returns (that matches are computed asynchronously after saving) is stated. For a 1-required-param mutation tool with fully documented params and annotations, nothing critical is missing.

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 description coverage is 100% across all 11 parameters, so the baseline is 3. The description restates the id semantics (already in the schema) and gestures at settori/parole_chiave meaning, but adds no syntax, format, or constraint detail beyond the schema.

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?

States a specific verb+resource ('Crea o aggiorna un'offerta') and resolves the create-vs-update ambiguity inline via the id rule (id = update, no id = new). It does not, however, distinguish itself from siblings like portfolio_salva or offerte_elenco, which an agent must infer.

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?

The id/no-id rule gives a clear conditional for choosing create vs update, which is genuine usage guidance. But there is no guidance on when to use this tool versus portfolio_salva (the obvious sibling for saving a different entity) or when to read via offerte_elenco instead.

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