← Files NHLA Liberty RatingsARCHIVED FILE

plugin.json

5.28 KB · Nov 14, 2026 · 12:11 UTC

↓ Download file

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "nhla-liberty-ratings",
  "version": "1.1.0",
  "description": "Liberty Ratings for every New Hampshire state legislator since 2006, from the New Hampshire Liberty Alliance: grades, scored roll-call votes, and who represents any town or ZIP code.",
  "author": {
    "name": "New Hampshire Liberty Alliance",
    "url": "https://www.nhliberty.org/"
  },
  "homepage": "https://www.nhliberty.org/ratings/",
  "license": "MIT",
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "NHLA Liberty Ratings",
        "shortDescription": "NH legislators' votes & grades",
        "longDescription": "The New Hampshire Liberty Alliance (NHLA) has graded every New Hampshire state representative and senator on their votes since 2006. This connector gives your assistant those Liberty Ratings directly from NHLA's own data.\n\n- Who represents me: every House and Senate district for a town, a city ward, or a ZIP code, with each legislator's grade.\n- One legislator's record: their grade in every session they served, in either chamber.\n- How they voted: the roll calls NHLA scored in a session, how the legislator voted on each, and whether that matched NHLA's position, optionally for a single bill.\n- The grade key: what each grade meant in a given year and how many legislators received it, including CT (\"Constitutional Threat\"), a grade below F.\n\nThe grades, and the choice of which votes count, are NHLA's. The votes themselves come from the New Hampshire General Court's public record. The data covers legislators who have served. It does not cover candidates or endorsements. It is read-only and needs no account or sign-in.",
        "developerName": "New Hampshire Liberty Alliance",
        "category": "Education & Research",
        "websiteURL": "https://www.nhliberty.org/ratings/",
        "supportURL": "https://www.nhliberty.org/ratings/ai/",
        "privacyPolicyURL": "https://api.nhliberty.org/privacy",
        "termsOfServiceURL": "https://api.nhliberty.org/terms",
        "logo": "./assets/logo.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "A town in three districts: every district and legislator is reported, not just the first.",
              "prompt": "Who represents Auburn, NH in the state legislature, and what are their Liberty Ratings?",
              "tools_triggered": "legislators_for_town",
              "expected_behavior": "Six legislators across three districts (House Rockingham-02, House Rockingham-31 (floterial), Senate-14), all reported, each with a grade."
            },
            {
              "description": "One person across two state employee numbers is one record.",
              "prompt": "What Liberty Ratings has Rep. Patrick Long received over the years?",
              "tools_triggered": "legislator_record",
              "expected_behavior": "20 sessions, 2007-2026, as one person. Most recent grade F (2026); CT in 2019 and 2021-2024."
            },
            {
              "description": "How a legislator voted on one bill, against NHLA's position.",
              "prompt": "How did Jason Osborne vote on HB609 in 2026, and did NHLA agree?",
              "tools_triggered": "legislator_votes",
              "expected_behavior": "Three scored roll calls on HB609 in 2026; he voted with NHLA's position on all three."
            },
            {
              "description": "The grade key explains CT, a grade below F, with counts.",
              "prompt": "What does a CT grade mean in the 2026 Liberty Rating, and how many legislators got one?",
              "tools_triggered": "grade_key",
              "expected_behavior": "CT is 'Constitutional Threat', a published grade below F (0-12.5%). 134 of 420 legislators received it: 126 representatives and 8 senators."
            },
            {
              "description": "A ZIP code covering two towns asks which one rather than guessing.",
              "prompt": "My ZIP code is 03034. Who represents me?",
              "tools_triggered": "legislators_for_town",
              "expected_behavior": "The ZIP code spans Candia (94%) and Deerfield (6%). The assistant asks which town, then calls again with it."
            }
          ],
          "negative": [
            {
              "description": "No candidate data: incumbents must not be presented as the candidates.",
              "prompt": "Who is running for state representative in Auburn next year?"
            },
            {
              "description": "Federal office is out of scope; the connector covers the state legislature only.",
              "prompt": "Who is my congressman in Manchester, NH?"
            },
            {
              "description": "Not New Hampshire: the tool returns no match and suggests Barrington, which must not be answered for.",
              "prompt": "Who represents me in Burlington, Vermont?"
            }
          ]
        },
        "demo_recording_url": "https://drive.google.com/file/d/1uzAZK5p7ilEOl329EpBN33h3gcAH8N8T/view?usp=sharing"
      },
      "publication": {
        "release_notes": "First release: four read-only tools over NHLA's Liberty Ratings for New Hampshire legislators, 2006-2026."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: 22c59dd74b6c865f6489cef28c209b91e15cf6343c1abc68591bbd37b1db70dd