Skip to main content
Glama

Imperio — Italian Tax & Compliance Tools

Search ATECO by activity

search_ateco
Read-onlyIdempotent

Full-text search over ISTAT ATECO 2007/2022 codes starting from the activity DESCRIPTION, in Italian ("fotografo", "sviluppo software", "commercio abbigliamento") instead of the code. Case/accent-insensitive, with stemming and colloquial per-trade aliases; also accepts a code prefix. Use this when the code is NOT known — lookup_ateco covers the opposite case (known code → description). Results ordered by relevance.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "search_ateco"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesActivity to search for, in Italian (e.g. 'fotografo', 'idraulico', 'consulenza informatica').
limitNoMaximum number of results (default 20).
queryNoAlias of `q` (search text): the same value, accepted because other tools of this server use this name. If you send both names, the values must match.
sectionNoFilter by ATECO section (letter A–U, e.g. J = information and communication services, M = professional activities). Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Alias di `q` (testo da cercare): stesso dato, accettato perché altri tool di questo server lo chiamano così. Se mandi entrambi i nomi, i valori devono coincidere."New value: +"Alias of `q` (search text): the same value, accepted because other tools of this server use this name. If you send both names, the values must match."
  2. Changed3 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Numero massimo di risultati (default 20)."New value: +"Maximum number of results (default 20)."
    • changedInput schema / properties / q / description
      Previous value: -"Attività da cercare, in italiano (es. 'fotografo', 'idraulico', 'consulenza informatica')."New value: +"Activity to search for, in Italian (e.g. 'fotografo', 'idraulico', 'consulenza informatica')."
    • changedInput schema / properties / section / description
      Previous value: -"Filtra per sezione ATECO (lettera A–U, es. J = servizi di informazione e comunicazione, M = attività professionali). Opzionale."New value: +"Filter by ATECO section (letter A–U, e.g. J = information and communication services, M = professional activities). Optional."
  3. Changed1 schema field changed
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Alias di `q` (testo da cercare): stesso dato, accettato perché altri tool di questo server lo chiamano così. Se mandi entrambi i nomi, i valori devono coincidere.",
      +  "maxLength": 80,
      +  "minLength": 2,
      +  "type": "string"
      +}
  4. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavior: case/accent insensitivity, stemming, colloquial per-trade aliases, code-prefix acceptance, and relevance-ordered results. It stops short of describing result count defaults or what a result record contains, which keeps it at 4 rather than 5.

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

Conciseness5/5

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

The purpose is front-loaded in the first clause, followed by the disambiguating rule and then the behavioral traits. The parenthetical Italian examples are functional (they pin down the expected input language) rather than filler, and no sentence is redundant.

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 read-only search tool with a fully documented schema and no output schema, the definition covers what an agent needs to call it correctly and to choose it over its sibling. The one gap is return-shape expectation — it says results are relevance-ordered but not what a result entry looks like — which is minor given the absence of an output schema.

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%, so all four parameters are already documented, establishing a baseline of 3. The description does add one real semantic extension — that `q` also accepts a code prefix, beyond the schema's 'activity to search for' framing — but says nothing about `section`, `limit`, or the `query`/`q` aliasing, so it does not exceed baseline meaningfully.

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 gives a concrete verb+resource (full-text search over ISTAT ATECO 2007/2022 codes) and specifies the direction of the lookup (activity text → code), which is exactly the axis on which it differs from `lookup_ateco`. An agent can distinguish the two 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?

It states the selecting condition explicitly ('Use this when the code is NOT known') and names the alternative with its opposite case ('`lookup_ateco` covers the opposite case (known code → description)'). It additionally tells the agent the query language must be Italian, which is a usage constraint, not just a fact.

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