Skip to main content
Glama
stornoro

Storno CLI

Official
by stornoro

dosare_c168_prefill

Read-onlyIdempotent

Prefills a C168 rental-contract declaration from a dosar, listing missing data and rule issues to resolve before creating it with dosare_c168_create.

Instructions

The C168 input (registration / amendment / termination of the rental contract) prefilled from a rental-contract dosar and the company, with Storno's rule issues listing what is still missing (nomenclator address codes for the property, tenant and landlord; tenant CNP …). Fill the gaps with anaf_nomenclator_* and the user, then dosare_c168_create. Also lists the dosar files that can be attached.

Input Schema

NameRequiredDescriptionDefault
idYesRental-contract dosar id
actiuneNo
companyIdNoCompany UUID (overrides STORNO_COMPANY_ID env var)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.37

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds behavior beyond them by disclosing what the response contains: the prefilled C168 fields, a Storno rule-issue list of what is still missing (address nomenclator codes, tenant CNP), and the dosar files that can be attached. It does not describe failure modes when the dosar lacks required data, which keeps it from a 5.

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?

Front-loaded with the operation and its output, then the next-step instructions; every sentence carries information. The nested parentheticals make it dense but not padded.

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?

With no output schema, the description still tells the agent exactly what comes back and what to do with each part, and the three-parameter input is fully accounted for. Missing only error/precondition behavior for dosars that fail Storno validation.

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?

Schema coverage is 67%: id and companyId are documented, but actiune has an enum with no description. The description compensates by spelling out the three modes (registration / amendment / termination) and by indicating that company context is pulled implicitly, adding meaning beyond the schema.

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?

States a specific verb (prefill) plus the exact resource (the C168 input for registration/amendment/termination of a rental contract) and the source data (rental-contract dosar + company). It is clearly separable from the sibling dosare_c168_create, which it names as the downstream writer.

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?

Gives a concrete procedure: call this first, fill the gaps listed with anaf_nomenclator_* and the user, then call dosare_c168_create. That is real routing guidance with named alternatives, though it never states when this tool should be skipped or what happens if the dosar is of the wrong type.

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