Check a domain
ptpge_check_domainDoes an agent find PTPGE on this domain? Fetches exactly what a checkout agent fetches — https:///.well-known/ucp (the UCP manifest and its ptpge block), the vendor declaration at /.well-known/ptpge/declaration.json, the identity in the vendors register, and a supplier catalogue if the domain is a maker — and validates each against its published JSON Schema (ptpge.org/v1/schemas/) and the vocabulary. Returns a verdict (ready | partial | none), one line per step with errors and warnings, what the agent sees (name, identity, products, capability counts) and what is missing with where to fix it. Read-only; nothing is stored. Use it to answer 'is agent-ready?' or 'why does my declaration not validate?'.
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": {
"domain": "<domain>"
},
"name": "ptpge_check_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | A hostname or URL, e.g. trykkverk.no or https://trykkverk.no/. | |
| document | No | Optional: https URL of a declaration or catalogue hosted elsewhere than the known path (a register entry marked «hosted»). |