# Mad Check

> Pre-payment verification for agents: signing firewall, ERC-8004 grades, Born Graded seals.

- name: xyz.madcheck/mad-check
- version: 1.0.1
- connection class: R0 (autonomous)
- trust: 83/100 flags: no-repository
- quality: 77/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/xyz.madcheck%2Fmad-check
- tools: https://api.protogrid.dev/v1/servers/xyz.madcheck%2Fmad-check/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "mad-check": {
      "type": "http",
      "url": "https://api.madcheck.xyz/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-100% +updated-6d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 77/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 78 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: mad_loop_grade (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); mad_seal_lookup (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); mad_witness_head (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 1,349 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 6 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 8, about 1,349 tokens to load them all
- tool set hash: 127823d66f0b36926e60545ca81188cc
- tools last changed: 2026-11-24T06:53:59.631Z
- badge: [![protogrid quality](https://protogrid.dev/badge/xyz.madcheck/mad-check.svg)](https://protogrid.dev/servers/xyz.madcheck/mad-check)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-24 `mad_loop_grade` added no new version (still 1.0.0)
  - MAD LOOP grade + gated-wallet hook: grade a Morpho Blue position on Robinhood Chain (4663) before any loop leg signs — health factor, liquidation price, distance to liquidation, PASS / WARN / DONT_SIGN with reasons. Zero borrow prints as a state (CLOSED), never infinite health. As a hook, pass signer + fingerprint + effect (market in effect.loop.market_id) and the answer carries hook_verdict PASS / DONT_SIGN; a hook that cannot grade fails closed. Free on this MCP door (the REST door costs 0.01 USDC via x402); earns MAD DUST for the acting identity.
- 2026-11-24 `mad_complaints` added
  - THE COMPLAINT DESK reads: no filed complaint, no public exposure — MAD does not carry a grievance nobody signed. With no filingId, lists every complaint filed at the desk, newest first, each with its status. With a filingId (e.g. CMP-0001), returns that filing in full with its status/grade history. Filings are public to claimant AND respondent alike. A filing prints UNGRADED / UNVERIFIED until MAD grades it — a filing is an allegation in the open, not a verdict. To file: POST /v1/complaints on the REST door (free; claimant {name required}, respondent {name required}, claim required, category payable | broken_promise | number_mismatch | other, optional amount/currency/evidence).
- 2026-11-23 `mad_check_endpoint` changed (description) no new version (still 1.0.0)
  - before: Check an endpoint before paying against its printed x402 price: HTTP status, latency, sha256 of the body served, and whether it is alive at all. A dead door's price print is a price for nothing.
  - after: Check an endpoint before paying against its printed x402 price: HTTP status, latency, sha256 of the body served, and whether it is alive at all. A dead door's price print is a price for nothing. Free on this MCP door (the REST door costs 0.01 USDC via x402); earns MAD DUST for the acting identity.
- 2026-11-23 `mad_check_authorization` changed (description) no new version (still 1.0.0)
  - before: Signing firewall for EIP-3009 / x402 authorizations. Call BEFORE signing, every time. Returns SIGN or DONT_SIGN with machine-readable reasons. A DONT_SIGN is a stop, not a suggestion; a SIGN is evidence, not an instruction — the caller's own policy still decides.
  - after: Signing firewall for EIP-3009 / x402 authorizations. Call BEFORE signing, every time. Returns SIGN or DONT_SIGN with machine-readable reasons. A DONT_SIGN is a stop, not a suggestion; a SIGN is evidence, not an instruction — the caller's own policy still decides. Free on this MCP door (the REST door costs 0.01 USDC via x402); earns MAD DUST for the acting identity.
- 2026-11-23 `mad_check_agent` changed (description) no new version (still 1.0.0)
  - before: Grade an ERC-8004 registration on Base before paying its owner: LIVE / DEAD END / GHOST / MALFORMED with evidence (owner, card, services, endpoint probes). ERROR means the check itself could not complete — it is not a grade.
  - after: Grade an ERC-8004 registration on Base before paying its owner: LIVE / DEAD END / GHOST / MALFORMED with evidence (owner, card, services, endpoint probes). ERROR means the check itself could not complete — it is not a grade. Free on this MCP door (the REST door costs 0.01 USDC via x402); earns MAD DUST for the acting identity.
- 2026-11-23 `mad_test` changed (description) no new version (still 1.0.0)
  - before: THE MAD TEST: run the free five-station battery on an ERC-8004 agent (Base): its grade with evidence, the grader graded by the same machine, the F-01 ten-year-window trap caught by the signing firewall, the registry census, and a witness receipt hash. Run it on yourself first.
  - after: THE MAD TEST: run the free five-station battery on an ERC-8004 agent (Base): its grade with evidence, the grader graded by the same machine, the F-01 ten-year-window trap caught by the signing firewall, the registry census, and a witness receipt hash. Run it on yourself first. Free forever; earns MAD DUST for the tested identity.

Full history: https://api.protogrid.dev/v1/servers/xyz.madcheck%2Fmad-check/changes

## Remotes

- https://api.madcheck.xyz/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (8)

- `mad_check_agent`: Grade an ERC-8004 registration on Base before paying its owner: LIVE / DEAD END / GHOST / MALFORMED with evidence (owner, card, services, endpoint probes). ERROR means the check itself could not complete — it is not a grade. Free on this MCP door (the REST door costs 0.01 USDC via x402); earns MAD DUST for the acting identity.
- `mad_check_authorization`: Signing firewall for EIP-3009 / x402 authorizations. Call BEFORE signing, every time. Returns SIGN or DONT_SIGN with machine-readable reasons. A DONT_SIGN is a stop, not a suggestion; a SIGN is evidence, not an instruction — the caller's own policy still decides. Free on this MCP door (the REST door costs 0.01 USDC via x402); earns MAD DUST for the acting identity.
- `mad_check_endpoint`: Check an endpoint before paying against its printed x402 price: HTTP status, latency, sha256 of the body served, and whether it is alive at all. A dead door's price print is a price for nothing. Free on this MCP door (the REST door costs 0.01 USDC via x402); earns MAD DUST for the acting identity.
- `mad_complaints`: THE COMPLAINT DESK reads: no filed complaint, no public exposure — MAD does not carry a grievance nobody signed. With no filingId, lists every complaint filed at the desk, newest first, each with its status. With a filingId (e.g. CMP-0001), returns that filing in full with its status/grade history. Filings are public to claimant AND respondent alike. A filing prints UNGRADED / UNVERIFIED until MAD grades it — a filing is an allegation in the open, not a verdict. To file: POST /v1/complaints on the REST door (free; claimant {name required}, respondent {name required}, claim required, category payable | broken_promise | number_mismatch | other, optional amount/currency/evidence).
- `mad_loop_grade`: MAD LOOP grade + gated-wallet hook: grade a Morpho Blue position on Robinhood Chain (4663) before any loop leg signs — health factor, liquidation price, distance to liquidation, PASS / WARN / DONT_SIGN with reasons. Zero borrow prints as a state (CLOSED), never infinite health. As a hook, pass signer + fingerprint + effect (market in effect.loop.market_id) and the answer carries hook_verdict PASS / DONT_SIGN; a hook that cannot grade fails closed. Free on this MCP door (the REST door costs 0.01 USDC via x402); earns MAD DUST for the acting identity.
- `mad_seal_lookup`: Born Graded seal lookup: before buying a newly launched token, get its seal state — SEALED (claim sheet filed, anchored, graded against the contracts), UNSEALED (no graded sheet backs it), or FAILED (graded and contradicted). UNSEALED or FAILED on a new launch means walk.
- `mad_test`: THE MAD TEST: run the free five-station battery on an ERC-8004 agent (Base): its grade with evidence, the grader graded by the same machine, the F-01 ten-year-window trap caught by the signing firewall, the registry census, and a witness receipt hash. Run it on yourself first. Free forever; earns MAD DUST for the tested identity.
- `mad_witness_head`: Read the head of MAD's signed, hash-chained witness ledger (latest seq + head hash + signer). Entries are readable individually at GET /v1/witness/{seq} on the API.
