# The read door

> NablaZ is the open record for the AI agent economy. Your agent acts under the permission you gave it; the record it leaves is credit you own.

## GET /read

```http
GET https://read.nablaz.io/read/:chainId/:address
```

Returns every indexed fact about an address on one chain. No key, no account: the read is over public logs, and it writes nothing.

- `42161`: the NablaZ record, its grantee vaults, and third-party permission sources
- `8453`: third-party permission sources only; the NablaZ contracts are deployed on 42161
- `137`: third-party permission sources only; the NablaZ contracts are deployed on 42161
- `10`: third-party permission sources only; the NablaZ contracts are deployed on 42161
- `59144`: third-party permission sources only; the NablaZ contracts are deployed on 42161

Any other chain ID answers 404 with {"error":"chain <id> is not read here"}.

```sh
curl https://read.nablaz.io/read/42161/<address>
```

## The response

- `subject, chainId`: the address, checksummed, and the chain ID
- `asOfBlock`: the indexed block the read is taken at; state reads use this block too, never the chain head
- `facts`: one per indexed row about the address, in block and log-index order
- `selfDealing`: NablaZ accounts only, otherwise null
- `exposure`: NablaZ accounts only, otherwise null
- `cShare`: per token, the share of this read's payment facts labelled (c); never summed across tokens
- `notes`: every source that returned nothing, stated as "nothing indexed" with its block range, and every fact that is not determinable, stated as text

Each fact:

- `source`: the system the fact came from
- `label, shape`: the permission label, one of five shapes, (a) to (e)
- `terms`: the decoded terms of the entry, payment or permission
- `cite`: { chainId, block, tx, logIndex }: the log that is the evidence
- `reproduce`: the command that returns the same log from any RPC

Every field that carries epoch seconds has a sibling <field>Utc: the reader-computed ISO-8601 UTC string, YYYY-MM-DDTHH:MM:SSZ, so a client never converts the epoch itself. The raw field is never changed. A Utc sibling is null when the instant cannot be written that way (a negative value, or past the year 9999).

An empty read is not a statement about the address. "nothing indexed (blocks X..Y)" covers only that block range; it never asserts absence.

## When the reader cannot answer

- `503 {"ready":false}`: the index has not caught up. The read answers this and reads nothing: an empty record from an unready index would be absence, not a record. The MCP tool answers the same body as an error result
- `429`: over the per-client rate limit; plain-text body
- `400 {"error":"not an address"}`: the path's address does not parse
- `5xx {"error":"internal error"}`: any other server failure; it says nothing about the address

GET https://read.nablaz.io/ready answers 200 with an empty body when the index has caught up, and 503 {"ready":false} when it has not. Readiness is the status code.

## MCP

Read NablaZ's open record: agent actions under permission, cited onchain. Evidence, not a verdict.

- `endpoint`: https://read.nablaz.io/mcp
- `transport`: Streamable HTTP
- `tool`: read_subject { chainId, address }: the GET /read body, byte for byte
- `access`: keyless, read-only; no write or signing path

Claude Code plugin:

```text
/plugin marketplace add cyninzf/nablaz-sdk
/plugin install nablaz@nablaz
```

Cline: Add Remote Server → https://read.nablaz.io/mcp, transport Streamable HTTP.

Any MCP client that takes a URL (raw Streamable HTTP):

```json
{ "type": "http", "url": "https://read.nablaz.io/mcp" }
```

## The read-record skill

Instructions an agent loads to read the record and cite every fact it states. Shipped with the plugin.

- [read-record/SKILL.md](https://github.com/cyninzf/nablaz-sdk/blob/main/plugins/nablaz/skills/read-record/SKILL.md)

## Machine twins

- [/llms.txt](https://nablaz.io/llms.txt): the site for language models: the door, the endpoint, the registration file, the source
- [/llms-full.txt](https://nablaz.io/llms-full.txt): the same, with the full read docs inline
- [/read.md](https://nablaz.io/read.md): this page as markdown
- [/.well-known/ai-catalog.json](https://nablaz.io/.well-known/ai-catalog.json): MCP server discovery (AI Catalog, with the Server Card inline)
- [https://read.nablaz.io/.well-known/agent-registration.json](https://read.nablaz.io/.well-known/agent-registration.json): the ERC-8004 registration file
- [/sitemap.xml](https://nablaz.io/sitemap.xml): the sitemap

Evidence, not a verdict.
