Skip to main content
Glama
stornoro

Storno CLI

Official
by stornoro

fiscal_calendar

Read-onlyIdempotent

Lists upcoming Romanian tax filing deadlines and flags overdue or unfiled declarations for a company or all companies, so you can see which returns are due and plan submissions.

Instructions

Filing deadlines of the company for the next days days (default 60, max 366) from from (default today), plus the unfiled ones of the last month. Items: code (D300, D390, D394, D301, D100, D112, D406 SAF-T, D212, BILANT, and from the rental-contract dosare: C168 registration deadline, D212_ESTIMAT estimated income of a new contract for a natural person, CONTRACT_END contract end; these carry dosarId / dosarTitle), label, dueDate (moved to the next working day after weekends and Romanian legal holidays), nominalDueDate, daysLeft, period {year, month | quarter, from, to}, appliesBecause (vat_payer, intra_community_operations, non_vat_payer_foreign_suppliers, income_tax, employees, saft, individual, company, rental_contract), declarationType (the type to pass to declarations_create — D406 is generated in Storno as well, only the annual statements and the contract-end reminder carry null) and status: due, overdue (past due, nothing submitted) or filed (a submitted / accepted declaration of that type exists for the period). With allCompanies=true the list covers every company the user can see, each item carrying its company. The rules follow the company settings vatPeriod, incomeTaxPeriod and hasEmployees (companies_update).

Input Schema

NameRequiredDescriptionDefault
daysNoWindow length in days (default 60)
fromNoStart date YYYY-MM-DD (default today)
companyIdNoCompany UUID (overrides STORNO_COMPANY_ID env var)
allCompaniesNoAll companies of the organization instead of one (accountant view)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.48

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world), and the description adds substantial behavior on top: how dueDate is shifted for weekends and Romanian legal holidays, what each status value means (filed requires a submitted/accepted declaration of that type for the period), which company settings (vatPeriod, incomeTaxPeriod, hasEmployees via companies_update) drive the rules, and what allCompanies changes.

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?

Purpose is front-loaded in the first clause, and with no output schema the long item-field enumeration does real work rather than repeating structured data. It is still a single dense paragraph with nested parentheticals that could be split into a return-shape list for faster scanning.

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

Completeness5/5

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

No output schema exists, so the description must carry the return shape — and it does: every item field (code, label, dueDate, nominalDueDate, daysLeft, period, appliesBecause, declarationType, status, dosarId/dosarTitle) is explained, along with the code catalog and the null cases for declarationType. For a read-only, 4-parameter, no-pagination tool this is complete enough to call correctly.

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 description coverage is 100%, so days/from/companyId/allCompanies are already documented in the schema, including defaults and the 366 cap. The description restates the same defaults and adds the accountant-view framing for allCompanies, but says nothing about companyId's env-var override, so it adds little beyond the structured field docs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a precise verb+resource+scope: filing deadlines for the next `days` days plus unfiled ones from the last month. It also routes to a sibling by noting declarationType is 'the type to pass to declarations_create', though it never contrasts itself with declarations_list or expiries_upcoming, so differentiation is inferred rather than stated.

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?

Usage context is clear: use it to see what is due in a window plus what was missed last month, and use allCompanies=true for the accountant view across every visible company. There is no explicit when-not guidance or named alternative for the case where the agent wants all declarations rather than deadlines.

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