{
  "$comment": "Discovery document for AI agents. Universal Paper is a language, not a service: this site is static and is not an A2A agent. Agents use Universal Paper through the read-only MCP server below, or by reading the specification and running the open reference interpreter themselves.",
  "name": "Universal Paper",
  "description": "Universal Paper is a free, open language for group purchasing agreements between GPOs, suppliers and members. Every party holds the same agreement, every change is signed, and anyone can verify it offline. Created by Uppercentile, offered free under CC BY 4.0 and Apache-2.0.",
  "url": "https://universalpaper.org/",
  "version": "UP/0.1-draft",
  "provider": {
    "organization": "Uppercentile",
    "url": "https://uppercentile.com",
    "role": "creator and steward"
  },
  "license": {
    "specification": "https://creativecommons.org/licenses/by/4.0/",
    "code": "https://www.apache.org/licenses/LICENSE-2.0",
    "examples": "https://creativecommons.org/publicdomain/zero/1.0/"
  },
  "documentationUrl": "https://universalpaper.org/developers/",
  "mcp": {
    "url": "https://mcp.universalpaper.org/mcp",
    "transport": "streamable-http",
    "auth": "none",
    "readOnly": true,
    "stateless": true,
    "holdsKeys": false,
    "registryName": "io.github.Uppercentile/universal-paper",
    "version": "0.1.3",
    "package": {
      "registry": "pypi",
      "name": "universal-paper-mcp",
      "version": "0.1.3",
      "run": "uvx universal-paper-mcp",
      "transport": "stdio"
    },
    "docs": "https://universalpaper.org/developers/#mcp",
    "tools": [
      {
        "name": "validate_bundle",
        "description": "Check a whole bundle against the axioms: signatures, hashes, chain linkage, Mandate bounds and Term typing, for every agreement and every recorded event."
      },
      {
        "name": "derive_state",
        "description": "Read what every agreement in a bundle means at one time: each chain's status (e.g."
      },
      {
        "name": "check_event",
        "description": "Dry-run one signed Event, exactly as it would be appended, against the current state of the chain it names, and return whether every evaluator would accept it, with each check (rule, passed, reason) and the resulting state hash."
      },
      {
        "name": "simulate_events",
        "description": "Apply a list of hypothetical, unsigned events in order to a copy of the bundle and return each step (accepted, reason, checks) plus the derived state afterwards."
      },
      {
        "name": "simulate_amendment",
        "description": "Try one change to an agreement in force: set parameter `param` of clause `clause` to `value`, proposed by an agent under its Mandate, and return whether every evaluator would accept it and, if not, which Mandate bound or rule it breaks."
      },
      {
        "name": "simulate_price_conformity",
        "description": "Check whether given prices conform to a member's contract prices: for one participation chain at time `at`, compare each price with the contract price in the tier in effect, and return conforms true/false with the reason, and per item the contract price, the difference and the price in every tier."
      },
      {
        "name": "simulate_termination",
        "description": "Ask what happens if a party gives notice of termination on a chain at time `at`: allowed true/false with the reason, which clause permits it (UP:Termination-Convenience or UP:Termination-Cause, with any cure period), the effective date, duties and fees (such as admin fees) still owed for periods up to then, and participations that stop with it."
      },
      {
        "name": "simulate_eligibility",
        "description": "Ask whether a member is eligible at time `at`: a real, active participant under an aggregator agreement (UP:Participation executed by every party, within its term, parent agreement in force), so that agreement's terms and contract prices apply to it."
      },
      {
        "name": "render_text",
        "description": "Render agreements as the human-readable text fixed by their hash: parties and roles, every clause in words, and the agreement hash."
      },
      {
        "name": "hash_object",
        "description": "Compute the content hash of any JSON value: RFC 8785 canonical JSON (JCS), then SHA-256, with signatures (`sigs`) stripped, returned as \"sha256:<hex>\"."
      },
      {
        "name": "list_terms",
        "description": "List the standard Universal Paper Term library: each Term's id (e.g."
      },
      {
        "name": "explain_term",
        "description": "Explain one standard Term: its parameters with types, the claims it allows, its rendering template, provenance, content hash and spec page URL."
      },
      {
        "name": "get_example",
        "description": "Load a worked example bundle (hypothetical parties and values, CC0) to try the other tools on."
      }
    ]
  },
  "resources": {
    "llms": "https://universalpaper.org/llms.txt",
    "llmsFull": "https://universalpaper.org/llms-full.txt",
    "specification": "https://universalpaper.org/spec/",
    "termLibrary": "https://universalpaper.org/spec/terms/",
    "schemas": [
      "https://universalpaper.org/schema/UP-0.1-draft/universal-paper.schema.json",
      "https://universalpaper.org/schema/UP-0.1-draft/trace.schema.json"
    ],
    "examples": [
      "https://universalpaper.org/examples/conventional/bundle.json",
      "https://universalpaper.org/examples/generative/bundle.json",
      "https://universalpaper.org/examples/overlay/bundle.json",
      "https://universalpaper.org/examples/confidential/bundle.json",
      "https://universalpaper.org/examples/mandate-cap/bundle.json",
      "https://universalpaper.org/examples/what-if/bundle.json"
    ],
    "integrations": "https://universalpaper.org/integrations/index.json",
    "faq": "https://universalpaper.org/faq/",
    "claudeGuide": "https://universalpaper.org/docs/claude/",
    "privacy": "https://universalpaper.org/privacy/",
    "terms": "https://universalpaper.org/terms/",
    "security": "https://universalpaper.org/security/",
    "support": "https://universalpaper.org/support/",
    "accessibility": "https://universalpaper.org/accessibility/",
    "contact": "https://universalpaper.org/partners.json",
    "sitemap": "https://universalpaper.org/sitemap.xml"
  },
  "referenceImplementation": {
    "language": "Python",
    "package": "universal-paper",
    "install": "pip install universal-paper",
    "cli": "up",
    "source": "https://github.com/Uppercentile/universal-paper"
  }
}
