Skip to main content
Glama

Validate many tax IDs

vn_tax_id_validate_batch
Read-onlyIdempotent

Validate up to 1,000 Vietnamese tax IDs in one call; get per-row results plus valid/invalid totals, with empty entries returned as failed rows.

Instructions

Check up to 1000 Vietnamese tax IDs (mã số thuế) in one call. Returns per-row results (same fields as the single-value tool) plus a summary of total, valid and invalid rows. Null, empty or non-string entries do not fail the call: they come back as failed rows (ok:false, error code EMPTY) and are counted in summary.invalid.

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": {
      "taxIds": "<taxIds>"
    },
    "name": "vn_tax_id_validate_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxIdsYesTax IDs (max 1000); null or empty entries become failed rows

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description still adds real behavioral detail beyond them: per-row results plus an aggregate summary, and the important failure contract that null/empty/non-string entries do not abort the call but surface as ok:false with error code EMPTY counted in summary.invalid. It stops short of saying whether the call itself can ever error or how rows are ordered.

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?

Three tight sentences: scale and resource first, then return shape, then the edge-case contract. No filler, no restating the title, and the most decision-relevant fact (batch size limit) is front-loaded.

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?

With no output schema, the description carries the burden of explaining returns and does so at a high level (per-row fields matching the single tool, plus total/valid/invalid summary). For a single-parameter, read-only batch validator this is close to complete; only the exact summary key names and per-row error enumeration for malformed-but-non-empty IDs are left open.

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?

There is one required parameter and the schema description already covers it at 100%, including the max-1000 cap and the null/empty handling. The description restates the cap and adds 'non-string' to the list of tolerated entries, which is a marginal gain over the schema. Baseline 3 is appropriate when structured fields carry nearly all the meaning.

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 and resource ('Check ... Vietnamese tax IDs'), states the batch scope ('up to 1000 ... in one call'), and points at the single-value sibling by promising 'same fields as the single-value tool'. It is easy to distinguish from vn_tax_id_validate, but it never explicitly names that tool or says to use it instead for one-off lookups.

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?

Batch-vs-single usage is implied by 'in one call' and the reference to the single-value tool, so an agent can infer when to reach for this one. However, there is no explicit 'use this when you have many IDs, use X for one' instruction, no note on whether results are all-or-nothing, and no guidance on rate limits or cost of large batches.

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