Skip to main content
Glama

agentshield.live facts

agentshield_invoice

Read-only

Check an invoice before sending or paying: net + VAT = gross, VAT rate, IBAN, VAT id, date, number. Optional registry=1 asks EU VIES. Returns ok and failed fields. Price 0.03 USDC. Paid with x402: an unpaid call returns the PaymentRequired challenge; send the signed payment in params._meta["x402/payment"] and call again.

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": {
      "net": "<net>",
      "gross": "<gross>"
    },
    "name": "agentshield_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
netYesNet amount
vatNoVAT amount
dateNoOptional YYYY-MM-DD
ibanNoOptional IBAN
rateNoOptional VAT percent
grossYesGross amount
vatidNoOptional VAT id
numberNoOptional invoice number
countryNoSeller country code
currencyNoCurrency code
registryNoSet to 1 to also ask EU VIES for the VAT id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, it discloses the response shape ('ok and failed fields'), the cost (0.03 USDC), and the non-obvious x402 protocol: an unpaid call returns a PaymentRequired challenge and the signed payment goes in params._meta["x402/payment"] on a retry. That is precisely the kind of behavioral detail an agent cannot infer from readOnlyHint/openWorldHint and would otherwise fail on.

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?

The validation list is front-loaded and terse, and every sentence carries information (checks, return shape, price, payment mechanics). The payment sentence is long and packs several concepts into one line, which costs a bit of scannability.

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 an 11-parameter, no-output-schema validation tool, the definition covers what is checked, what comes back, what it costs, and how to satisfy payment. It could say more about the structure of 'failed fields' or what happens when optional inputs are omitted, but nothing essential to a correct call is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning on top: the net + VAT = gross arithmetic relationship between parameters and the registry=1 trigger for VIES lookup. It does not clarify currency/country interaction or format expectations beyond what the schema already states.

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 names a specific verb ('Check') and resource ('an invoice') and enumerates exactly which validations are performed: net + VAT = gross, VAT rate, IBAN, VAT id, date, number. It doesn't reference any sibling tool by name, but the purpose is unambiguous without opening the schema.

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?

It states the operative moment — 'before sending or paying' — and explains the optional registry=1 path for EU VIES plus the full x402 payment sequence. It stops short of naming when-not-to-use cases or pointing to any alternative tool, so it lands at a clear-context 4 rather than a full 5.

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