Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

anaf_validate_cif

Read-onlyIdempotent

Validates whether an ANAF token has proper e-Factura access for a specific CIF by checking organization ownership, ANAF registry, and e-Factura permissions.

Instructions

Validate that an ANAF token has proper access to e-Factura for a specific CIF. Checks organization ownership, ANAF registry, and e-Factura access permissions. Returns validation result with any error messages.

Input Schema

NameRequiredDescriptionDefault
idYesThe ANAF token ID to validate (integer ID from anaf_tokens)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered; the description adds genuine value by disclosing that external ANAF registry and permission lookups are performed and that failures surface as returned error messages rather than exceptions. It does not mention latency, rate limits, or auth prerequisites for those external calls, leaving some behavioral gaps.

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 and the checks enumerated immediately after. No filler, though the trailing 'for a specific CIF' clause could be reworded to remove the parameter ambiguity without adding length.

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 one-parameter, read-only validation tool with full schema coverage and annotations, the description supplies what is missing: which external checks run and that error messages come back in the result. Without an output schema, a bit more on the shape of the validation result (boolean flag vs. structured error list) would make it complete.

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 coverage is 100%, so the single parameter is fully documented as 'the ANAF token ID to validate' — baseline 3 applies. However the description's 'for a specific CIF' wording could send an agent looking for a CIF parameter that does not exist and does not explain that the CIF is derived from the token, which is a missed opportunity rather than a schema gap.

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 and resource: validating that an ANAF token has e-Factura access, and names the three checks performed (organization ownership, ANAF registry, e-Factura permissions). It reads distinctly from siblings like anaf_tokens (listing) or anaf_status. The phrase 'for a specific CIF' slightly muddies it since the only input is a token ID, so it is not fully unambiguous.

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?

Usage is only implied — an agent can infer this is a pre-flight check before submitting invoices via e-Factura. There is no explicit 'use this when...' statement, no mention of alternatives such as anaf_status or anaf_tokens, and no note about when this check is unnecessary.

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