Skip to main content
Glama
stornoro

Storno CLI

Official
by stornoro

dosare_document

Read-onlyIdempotent

Generates prefilled Romanian rental termination documents—termination agreements, landlord statements, addenda, or notices—from a dosar, with field overrides and optional PDF rendering.

Instructions

Generate a legal document from a rental-contract dosar, prefilled with the landlord (company), tenant, contract and property: 'conventie_incetare_inchiriere' (termination agreement), 'declaratie_incetare_contract' (landlord's sworn statement, the C168 termination attachment), 'act_aditional_inchiriere' (addendum: extension and/or new rent; fields act{numar,data}, prelungire{data_inceput,data_sfarsit}, chirie_noua{suma,valuta,de_la}) or 'notificare_incetare_inchiriere' (termination notice: data_incetare, preaviz_zile, motiv). Without render you get the prefilled fields to review with the user; with render:true and the reviewed fields (overrides) you get the PDF (written to outFile when given). Sign it by hand or with agent_sign_pdf, then attach it to the C168 termination.

Input Schema

NameRequiredDescriptionDefault
idYesRental-contract dosar id
typeYes
fieldsNoOverrides for the prefilled fields (e.g. locatar.adresa, data_incetare, motiv)
renderNo
outFileNo
companyIdNoCompany UUID (overrides STORNO_COMPANY_ID env var)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.37

TDQS

A3.8/5.0
Behavior1/5

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

The annotations declare readOnlyHint=true, but the description says the PDF is 'written to outFile when given', which is a filesystem side effect and contradicts the read-only annotation. This is an annotation contradiction, so the behavioral transparency score is capped at 1 despite otherwise useful workflow disclosure.

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 dense and front-loads the core action and supported document types. It is a long paragraph, but nearly all content is relevant to selection or invocation; minor structural improvement could come from breaking the type list into clearer segments.

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 complex tool with no output schema, the description explains the two return modes (prefilled fields vs PDF) and the downstream signing/attachment workflow. It does not cover error behavior or permission requirements, but the main invocation and output expectations are clear.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is only 50%, but the description compensates by explaining each enum value for `type` and by naming type-specific nested fields such as act{numar,data}, prelungire{...}, and chirie_noua{...}. It also clarifies the semantics of render, fields overrides, and outFile.

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 and resource: generate a legal document from a rental-contract dosar. It enumerates the four document types with local-language names and parenthetical explanations, making the tool's scope distinguishable from siblings.

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?

Explains the review-first workflow: call without render to get prefilled fields, then with render:true and reviewed fields to get the PDF. It also names the signing step via agent_sign_pdf and attachment to C168, though it does not explicitly distinguish when to use this versus other document-generation siblings.

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