Skip to main content
Glama
stornoro

Storno CLI

Official
by stornoro

dosare_files_upload

Upload PDF, JPG, PNG, or TIFF files (up to 10 MB) to a dosar as contract, addendum, termination, declaration, or other documents; they become the ZIP attachment for the C168 filing.

Instructions

Put a file into a dosar: the scanned contract (kind contract), an addendum (act_aditional), the termination document or the signed sworn statement (incetare), a signed declaration (declaratie), anything else (altele). PDF, JPG, PNG or TIFF, up to 10 MB. Files in a dosar become the zip attachment of the C168 filed from it.

Input Schema

NameRequiredDescriptionDefault
idYesDosar id
kindNo
pathYesLocal file path
companyIdNoCompany UUID (overrides STORNO_COMPANY_ID env var)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.37

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the bar is lower. The description still adds non-obvious behavior: accepted formats (PDF/JPG/PNG/TIFF), a 10 MB size cap, and the downstream effect that uploaded files become the zip attachment of the C168 filed from the dosar — all information an agent cannot get from annotations.

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?

Three sentences, front-loaded with the purpose and document-kind mapping, then constraints, then downstream effect. Slightly list-heavy in the kind enumeration, but every clause carries information an agent needs.

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 4-parameter mutating tool with no output schema, the description covers purpose, valid kinds, file constraints and the consequence of uploading. What remains unaddressed is permission/auth requirements and duplicate-handling, which are secondary for a non-destructive, non-idempotent upload.

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 75%, so the schema already documents id, path and companyId. The description adds meaning the schema lacks: the semantic intent of each `kind` enum value and the constraints on the file at `path` (formats and 10 MB limit). companyId's override behavior is left entirely to the schema, which is acceptable at this coverage.

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 ('put a file into a dosar') and immediately disambiguates the resource further by mapping each `kind` value to a concrete document type. An agent can tell this is the write-side companion of dosare_files_download without opening the schema.

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 kind-to-document mapping implicitly guides which value to pass, which is real usage help. However, it never says when to use this tool instead of the sibling dosare_attach, nor any preconditions (does the dosar need to exist, are duplicates rejected?). Use is implied rather than stated.

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