Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

declarations_sync

Requests declaration sync for a specified year; retired because ANAF requires a qualified certificate, so route sync through the local storno-agent or spv_sync_prepare / spv_sync_agent_result instead.

Instructions

RETIRED server-side sync: ANAF SPVWS2 accepts only the qualified certificate (mTLS), so this endpoint now answers 409 AGENT_REQUIRED. Declarations and SPV messages are pulled through the local storno-agent from the web app (declarations page or the SPV documents page); the tools spv_sync_prepare / spv_sync_agent_result cover the same flow for automation.

Input Schema

NameRequiredDescriptionDefault
yearYesYear to sync declarations for (e.g. 2026)
companyIdNoCompany UUID (overrides STORNO_COMPANY_ID env var)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A4.7/5.0
Behavior5/5

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

Discloses behavior beyond the annotations: the reason for retirement (SPVWS2 requires a qualified certificate over mTLS, which the server cannot supply), the concrete failure mode (409 AGENT_REQUIRED), and the replacement path. Annotations (readOnlyHint=false, openWorldHint=true) are now stale and give no hint of this, so the description carries the needed load well.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, retired status front-loaded before the explanation and the redirect. Nothing is redundant and no sentence could be dropped without losing routing information.

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?

For a deprecated two-parameter endpoint with no output schema, everything an agent needs is present: why it fails, what it returns, and exactly which tools replace it. A caller cannot misuse it after reading this.

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 100% (year and companyId are fully documented inline), so the baseline is 3. The description adds nothing about parameters, though in fairness they are moot for a retired endpoint that always returns 409.

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?

Opens with 'RETIRED server-side sync' and names the exact resource (declarations and SPV messages), then states the current observable behavior: HTTP 409 AGENT_REQUIRED. An agent can tell instantly that this tool no longer performs the action its name implies, which no sibling name would reveal.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly redirects: pull via the local storno-agent from the web app, and use spv_sync_prepare / spv_sync_agent_result for automation. That is a direct when-not-to-use plus named alternatives, the strongest form of routing guidance.

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