Skip to main content
Glama
stornoro

Storno CLI

Official
by stornoro

spv_sync_agent_result

Relay the raw ANAF listaMesaje response to archive and classify messages, notify users of critical or important documents, and return PDFs to fetch and upload.

Instructions

Step 2 of an SPV inbox sync: relay the raw ANAF listaMesaje response fetched by the agent. Every message is archived and classified, users are notified (push/email) about critical and important documents, and the response lists the PDFs the agent should now fetch from descarcare and upload with spv_document_upload.

Input Schema

NameRequiredDescriptionDefault
bodyYesRaw response body from ANAF (JSON)
companyIdNoCompany UUID (overrides STORNO_COMPANY_ID env var)
statusCodeYesHTTP status ANAF returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.28

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing real side effects: every message is archived and classified, and users are notified by push/email for critical and important documents. That is meaningful context for a non-readOnly, non-idempotent tool. It stops short of saying whether re-posting the same body duplicates archives or how error/statusCode failures are handled.

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?

A single dense sentence that front-loads the step identifier and then the action, with no filler. Slightly overloaded by listing three side effects plus the next step, but every clause earns its place.

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?

With no output schema, the description carries the burden of explaining the return value, and it does so explicitly (the list of PDFs to fetch). Combined with the disclosed side effects, an agent has enough to call it correctly; only error-path and duplicate-handling behavior are unaddressed.

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 the parameters are already documented; the description only confirms that body is the raw listaMesaje payload. It never mentions the companyId override parameter, so it adds little beyond the schema. Baseline 3 applies.

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 (relay the raw ANAF listaMesaje response) and anchors it as 'Step 2 of an SPV inbox sync', which cleanly separates it from spv_sync_prepare and spv_document_upload in the same pipeline.

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?

Gives clear ordering context (this runs after the agent has fetched the response) and explicitly names the follow-up path: fetch PDFs from descarcare and upload via spv_document_upload. It does not state exclusions or what to do if the sync is invoked out of sequence, so not a full 5.

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