Skip to main content
Glama
stornoro

Storno CLI

by stornoro

anaf_sync_trigger

Trigger e-Factura synchronization for all companies with valid ANAF tokens. Validates token availability and subscription rate limits, then dispatches an async job to fetch new invoices from ANAF SPV.

Instructions

Manually trigger e-Factura synchronization for all companies with valid ANAF tokens. Validates token availability and subscription plan rate limits, then dispatches an async sync job to fetch new invoices from ANAF SPV.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

The description discloses that this triggers an async operation and validates token availability and subscription plan rate limits before dispatching. This adds useful behavioral context (async nature, pre-validations). However, there are no annotations provided, so the description carries the full transparency burden. It doesn't disclose what happens on failure, whether partial failures occur (some companies have tokens, others don't), or how the agent would interpret the async dispatch result.

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 a single well-structured sentence that covers the action, scope, pre-conditions (valid tokens, rate limits), and outcome (async job dispatch). No wasted words. Could potentially be more explicit but is appropriately sized for a zero-parameter operation.

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

Completeness3/5

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

For a zero-parameter, no-output-schema trigger tool, the description covers the what, scope, and async nature adequately. However, it doesn't mention what the response/return looks like (since there's no output schema), nor does it address side effects (e.g., does this trigger cost API credits, does it affect rate limits that could block other sync operations?). The async dispatch is mentioned but the agent isn't told how to check on completion (e.g., via anaf_sync_status).

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?

The tool has 0 parameters and 100% schema coverage, so there are no parameter semantics to document. Per the guidelines, 0 params earns a baseline of 4. The description appropriately focuses on behavior rather than params since there's nothing to explain about inputs.

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?

The description clearly states it manually triggers e-Factura synchronization for all companies with valid ANAF tokens, and dispatches an async job to fetch new invoices from ANAF SPV. It uses a specific verb (trigger) and resource (e-Factura synchronization). It's distinguishable from siblings like anaf_sync_status (which checks status) and anaf_sync_log (which reads logs), though it doesn't explicitly name those alternatives.

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 description implies this is a manual trigger operation (as opposed to automatic sync), which gives the agent context on when to use it. However, it doesn't explicitly state when NOT to use it, nor does it differentiate from related tools like anaf_sync_status or clients_sync_invoices which also deal with ANAF/sync functionality. Related sibling tools like anaf_sync_status could be confused with this one.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stornoro/storno-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server