Skip to main content
Glama
odoo-verifactu-mcp

odoo-verifactu-mcp

Veri*Factu invoices

verifactu_invoices
Read-onlyIdempotent

Query and filter customer invoices and refunds by Veri*Factu state, date range, company, and customer, returning AEAT CSV codes and last error text for compliance review.

Instructions

Customer invoices and refunds with their Veri*Factu state: pending (not sent yet), accepted, accepted_with_errors, rejected, invalid (could not be generated or sent) or cancelled. Each row has the AEAT CSV and the last error text. Filter by state, dates, company and customer.

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": "verifactu_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
stateNoOnly invoices in this normalized state.
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.
partnerNoCustomer name or VAT number (partial match).
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.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that by decoding state semantics (pending = not sent yet, invalid = could not be generated or sent) and by disclosing row contents (AEAT CSV and last error text), which matters because there is no output schema. It does not mention pagination order or the openWorldHint implication.

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 tight sentences that front-load the resource and its states before the row contents and filters. The state enumeration overlaps with the schema enum, which is mild redundancy but aids scanning; nothing else is wasted.

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 no-output-schema, zero-required-parameter read tool, the description covers the essential return shape (AEAT CSV, last error text) and state vocabulary, which the agent cannot get from structured fields. It omits result ordering and the limit/pagination behavior, a minor gap given all six parameters are otherwise documented in the schema.

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 83%, so the schema already documents state, company, date_from, date_to and partner with formats and defaults. The description only adds the mapping of "customer" to the schema's `partner` parameter and restates the filterable dimensions, so it does not meaningfully exceed the schema's own documentation.

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 the resource (customer invoices and refunds) and its scope (Veri*Factu state), and enumerates the possible states so the agent knows what domain the rows come from. It lacks any explicit contrast with sibling tools such as sii_invoices, so the agent must infer that this tool covers Veri*Factu rather than SII records.

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?

The final sentence ("Filter by state, dates, company and customer") merely restates the schema parameters rather than saying when to choose this tool over sii_invoices or invoice_aeat_detail. No when-not-to-use condition, prerequisite, or decision rule is given; the only implicit guidance is that it is scoped to Veri*Factu states.

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