Skip to main content
Glama

AgentStall: Africa and global data for agents

South African VAT number and income tax number check (SARS format)

za_validate_tax_number
Read-onlyIdempotent

South African tax number validation: checks a 10-digit SARS VAT registration number or income tax reference number (format and modulus-10 check digit) and says which type it is. Format check only, not a SARS registration lookup; nothing is stored. Useful for invoices, supplier onboarding and form validation. Returns JSON with valid, type, normalized. Read-only; invalid input is rejected before any charge. Price: $0.002 USDC per call (x402, Base mainnet), paid only when the call succeeds.

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": {
      "number": "<number>"
    },
    "name": "za_validate_tax_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYesVAT or income tax number; spaces, dashes and slashes are ignored

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world behavior, so the safety profile is largely covered. The description still adds real value beyond them: no data is stored, invalid input is rejected before any charge, the response keys are named, and pricing/rails (x402, Base mainnet) are disclosed. It stops short of describing the exact rejection behavior or the normalized format, which is why it is not a 5.

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 most decision-relevant facts (what it validates, that it is format-only, the return keys) are front-loaded, with pricing and read-only notes trailing. The single paragraph is dense but every clause carries information; only the pricing sentence is arguably commercial filler for an agent that cannot act on it.

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

Completeness5/5

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

There is no output schema, but the description names the three return fields (valid, type, normalized), so an agent knows what to expect. For a one-parameter, read-only validator with annotations covering safety, the definition supplies everything needed to invoke it correctly and interpret the result.

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% for the single 'number' parameter, so the schema already documents that spaces, dashes and slashes are ignored. The description adds meaning on top of that by stating the expected length (10 digits), the two accepted identifier types, and that a modulus-10 check digit is applied rather than a length-only check.

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

Purpose5/5

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

The description opens with a specific verb+resource ('South African tax number validation') and immediately narrows scope to two concrete identifier types: a 10-digit SARS VAT registration number or income tax reference number. It also states the distinguishing output ('says which type it is'), which lets an agent separate this from the sibling validators like za_validate_company_number or za_validate_id_number without reading their schemas.

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 gives concrete use contexts ('invoices, supplier onboarding and form validation') and an explicit exclusion: 'Format check only, not a SARS registration lookup', which prevents the most likely misuse. It does not name a sibling alternative or say when to prefer another validator, so it falls short of full when/when-not/alternatives coverage.

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