validate_usci
Verify a China Unified Social Credit Identifier's format and check digit offline, decoding its administrative division and entity type. Passing only confirms well-formedness, not company status.
Instructions
Check whether an 18-character Unified Social Credit Identifier (USCI/USCC) from a mainland China business licence is well formed, and decode its segments. Offline arithmetic check per GB 32100-2015: verifies the character set and the mod-31 check character, and reports the registering authority, entity category and administrative division encoded in the code. Returns explicitly what a passing code does and does not establish. Does NOT query any registry and does NOT prove the company exists, is active, or is trustworthy.
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": {
"code": "<code>"
},
"name": "validate_usci"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The identifier as printed on the licence. Whitespace, full-width spaces, hyphens and lower case are tolerated. |