Skip to main content
Glama
verifactu-mcp

verifactu-mcp

Check VeriFactu QR URL

check_qr_url
Read-onlyIdempotent

Validates a Spanish tax QR URL read from an invoice by checking the official AEAT host, path, parameters, and formats to confirm the QR data is correctly structured.

Instructions

Check a tax QR URL read from an invoice: official AEAT host, path, parameters and formats. Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "check_qr_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds useful scope detail about the four things inspected, plus the cost note 'Free.', but says nothing about outcomes for invalid URLs or error semantics.

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?

One compact sentence with the action front-loaded and no redundant restatement of the name. Slightly list-like ('host, path, parameters and formats') but every element is informative.

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?

An output schema exists, so return values need not be described, and the tool takes only one required parameter. The purpose, inspected facets, and cost are all present; only failure behavior and expected URL shape are missing for a tool of this simplicity.

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?

The single parameter has zero schema description coverage, so the description carries the burden; it does clarify that the url is a tax QR URL extracted from an invoice rather than an arbitrary URL, which is meaningful. It stops short of giving expected format, host examples, or encoding rules, so it only partially compensates.

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?

The description opens with a specific verb and resource ('Check a tax QR URL read from an invoice') and enumerates what is examined: AEAT host, path, parameters and formats. This makes it distinguishable from the sibling generate_verifactu_qr, though it never names that sibling explicitly.

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

Usage Guidelines3/5

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

Usage is implied by 'read from an invoice' — you use this when you already have a QR URL and want to verify it. There is no explicit when-not guidance, no named alternative, and no statement of prerequisites, so the agent must infer the routing.

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