Skip to main content
Glama
stornoro

Storno CLI

by stornoro

anaf_nomenclator_localitati

Retrieve ANAF locality codes for any Romanian county, including SIRUTA and town-hall codes. Filter by locality name with diacritics-insensitive search for e-invoicing declarations.

Instructions

ANAF locality nomenclator for a county: cod_localit (as required by declaration XSDs, e.g. C168 cod_localit_L), SIRUTA and town-hall codes. Optional q filters by name, diacritics-insensitive ("sector 6", "cluj"). Public, local mirror.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoName filter
judetYesCounty code, e.g. 40 for Bucuresti

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.28

TDQS

A4.3/5.0
Behavior3/5

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

There are no annotations, so the description carries the full burden. It mentions 'Public, local mirror,' which hints at a read-only, cached source, but does not explicitly state side effects, rate limits, or query behavior. This is moderate transparency.

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 description is concise and front-loaded: it states the primary purpose first, then details the output, then the optional filter, and finally a note about the public mirror. Each sentence adds value without redundancy.

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?

Given there is no output schema, the description adequately explains what the tool returns (locality codes) and the context of use (declaration XSDs). It does not specify the exact response format or whether multiple entries are returned, but that is not critical for a nomenclator lookup tool and the description is sufficient for an agent to select and invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides basic descriptions for 'judet' and 'q', but the tool description significantly enriches them: it explains the meaning of returned codes (cod_localit, SIRUTA, town-hall), provides concrete examples for 'q' ('sector 6', 'cluj'), and notes diacritics-insensitive matching. This goes well beyond the schema's coverage.

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 clearly states the tool's purpose: 'ANAF locality nomenclator for a county' and specifies the output codes (cod_localit, SIRUTA, town-hall) along with the context that they are required by declaration XSDs. It is distinct from sibling tools like anaf_nomenclator_judete and anaf_nomenclator_strazi by focusing on localities.

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

Usage Guidelines4/5

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

The description implies the use case (retrieving locality codes for declarations) and explains the optional 'q' filter. However, it does not explicitly compare with alternative nomenclator tools or state when not to use it, leaving some inference to the agent.

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

Deploy Server

Other Tools