Skip to main content
Glama
Yoryoboy

ArcaMCP

by Yoryoboy

Obtener número último comprobante creado

get_last_voucher
Read-only

Retrieves the last voucher number created for a specified sales point and voucher type, helping determine the next invoice sequence in AFIP/ARCA electronic invoicing.

Instructions

Obtener número último comprobante creado

Input Schema

NameRequiredDescriptionDefault
PtoVtaYesPunto de venta
CbteTipoYesTipo de comprobante

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered, but the description adds nothing extra — no mention of whether it fails when no voucher exists for that point-of-sale/type pair, nor of what value is returned. It does not contradict the annotations.

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

Conciseness3/5

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

A single short sentence with no waste, but it is under-specified rather than genuinely concise — there is simply nothing beyond the title to structure.

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

Completeness2/5

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

For a lookup tool whose whole value is the returned voucher number, the description never explains the return (a number, presumably the last assigned), and there is no output schema to compensate. Given the many sibling tools, more context is expected.

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% with both parameters (PtoVta, CbteTipo) documented, so the schema carries the burden. The description adds no further meaning about the required combination or numbering semantics, so the baseline 3 applies.

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

Purpose2/5

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

Tautological: description restates name/title.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus create_next_voucher or get_voucher_info, nor on prerequisites like needing a valid PtoVta/CbteTipo combination. Usage is only weakly implied by the phrase 'último comprobante creado'.

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