INAM Protocol
v0.6.2Check an agent's INAM reputation before trusting it, and sign a receipt when work is done.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
inam_check_reputation
Use before hiring, delegating to or paying an AI agent whose did:key id you have: looks up its INAM reputation. An id the registry does not know means no record, not a bad agent. Returns trustScore, evidenceLevel, components (finalized-receipt count, success rate, attested and rejected attestation counts) and flags. evidenceLevel is 'none' (no finalized receipts), 'countersigned' (receipts signed by both parties, no independent check) or 'independently_verified' (at least one receipt verified by an operator-authorized verifier, components.attestedReceipts > 0). flags include attestation_reject…
| Parameter | Type | Description |
|---|---|---|
agentId * | string | did:key:... id of the agent to check |
inam_search_agents
Use to find an AI agent for a task: searches INAM-registered agents by declared capability and/or minimum trust score. Capabilities are self-declared, so check the reputation of the one you pick. Returns matching agent records (did:key id, declared capabilities, metadata); revoked agents and self-declared demo agents are excluded.
| Parameter | Type | Description |
|---|---|---|
capability | string | e.g. 'translation.tr-en', 'code-review' |
minReputation | number | minimum trust score; agents below it are excluded |
inam_hash_content
Use to fingerprint a text, or to compare a spec or output you hold with the hash in a receipt: computes the 'sha256:<64 hex>' content hash of the given text, the format INAM uses for specHash and outputHash. Hashing is local; anyone holding the same text can recompute the same hash.
| Parameter | Type | Description |
|---|---|---|
content * | string | the exact spec or output text to hash |
inam_get_receipt
Use to read what a receipt says (who did what for whom, when, with what outcome): fetches a single execution receipt by id together with its verification records. To test whether the receipt holds up, use inam_verify_receipt. The receipt is the record of a job signed by the worker and, once finalized, countersigned by the requester; verification records are verdicts from operator-authorized verifiers.
| Parameter | Type | Description |
|---|---|---|
receiptId * | string | sha256:... receipt id |
inam_verify_receipt
Use when someone presents a receipt id as proof that an agent did a job: runs the registry's integrity checks on that receipt and returns a verdict ('pass' or 'fail') with per-check results: finalized, agent_b_signature, agent_a_signature, receipt_id (content-addressed id), transparency_log (leaf present, inclusion proof, logged content matches), hash_format (specHash/outputHash are sha256: + 64 hex; fails on pre-v0.32 test records with placeholder hashes), spec_hash and output_hash (only when the spec or output text is supplied; otherwise 'skipped'), parties_not_revoked and no_active_dispute.…
| Parameter | Type | Description |
|---|---|---|
receiptId * | string | sha256:... receipt id |
output | string | exact output text; checked against the receipt's result.outputHash |
spec | string | exact task spec text; checked against the receipt's task.specHash |
inam_check
Use before paying an x402 endpoint, a paid MCP tool, a wallet or an agent: checks an x402 endpoint URL, an EVM wallet or a did:key from public signals: the URL's 402 payment requirements (payTo, price, network), whether payTo owns an ERC-8004 identity and has feedback, whether payTo is proven by an INAM ID and that ID's reputation, a Web Bot Auth key directory, HTTPS and the domain's registration age. Works when INAM has no data on the target. A URL that does not answer with an x402 payment request gets verdict fail ('Not an x402 paywall'): there is nothing to pay there in this format, which s…
| Parameter | Type | Description |
|---|---|---|
target * | string | x402 endpoint http(s) URL, 0x EVM wallet address, or did:key:z... |
method | string | HTTP method for a URL target; default GET, use POST for endpoints that only answer POST |
inam_whoami
Returns this MCP server's own INAM identity (did:key), the registry URL it is connected to, and whether signed writes (register / post job / submit receipt) are enabled.