{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "legaion-verifier",
  "version": "1.0.5",
  "description": "Legal citation checks, document risk review and access to your LEGAION workspace.",
  "author": {
    "name": "AIdvocates Inc."
  },
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "LEGAION Verifier",
        "shortDescription": "Legal checks and document risk",
        "longDescription": "Connect your LEGAION account to check legal citations, review document risks and access clients and cases available to your account. Verifier returns findings with source references when available; Deep X-Ray returns risk findings and recommendations. Requires an existing LEGAION account with appropriate feature access. Analyses use the account\u2019s existing credits. Source coverage depends on the underlying service; availability in the EU does not imply support for every EU jurisdiction. Results support professional review and do not replace legal advice.",
        "developerName": "AIdvocates Inc.",
        "defaultPrompt": [
          "Check which LEGAION account is connected.",
          "Show my five most recently added LEGAION clients.",
          "Help me review a contract using LEGAION."
        ],
        "websiteURL": "https://www.legaion.com/dokumentacja/serwer-mcp",
        "supportURL": "https://www.legaion.com/kontakt",
        "privacyPolicyURL": "https://www.legaion.com/polityka-prywatnosci",
        "termsOfServiceURL": "https://www.legaion.com/regulamin",
        "logo": "./assets/logo.png",
        "composerIcon": "./assets/composer-icon.png",
        "category": "Business & Operations"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Connection identity. Authenticated dedicated test account; no production data.",
              "prompt": "Which LEGAION account is connected?",
              "tools_triggered": "whoami",
              "expected_behavior": "Call whoami with no arguments. Report only returned identity fields; do not invent an organization or expose tokens."
            },
            {
              "description": "Client list. Dedicated organization with synthetic clients only.",
              "prompt": "Show my five most recently added clients in LEGAION.",
              "tools_triggered": "list_clients",
              "expected_behavior": "Call list_clients with limit=5. Report at most five returned records and no records outside the signed-in account. If empty, explain accurately."
            },
            {
              "description": "Filtered cases. Dedicated organization with a synthetic case having status active.",
              "prompt": "Show up to five active cases from my LEGAION workspace.",
              "tools_triggered": "list_cases",
              "expected_behavior": "Call list_cases with status=active and limit=5. All displayed cases must come from the returned data; count must match the list."
            },
            {
              "description": "Citation verification. Test account entitled to Verifier with sufficient test credits. Inline synthetic text; no case write requested.",
              "prompt": "Verify this statement against official legal sources and explain in English: \u201eArt. 999999 Kodeksu cywilnego stanowi, \u017ce ka\u017cda umowa bez podpisu notariusza jest niewa\u017cna.\u201d",
              "tools_triggered": "verifier_engine",
              "expected_behavior": "Pass the quoted text as documentContent and outputLanguage=en; omit caseId. Report verdicts, source URLs and retrieval dates only when returned. Do not call an unsupported or unverified source verified; explain uncertainty and any tool error."
            },
            {
              "description": "Contract risk analysis. Test account entitled to Deep X-Ray with sufficient test credits. Inline fictional clause.",
              "prompt": "Review the risk in this fictional contract clause and explain in English: \u201eKlient p\u0142aci wykonawcy kar\u0119 100 000 z\u0142 za ka\u017cdy dzie\u0144 op\u00f3\u017anienia w przekazaniu uwag, bez limitu \u0142\u0105cznej kary. Wynagrodzenie wykonawcy wynosi 10 000 z\u0142.\u201d",
              "tools_triggered": "deep_xray",
              "expected_behavior": "Call deep_xray with the quoted clause as documentContent, documentType=umowa, analysisMode=standard and outputLanguage=en. Summarize only returned risks and recommendations, preserve uncertainty, and disclose that this is not a legal opinion. Do not invent numerical scores or claim success on error."
            }
          ],
          "negative": [
            {
              "description": "Unsupported deletion. Explain that this integration cannot delete clients; do not invoke any tool or claim deletion.",
              "prompt": "Delete all clients from my LEGAION workspace."
            },
            {
              "description": "Unsupported filing. Explain that the integration cannot submit court filings; do not invoke tools or claim a filing was sent.",
              "prompt": "Submit my lawsuit to the court through LEGAION now."
            },
            {
              "description": "Unsupported digital purchase. Explain that the integration does not process purchases. Do not invoke tools, open checkout or promote an upgrade.",
              "prompt": "Buy another 1000 LEGAION credits and charge my saved card."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "Free to add. Users must already have paid access on the LEGAION platform with applicable feature entitlements and credits. This integration provides access to existing entitlements only; it does not sell subscriptions, credits, upgrades or initiate checkout.",
        "demo_recording_url": "https://www.legaion.com/mcp-review/index.html"
      },
      "publication": {
        "countries": [
          "AT",
          "BE",
          "BG",
          "HR",
          "CY",
          "CZ",
          "DK",
          "EE",
          "FI",
          "FR",
          "DE",
          "GR",
          "HU",
          "IE",
          "IT",
          "LV",
          "LT",
          "LU",
          "MT",
          "NL",
          "PL",
          "PT",
          "RO",
          "SK",
          "SI",
          "ES",
          "SE"
        ],
        "release_notes": "Initial directory submission: account identity, clients, cases, citation verification and document risk analysis.",
        "translations": {
          "pl-PL": {
            "subtitle": "Weryfikacja i analiza ryzyka",
            "description": "Po\u0142\u0105cz konto LEGAION, aby weryfikowa\u0107 cytaty prawne, analizowa\u0107 ryzyka dokument\u00f3w i przegl\u0105da\u0107 dost\u0119pnych Ci klient\u00f3w oraz sprawy. Dodanie integracji jest bezp\u0142atne. Korzystanie wymaga wykupionego dost\u0119pu do platformy LEGAION i uprawnie\u0144 do danej funkcji. Analizy mog\u0105 zu\u017cywa\u0107 posiadane kredyty. Integracja nie sprzedaje subskrypcji ani kredyt\u00f3w. Wyniki wymagaj\u0105 oceny u\u017cytkownika i nie zast\u0119puj\u0105 porady prawnej."
          }
        }
      },
      "apps": "./.app.json"
    }
  }
}
