Skip to main content
Glama
stornoro

Storno CLI

by stornoro

dosare_d212_create

Creates the D212 rent scenario draft in a Declarația unică dosar, then prepares it for ANAF validation and e-filing.

Instructions

Create the D212 draft (rent scenario) inside a Declarația unică dosar from the reviewed input (schema: declaration_form_spec D212; omit input to use the prefill as is). The draft then goes through declarations_validate (ANAF DUKIntegrator), declarations_prepare / declarations_agent_result (sign + file with the certificate through the local agent) and the recipisa lands in the dosar.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
inputNo
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
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that the tool creates a draft and triggers downstream actions, and mentions the prefill option. However, it does not state whether it is idempotent, what happens to existing drafts, or any authorization requirements. The description is not contradictory but leaves significant 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?

The description is two sentences, front-loaded with the main purpose. The second sentence about the downstream pipeline is useful context and not verbose. It is concise and well-structured.

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

Completeness3/5

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

The tool is complex (creates a draft and triggers a multi-step pipeline) and has no output schema. The description explains the pipeline but omits critical details like the expected return value, error conditions, and whether the dosar must exist. The missing explanation of the 'id' parameter is a notable gap, though the downstream flow is covered.

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 only 33% (only companyId has a description). The description adds meaning to the 'input' parameter by referencing declaration_form_spec D212 and explaining the omit-to-use-prefill behavior. It does not clarify the 'id' parameter (likely the dosar ID) or elaborate on companyId beyond the schema, so it partially compensates but not fully.

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 verb ('Create') and the specific resource ('D212 draft (rent scenario) inside a Declarația unică dosar'), distinguishing it from siblings like dosare_c168_create and dosare_create. It also references the input schema, making the scope explicit.

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?

The description explains the downstream pipeline (declarations_validate, declarations_prepare, etc.) and the prefill behavior when input is omitted. However, it does not explicitly state when to use this tool versus alternatives like dosare_create or dosare_d212_prefill, nor does it provide exclusions or prerequisites (e.g., the dosar must already exist).

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