Skip to main content
Glama
stornoro

Storno CLI

by stornoro

dosare_c168_create

Create a C168 declaration in a dosar with attachments for registration, amendment, or termination, applying Storno validation rules.

Instructions

Create the C168 declaration in the dosar from the reviewed input (schema: declaration_form_spec C168) with the attachment: dosar files by id (fileIds) and/or local files (attachmentPaths) — the scanned contract for a registration, the addendum for an amendment, the termination document or the signed sworn statement for a termination. Storno applies its rules (errors → 422 with issues), stores the reviewed addresses in the dosar for next time and sets the next step. Then declarations_validate and declarations_file_via_agent. ANAF processes one C168 per landlord and period at a time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesRental-contract dosar id
inputNoReviewed C168 input; omitted → the prefill as is
actiuneYes
fileIdsNo
companyIdNoCompany UUID (overrides STORNO_COMPANY_ID env var)
attachmentPathsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.37

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of side-effects disclosure. It clearly mentions Storno rules, 422 errors, storing reviewed addresses, setting the next step, and delegating to validation and filing tools.

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 packed with useful information but is a single dense paragraph with em-dash asides. It is not poorly written, but a more structured breakdown would improve scannability.

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?

The explanation covers the workflow, side effects, and business constraints, but the absence of an output schema and the slightly ambiguous 'Then declarations_validate and declarations_file_via_agent' leaves some uncertainty about whether those calls are performed by this tool or expected from the caller.

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?

Most parameters are covered through schema descriptions or the main description: id, input, actiune enum values, fileIds, attachmentPaths, and companyId. However, actiune's exact role is only implied by enum values and attachment examples, and input's nested schema is only referenced by name.

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 creates a C168 declaration in the dosar from reviewed input, and differentiates it from related tools like dosare_c168_prefill and dosare_d212_create by the specific declaration type and context.

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 usage after review and mentions follow-up steps (declarations_validate and declarations_file_via_agent), but it does not explicitly contrast with sibling tools such as declarations_create or dosare_actions or state when not to use this tool.

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