Skip to main content
Glama
stornoro

Storno CLI

by stornoro

dosare_registry_proposals

Processes ANAF contract registry extracts (C168 SPV response) to match contracts with existing dosares and import those without one.

Instructions

Contracts listed in ANAF's registry extract ("Registrul contractelor de locatiune", the answer to the C168 SPV request — request it with spv_request_prepare type C168) with their state after all filings (active / expired without termination / terminated), each matched to the existing dosare. Reads the newest extract archived in the SPV inbox, or the PDF at pdfPath. Then dosare_registry_import for the ones without a dosar.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pdfPathNoLocal PDF of the extract, when it was downloaded by hand
companyIdNoCompany UUID (overrides STORNO_COMPANY_ID env var)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.37

TDQS

A3.6/5.0
Behavior2/5

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

With no annotations, the description must carry full behavioral disclosure. It explains that it reads the newest extract or a PDF, but it is ambiguous whether the tool itself performs the import or merely suggests it. It doesn't clarify side effects (read-only vs. mutating), output format, or what happens after matching, leaving the agent uncertain about the tool's actual behavior.

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

Conciseness3/5

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

The description is a single dense sentence that packs in multiple ideas: source, states, matching, and follow-up. It is not excessively long but is tangled and would benefit from clearer sentence breaks. It front-loads the purpose but mixes procedural details, reducing readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no output schema and no annotations, so the description must explain what it returns and any side effects. It doesn't describe the proposal format, the matching logic, or whether it triggers import automatically. This leaves critical gaps for an agent to know what to expect and how to proceed.

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?

The schema already provides 100% coverage for both parameters, but the description adds meaningful context: pdfPath is for manually downloaded extracts, and it clarifies the default source (newest SPV inbox extract). This reinforces the parameter purposes beyond the schema descriptions.

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 function: listing contracts from ANAF's registry extract, matching them to existing dosare, and flagging those without a dosar for import. It differentiates itself from the sibling dosare_registry_import by being the proposal step, making its purpose unmistakable.

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?

It specifies the prerequisite of obtaining the extract via spv_request_prepare type C168 and names the follow-up action (dosare_registry_import). While it doesn't explicitly list exclusions or alternatives, the context is clear and it points to the correct sibling for the next step.

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