{
  "schema": "utlovat-webmcp-tools",
  "version": 1,
  "unavailable": "Verktyget kunde inte nå Utlovats MCP-server. Försök igen senare, eller läs sidan som Markdown. / The tool could not reach the Utlovat MCP server. Try again later, or read the page as Markdown.",
  "tools": [
    {
      "name": "search_promises",
      "title": "Sök löften",
      "description": "Söker bland publicerade löften i partiernas egna källor. Ger högst 10 löften med ID, rubrik, ordagrant citat, parti, adress, källadress, arkivlänk och datum. Svaret drar ingen slutsats om löftet hållits.\n\nSearches published promises quoted from the parties’ own sources. Returns at most 10 promises with ID, title, verbatim quote, party, address, source URL, archive link and date. The result draws no conclusion on whether a promise was kept. Quotes are in Swedish and never translated.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Söktext (högst 200 tecken) / Search text (at most 200 characters)",
            "minLength": 1,
            "maxLength": 200
          },
          "party": {
            "type": "string",
            "description": "Partiets kortkod, till exempel s eller m / Party short code, for example s or m",
            "pattern": "^[A-Za-z]{1,12}$"
          },
          "context": {
            "type": "string",
            "description": "Sammanhangets ID, till exempel x-1 / Context ID, for example x-1",
            "pattern": "^x-[1-9][0-9]{0,8}$"
          },
          "kind": {
            "type": "string",
            "description": "Slag av löfte / Kind of promise",
            "enum": [
              "measure",
              "direction",
              "slogan",
              "conditional",
              "already_done"
            ]
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "title": "Sök löften",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "get_promise",
      "title": "Hämta ett löfte",
      "description": "Hämtar ett publicerat löfte med citat och källor, belopp om källan anger det, kopplade handlingar med texten i handlingen som varje koppling bygger på (link_quotes) och rättelser. Svaret innehåller sidmodellen ordagrant som på sajten (page).\n\nGets one published promise with its quotes and sources, the amount if the source states one, linked documents with the text in each document that the link rests on (link_quotes) and corrections. The result contains the page model exactly as on the site (page).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Löftets ID, till exempel p-10001 / Promise ID, for example p-10001",
            "pattern": "^p-(?:[0-9]{4}-[0-9]{4,6}|[1-9][0-9]{0,8})$",
            "maxLength": 32
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "title": "Hämta ett löfte",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "get_matter",
      "title": "Hämta ett riksdagsärende",
      "description": "Hämtar ett riksdagsärende med handlingar, beslutspunkter, röster per parti och de löften som berörs enligt publicerade kopplingar. Svaret innehåller sidmodellen ordagrant som på sajten (page).\n\nGets a parliamentary matter with documents, decision points, votes per party and the promises it touches according to published links. The result contains the page model exactly as on the site (page).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Ärendets ID, till exempel m-1 / Matter ID, for example m-1",
            "pattern": "^m-[1-9][0-9]{0,8}$",
            "maxLength": 16
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "Sidnummer från 1 / Page number from 1"
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "maximum": 25,
            "description": "Antal poster per sida / Items per page"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "title": "Hämta ett riksdagsärende",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "party_record",
      "title": "Vad ett parti har lovat",
      "description": "Ger vad ett parti har lovat i publicerade källor, med antal, täckning och period, och kan avgränsas till ett sakområde eller sammanhang. Alla partier behandlas lika. Antalet säger inget om hur mycket ett parti lovat eller hållit.\n\nReturns what a party has promised in published sources, with counts, coverage and period, optionally limited to a policy area or context. All parties are treated alike. A count says nothing about how much a party has promised or kept.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "party": {
            "type": "string",
            "description": "Partiets kortkod, till exempel s / Party short code, for example s",
            "pattern": "^[A-Za-z]{1,12}$"
          },
          "policy_area": {
            "type": "string",
            "description": "Sakområdets adressnamn, till exempel skatter / Policy area slug, for example skatter",
            "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
            "maxLength": 60
          },
          "context": {
            "type": "string",
            "description": "Sammanhangets ID, till exempel x-1 / Context ID, for example x-1",
            "pattern": "^x-[1-9][0-9]{0,8}$"
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "Sidnummer från 1 / Page number from 1"
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "maximum": 25,
            "description": "Antal poster per sida / Items per page"
          }
        },
        "required": [
          "party"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "title": "Vad ett parti har lovat",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "changes_since",
      "title": "Ändrat sedan ett datum",
      "description": "Ger de publicerade löften som ändrats och de rättelser som publicerats från och med ett datum (ÅÅÅÅ-MM-DD), de senaste först, högst 50 poster.\n\nReturns the published promises that changed and the corrections published from a date (YYYY-MM-DD) onwards, newest first, at most 50 items.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "Dag, ÅÅÅÅ-MM-DD / Day, YYYY-MM-DD",
            "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
          }
        },
        "required": [
          "date"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "title": "Ändrat sedan ett datum",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "get_method",
      "title": "Metod och status",
      "description": "Säger vad sajten är och inte är, hur den får citeras och vilken licens som gäller, med samma förbehåll som sajtens läsare ser.\n\nStates what the site is and is not, how it may be cited and which licence applies, with the same caveats the site’s readers see.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "title": "Metod och status",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    }
  ]
}
