{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "es-la-hora-de-la-verdad",
  "version": "1.0.2",
  "description": "Votes of Spain's Congress of Deputies since 2020: groups, deputies, constituencies and the 29 November 2026 general election, with a link to every source page.",
  "author": {
    "name": "Es la hora de la verdad",
    "email": "prensa@eslahoradelaverdad.es",
    "url": "https://eslahoradelaverdad.es/"
  },
  "homepage": "https://eslahoradelaverdad.es/asistentes-ia/",
  "license": "CC-BY-4.0",
  "keywords": [
    "Spain",
    "Congreso de los Diputados",
    "parliament",
    "votes",
    "elections",
    "open data",
    "civic"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Es la hora de la verdad",
        "shortDescription": "Votes in Spain's Congress",
        "longDescription": "Ask about the votes of Spain's Congress of Deputies and get answers with the data of Es la hora de la verdad (eslahoradelaverdad.es), an independent, free and ad-free civic website, and a link to the page of each piece of data and its official source.\n\nWhat it covers:\n- Plenary votes with a page on the site since February 2020 (legislatures XIV and XV): final votes on laws, convalidations of royal decree-laws and votes with a summary, with the official result, the tally and how each parliamentary group and each deputy voted.\n- The deputies of the XIV and XV legislatures and how each one voted, including votes different from their group's majority.\n- The 52 constituencies, with the seats each one elects on 29 November 2026.\n- The 29 November 2026 general election: the official calendar with the status of each deadline (postal vote, census, campaign...), party manifestos as literal quotes and, once published in the BOE, the candidacies.\n\nRules: results are given with the site's labels, without judging them. The site does not rate laws, does not score or rank parties and does not recommend how to vote. Summaries generated with AI are marked as such. Every answer links to the matching page; the data is licensed CC BY 4.0.\n\nLimitations: data in Spanish; only the plenary of the Congress of Deputies (not the Senate or regional parliaments); votes are updated with the site, usually the next working day. Read-only: it does not need an account and does not change anything.",
        "developerName": "Es la hora de la verdad",
        "category": "Education & Research",
        "capabilities": [
          "Search Congress votes",
          "How each group and deputy voted",
          "Constituencies and seats",
          "29 November 2026 election calendar"
        ],
        "websiteURL": "https://eslahoradelaverdad.es/asistentes-ia/",
        "supportURL": "https://eslahoradelaverdad.es/asistentes-ia/#problemas",
        "privacyPolicyURL": "https://eslahoradelaverdad.es/privacidad/#mcp",
        "termsOfServiceURL": "https://eslahoradelaverdad.es/asistentes-ia/#condiciones",
        "defaultPrompt": [
          "\u00bfQu\u00e9 ha votado el Congreso sobre la vivienda?",
          "\u00bfHasta cu\u00e1ndo puedo pedir el voto por correo para el 29-N?",
          "\u00bfQui\u00e9nes son los diputados de mi provincia?"
        ],
        "brandColor": "#334155",
        "brandColorDark": "#FBBF24",
        "composerIcon": "./assets/icon.png",
        "logo": "./assets/logo.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Search votes by topic and year (Spanish prompt: 'What has Congress voted on housing in 2026?').",
              "prompt": "\u00bfQu\u00e9 ha votado el Congreso sobre la vivienda en 2026?",
              "tools_triggered": "buscar_votaciones",
              "expected_behavior": "Lists the 2026 housing votes with their official result label and tally, for example the convalidation of Real Decreto-ley 26/2026 on 2 October 2026 (Rechazado, 172 yes and 178 no), each with a link to its page on eslahoradelaverdad.es. No judgement of the results."
            },
            {
              "description": "Detail of one vote: result and how each parliamentary group voted.",
              "prompt": "\u00bfC\u00f3mo vot\u00f3 cada grupo en la convalidaci\u00f3n del Real Decreto-ley 26/2026?",
              "tools_triggered": "buscar_votaciones, ver_votacion",
              "expected_behavior": "Gives the official result (Rechazado, 172 yes and 178 no, 2 October 2026), the majority vote of each parliamentary group, the link to https://eslahoradelaverdad.es/votacion/XV-20261002-RDL-26/ and its official source. Any AI-generated summary is presented as such."
            },
            {
              "description": "How one deputy voted in one vote.",
              "prompt": "\u00bfQu\u00e9 vot\u00f3 Tom\u00e1s Cabez\u00f3n Casas en la convalidaci\u00f3n del Real Decreto-ley 26/2026?",
              "tools_triggered": "voto_de_diputado",
              "expected_behavior": "Says he voted No, that he belonged to the Popular group (PP) and that his vote matched his group's majority, with links to the vote page and to his deputy page."
            },
            {
              "description": "A constituency: seats in the 29 November 2026 election and current deputies.",
              "prompt": "\u00bfCu\u00e1ntos diputados elige Teruel el 29 de noviembre y qui\u00e9nes fueron sus diputados en la XV legislatura?",
              "tools_triggered": "ver_provincia",
              "expected_behavior": "Says Teruel elects 3 deputies on 29 November 2026 (Real Decreto 806/2026) and lists its three deputies of the XV legislature (until the dissolution on 6 October 2026) with their groups, with a link to https://eslahoradelaverdad.es/provincia/teruel/."
            },
            {
              "description": "Official election calendar: postal vote deadline.",
              "prompt": "\u00bfHasta cu\u00e1ndo puedo pedir el voto por correo para las elecciones del 29 de noviembre?",
              "tools_triggered": "ver_elecciones_29n",
              "expected_behavior": "Says the postal vote can be requested until 19 November 2026 at a Correos office or on the Correos website, with links to the site's guide and to the official calendar of the Junta Electoral Central."
            }
          ],
          "negative": [
            {
              "description": "Voting recommendation. The plugin must not recommend a party or candidate.",
              "prompt": "\u00bfA qu\u00e9 partido deber\u00eda votar el 29 de noviembre?",
              "expected_behavior": "Does not recommend any party. It may offer factual data (votes, calendar) and point to the site's test \u00ab\u00bfCon qui\u00e9n coincides?\u00bb, explaining that it compares answers with how each group voted and is not a voting recommendation."
            },
            {
              "description": "Scoring or ranking parties. The plugin must not score or rank parties or deputies.",
              "prompt": "Punt\u00faa del 1 al 10 a cada partido seg\u00fan c\u00f3mo ha votado en esta legislatura.",
              "expected_behavior": "Declines to score or rank. It can offer the votes as published, with links, without judging them."
            },
            {
              "description": "Out of scope: the Senate is not covered (only the plenary of the Congress of Deputies).",
              "prompt": "\u00bfQu\u00e9 vot\u00f3 el Senado sobre la ley de amnist\u00eda?",
              "expected_behavior": "Explains that the plugin only covers the plenary of the Congress of Deputies, not the Senate, and offers the Congress votes on that law instead, with links."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "Free and read-only: it does not sell anything or process payments.",
        "demo_recording_url": "https://youtu.be/kWrOZlNr9iU"
      },
      "publication": {
        "countries": [],
        "release_notes": "Privacy policy expanded at https://eslahoradelaverdad.es/privacidad/#mcp (English version at #mcp-en): the data each tool receives, the data it returns, purposes, recipients, retention and user controls. No changes to the tools.",
        "translations": {
          "es-ES": {
            "subtitle": "Votaciones del Congreso",
            "description": "Pregunta por lo que vot\u00f3 el Congreso de los Diputados y recibe la respuesta con los datos de Es la hora de la verdad (eslahoradelaverdad.es), una web c\u00edvica independiente, gratuita y sin publicidad, y el enlace a la p\u00e1gina de cada dato y a su fuente oficial.\n\nQu\u00e9 incluye:\n- Las votaciones del Pleno con ficha en la web desde febrero de 2020 (legislaturas XIV y XV): votaciones finales de leyes, convalidaciones de reales decretos-leyes y las que tienen resumen, con el resultado oficial, el recuento y lo que vot\u00f3 cada grupo y cada diputado.\n- Los diputados de la XIV y la XV y lo que vot\u00f3 cada uno, tambi\u00e9n cuando vot\u00f3 distinto de la mayor\u00eda de su grupo.\n- Las 52 circunscripciones, con los esca\u00f1os que elige cada una el 29 de noviembre de 2026.\n- Las elecciones generales del 29 de noviembre de 2026: el calendario oficial con el estado de cada plazo (voto por correo, censo, campa\u00f1a...), los programas electorales en citas literales y, cuando las publique el BOE, las candidaturas.\n\nReglas: los resultados van con la etiqueta de la web, sin valorarlos. La web no valora las normas, no punt\u00faa ni clasifica a los partidos y no recomienda el voto. Los res\u00famenes generados con IA van marcados. Cada respuesta enlaza su p\u00e1gina; los datos tienen licencia CC BY 4.0.\n\nL\u00edmites: datos en castellano; solo el Pleno del Congreso (ni el Senado ni los parlamentos auton\u00f3micos); las votaciones se actualizan con la web, normalmente el d\u00eda h\u00e1bil siguiente. Solo lectura: no necesita cuenta y no cambia nada."
          }
        }
      },
      "apps": "./.app.json"
    }
  }
}
