Skip to main content
Glama

refresh_efactura_status

Start an ANAF status (stareMesaj) check for an already-submitted invoice and return the current stored status. Use this after submit_invoice_to_efactura to advance the invoice toward its confirmed state. The check runs asynchronously, so if anaf_status is still null, call get_efactura_status again a few moments later for the updated result.

Input Schema

NameRequiredDescriptionDefault
invoice_idYesInvoice ID to check

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations, so the description carries the full burden. It usefully discloses that the check runs asynchronously and that a null anaf_status means the result is not yet stored, but it says nothing about mutating stored state, ANAF-side throttling, authentication, or failure behavior for a tool that clearly writes a refreshed status back.

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 action and then the workflow context; no filler. The closing sentence is slightly muddled by naming a different tool for the retry, which costs a bit of precision.

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 single-parameter tool with no output schema, it covers the essentials: what is triggered, when to call it, and that the returned status may lag. It leaves the shape of the returned status and its possible values unexplained, though with no output schema that gap is understandable.

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?

Only one parameter, invoice_id, with 100% schema description coverage ('Invoice ID to check'), so the schema already carries the semantics. The description adds nothing beyond it, which is the expected baseline.

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?

States a specific verb and resource: 'Start an ANAF status (stareMesaj) check for an already-submitted invoice.' It is distinguishable from get_efactura_status (which it names as the retrieval step), but the phrasing 'call get_efactura_status again' blurs the boundary between triggering a refresh and reading the stored result.

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 a clear trigger condition ('Use this after submit_invoice_to_efactura') and a fallback path when the status is still null. It stops short of stating when this tool should not be used instead of get_efactura_status, so the two-step workflow must still be inferred.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources