Skip to main content
Glama
odoo-verifactu-mcp

odoo-verifactu-mcp

VAT summary by tax

vat_summary
Read-onlyIdempotent

Calculate output and input VAT by tax for a period, showing base, rate, line counts and the difference. Use it to check form 303 figures before filing.

Instructions

Output VAT (repercutido) and input VAT (soportado) of posted entries in the period, by tax, with base, rate and number of lines, and the difference. A working aid to check form 303 before filing; it is not the official form.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vat_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyNoCompany id or part of its name. All companies the user can see by default.
date_toNoLast day (YYYY-MM-DD). Defaults to the end of the current quarter.
date_fromNoFirst day (YYYY-MM-DD). Defaults to the start of the current quarter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so safety is covered. The description adds real value with the 'posted entries only' scope and the disclaimer that it is not the official form, but it is silent on computation/rounding caveats, whether unposted or draft entries are silently excluded, and on pagination or result size.

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?

Two sentences, both earning their place: the first defines the aggregation and its output fields, the second supplies the workflow caveat. Return contents are front-loaded before the disclaimer, which is the right order.

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 read-only three-parameter aggregation with no output schema, the description conveniently names the returned measures and sets expectations about authority. Only the edge behavior around excluded/unposted entries and multi-company aggregation is left unstated.

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%, including the date format, the quarter defaults, and the company name-or-id behavior, so the schema carries the parameter burden. The description only reinforces the period notion ('in the period') and the posted-entry filter, adding little beyond the structured fields.

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+resource ('Output VAT ... and input VAT ... of posted entries in the period, by tax') and enumerates the measures returned (base, rate, line count, difference). This is enough to tell it apart from the invoice-level siblings, though it never explicitly contrasts itself with sii_invoices or invoice_aeat_detail.

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 concrete decision context: 'A working aid to check form 303 before filing'. That tells an agent when the tool is appropriate, but there are no exclusions or named alternatives for the case where the agent actually needs line-level invoice detail.

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