MCP server for jp-pint: validate Japanese qualified invoices (適格請求書) and registration numbers (T+13) from AI agents. Zero dependencies.
Two tools with basic schemas and descriptions, but significant gaps in parameter documentation and output schema clarity. Tool names lack action verbs (check_registration_number, validate_invoice are acceptable but not ideal). Descriptions are present but lack actionable guidance for LLM selection. Critical issue: invoice parameter in validate_invoice has only a generic object description with no typed subfields, violating schema completeness. No error recovery guidance. No output schemas documented. Baseline: 549 production tools average 18-char names and 194-char descriptions; these tools meet length but lack depth.
Validate a 適格請求書発行事業者登録番号 (Japanese qualified-invoice registration number, 'T' + 13 digits): format and the 法人番号 check digit, PLUS real-existence verification against the National Tax Agency (国税庁) public registry — returns whether the number actually exists, is currently valid (not revoked/expired), and the registered company name. Free, no key needed.
Validate that a Japanese qualified invoice has the mandatory fields (発行者名/登録番号/取引年月日/受領者名/取引内容/税率ごとの対価・消費税額) and consistent 8%/10% tax. Requires JP_PINT_KEY.
validate_invoice invoice parameter lacks typed subfields. Description mentions 'seller_name, registration_number, issue_date, recipient_name, lines[{description, amount, tax_rate}], tax_summary[{tax_rate, taxable_amount, tax_amount}]' but inputSchema defines invoice as bare object with no properties. LLMs cannot validate structure or infer required fields.
No output schemas documented for either tool. Responses are wrapped in textResult() with JSON stringified content, but LLMs cannot parse structure or plan downstream calls. Pattern requires documented return types.
Error handling returns generic network errors ('network error: ...') without recovery guidance. No actionable next steps for LLM. Missing pattern: 'If network error, retry in 5s' or 'If JP_PINT_KEY missing, visit BASE to get one' (though the latter is present for validate_invoice).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 46 | 2026-07-28+ | v2 |
Tool names do not start with clear action verbs. 'check_registration_number' is acceptable but 'validate_invoice' is vague, does it validate format, existence, tax consistency, or all three? Baseline: 90% of A+ tools start with get, list, create, search, update, who.
check_registration_number parameter 'number' lacks format constraint. Description says 'e.g. T2010401021385' but no regex pattern or length validation in schema. LLMs may pass invalid formats.