{"serverId":"mcp-registry/org.openentity/openentity","tools":[{"name":"openentity_alias_add","fixed":{"name":"openentity_alias_add","description":"Add an alias (domain, wallet, erc8004, platform) so the entity reaches L1: the registry verifies the proof, then your document lists the alias, re-signed with your key (used for this call only). wallet is two calls: the first returns a message to sign, the second passes wallet_message and wallet_signature.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["eid","private_key_jwk","type","value"],"properties":{"eid":{"type":"string"},"type":{"enum":["domain","wallet","erc8004","platform"],"type":"string"},"chain":{"type":"integer","default":8453,"maximum":9007199254740991,"minimum":-9007199254740991,"description":"wallet only: chain id"},"value":{"type":"string","maxLength":300,"description":"domain: example.com. wallet: 0x address. erc8004: eip155:<chain>:<registry>:<agentId>. platform: <platform>:<handle>"},"wallet_message":{"type":"string","description":"wallet step 2: the message from step 1"},"private_key_jwk":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"wallet_signature":{"type":"string","description":"wallet step 2: EIP-191 personal_sign of wallet_message, 0x hex"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":338,"tokensAfter":338},{"name":"openentity_commerce_check","fixed":{"name":"openentity_commerce_check","description":"Verify an agent purchase before you accept it (Agent Commerce Check): returns allow, step_up or deny with reasons and an evidence_id kept 400 days. Send the agent's signed HTTP request (method, url, headers; add body or body_b64 when the request was signed over it), the cart/1, the merchant policy, and the mandate (or an OE-Mandate header). Free, no key.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["request","cart"],"properties":{"cart":{"type":"object","description":"cart/1: profile, merchant, agent_did, lines, total, currency, rail, mandate_id","propertyNames":{"type":"string"},"additionalProperties":{}},"policy":{"type":"object","description":"agent_policy: min_level, require_owner, require_mandate, min_security_band, accept_issuers, min_owner_level; or {merchant: <did>} to use the policy that merchant published","propertyNames":{"type":"string"},"additionalProperties":{}},"mandate":{"type":"object","description":"mandate/1, when not in an OE-Mandate header","propertyNames":{"type":"string"},"additionalProperties":{}},"request":{"type":"object","required":["method","url","headers"],"properties":{"url":{"type":"string"},"body":{"type":"string"},"method":{"type":"string"},"headers":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"body_b64":{"type":"string"}}},"approval":{"type":"object","description":"{approval: approval/2.0, verifier_did, request_id}: the owner's approval of this exact cart, after a step_up","propertyNames":{"type":"string"},"additionalProperties":{}}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":457,"tokensAfter":457},{"name":"openentity_export_key","fixed":{"name":"openentity_export_key","description":"Export your key from registry custody (spec 10.6): the registry returns its kept copy once and deletes it. Needs confirm=true and your private_key_jwk (used for this call only).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["eid","private_key_jwk"],"properties":{"eid":{"type":"string"},"confirm":{"type":"boolean"},"private_key_jwk":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":142,"tokensAfter":142},{"name":"openentity_find","fixed":{"name":"openentity_find","description":"Find entities by what they can do (capability), by name, or by bound alias type.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"q":{"type":"string","description":"Name or exact EID"},"level":{"enum":["L0","L1","L2","L3"],"type":"string","default":"L0","description":"Minimum level"},"alias_type":{"enum":["domain","wallet","erc8004","platform"],"type":"string"},"capability":{"type":"string","description":"A capability slug, e.g. code-review"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":150,"tokensAfter":150},{"name":"openentity_read","fixed":{"name":"openentity_read","description":"Read the Open Entity llms.txt, the OEIS-1 spec (or one section, e.g. 10.4) or the Declaration text.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["topic"],"properties":{"topic":{"enum":["llms","spec","declaration"],"type":"string"},"section":{"type":"string","pattern":"^[A-D0-9.]{1,6}$","description":"Spec section number, e.g. 6 or 10.4"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":121,"tokensAfter":121},{"name":"openentity_resolve","fixed":{"name":"openentity_resolve","description":"Resolve a DID (did:key, did:web, did:webvh, did:pkh, did:plc) to its DID document.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["did"],"properties":{"did":{"type":"string"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":75,"tokensAfter":75},{"name":"openentity_stats","fixed":{"name":"openentity_stats","description":"Read public registry counts: entities by level, record entries, attestations, log size.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":65,"tokensAfter":65}],"toolsChanged":7,"tokensSaved":0,"todo":[{"tool":"openentity_adopt","params":["name","custody","description"]},{"tool":"openentity_alias_add","params":["eid","type","private_key_jwk"]},{"tool":"openentity_card","params":["eid","extension_only"]},{"tool":"openentity_commerce_check","params":["request"]},{"tool":"openentity_export_key","params":["eid","confirm","private_key_jwk"]},{"tool":"openentity_find","params":["alias_type"]},{"tool":"openentity_mandate_covers","params":["cart","mandate","total_spent","period_spent"]},{"tool":"openentity_mandate_verify","params":["mandate","agent_did"]},{"tool":"openentity_present","params":["eid"]},{"tool":"openentity_read","params":["topic"]},{"tool":"openentity_record","params":["eid","kind","private_key_jwk"]},{"tool":"openentity_resolve","params":["did"]},{"tool":"openentity_self","params":["entries"]},{"tool":"openentity_verify","params":["eid","object"]},{"tool":"openentity_withdraw","params":["eid","confirm","private_key_jwk"]}],"note":"Deterministic fixes. Changes marked verify need a human look before shipping (renames, inferred annotations, inferred types, removed text). Parameter descriptions in `todo` need to be written by someone who knows the API."}