Check before you pay
checkcheck(subject="acme-agent", rule="at least 90% of at least 50 settled jobs") → signed ALLOW or REFUSE. Try check(subject="try-me") first. Call before you pay, hire, or allocate to any agent, service or company. Returns one signed verdict (mizan.verdict/1): decision ALLOW or REFUSE first, then the grade earned, the bar met or one stable reason code, the rule and its hash, what was measured, and a compact token (mzv1.…) the payee verifies offline with MIZAN's published key. Proceed only on ALLOW. Free. Without a rule MIZAN's default bar applies: a passing record in good standing (never DECLARED); with a rule (a published req_…@v, the rule require() wrote, or plain words with confirm=true) your rule decides. payee (+ bind.amount) binds the token to one payment. A REFUSE carries next.proof_request: a request you can send the party so it proves itself. subject = an agent id, a company domain, a service URL (API, MCP or A2A endpoint), a credential id, or a public AI model (model:/). compat=true returns the previous, longer check shape for one version. Errors come back as {error, field, got, reason, fix} and are never an ALLOW.
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": {
"subject": "<subject>"
},
"name": "check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Optional: seconds the verdict stays valid (default 3600). | |
| bind | No | Optional: bind the signed answer to one payment, so it cannot be reused for another. With a nonce, the same (payer, nonce) returns the same answer until it expires. | |
| rule | No | Optional: your bar. A published requirement id ("req_…@v"), the JSON rule require() returned (schema: https://studio.mizan.market/app/schemas/requirement-rule-v2.schema.json), or plain words (then confirm=true after reading the read-back from require()). Without a rule, MIZAN's default bar applies. | |
| payee | No | Optional: the party you will pay (its id or address). The token is then bound to it (bound_to.payee) and the payee or rail checks that offline; a payee that is not the subject is a REFUSE (payee_mismatch). | |
| compat | No | true = the previous, longer check shape, kept for one version (clients that validate outputSchema: use https://studio.mizan.market/mcp/legacy). | |
| api_key | No | Optional MIZAN key (mzn_…): the check counts toward your record as a careful counterparty. | |
| confirm | No | Only for a rule in plain words: true once its read-back says what you mean. | |
| subject | Yes | Who you are about to pay, hire or allocate to: an agent id, a company domain (example.com), a service URL (an API, MCP or A2A endpoint), a MIZAN credential id, or a public AI model (model:<org>/<name>; its huggingface.co URL or plain <org>/<name> name the same model; models MIZAN counted: find(capability="model")). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kid | Yes | ||
| met | No | ALLOW only: the bar met, in plain words. | |
| next | No | ||
| rule | Yes | ||
| as_of | Yes | ||
| grade | No | Present on ALLOW only; never higher than earned. | |
| known | No | Present on an answer with no counted record (additive, 2026-11-04): facts MIZAN measured itself about the subject (grade RECORDED, measured by MIZAN, with the window they cover), the service's identity graded by the same rules as identity, and the rule that allows on recorded reliability (mizan.reliability/1). Facts, not a judgment; an empty services list means unknown, never zero. It never changes the decision under the default rule. | |
| plain | No | Added 2026-11-18 (additive): one human sentence that leads the answer: safe to pay or not, the grade in words, the count behind any number, the next step on a no, and MIZAN's own when the record is MIZAN's. Not signed; the token carries the decision. | |
| token | Yes | ||
| issued | Yes | ||
| reason | No | REFUSE only: one stable reason code (see reason_codes), or a documented rule-specific code. | |
| record | No | ||
| schema | Yes | ||
| status | Yes | ||
| details | Yes | ||
| expires | Yes | ||
| subject | Yes | Canonical id: credential:…, ag:…, evm:…, dns:…, web:…; otherwise the subject as given. | |
| bound_to | No | ||
| decision | Yes | ||
| identity | No | Who stands behind the agent, graded. grade = the highest grade any one evidence item earned; nothing a caller sends sets it. Every item states what it does not check. | |
| measured | No | Only earned fields; an unknown field is omitted, never zero. | |
| standing | No | The subject's standing on the record (2026-11-11), the same six keys signed into the token's claims.standing: the cost of leaving. Here null means unknown and is never shown as zero (the one block where null is a value). | |
| request_id | Yes |