Server definition
- Hash
- sha256:f4b2e410d25339514afc056b7426bb00ffede87aeb7d850af5b83b6c8841a189
- What it is
- What a remote MCP server returned when asked what it offers: 25 tools
The blob, as servednamed by its sha256
{
"instructions": "Check & Vote: read-only access to the public data of the French and European parliaments: bills and their texts, decrees, roll-call votes (how each group and each member voted), deputies, senators, MEPs, ministers, political groups and governments.\n\nTypical path: search_texts (a law, a topic) -> get_bill -> get_text; or search_texts with type=AMENDMENT (a precise measure absent from every title) -> get_amendment -> get_bill; or list_votes -> get_vote -> list_vote_member_votes; or search_people -> get_person -> get_person_votes. To find a group's id, use list_groups.\n\nAnswers are short on purpose: lists are paginated (use 'page'), and long texts are read in windows ('contentOffset'). Field descriptions may mention REST paths such as /bills/{id}: use the matching tool instead. Texts are in French, the language of the sources; field names and enumeration values are in English. Everything is public data; nothing about users of the application is available here. To act on behalf of the person (take a position, follow, delegate, write in the forum), they connect the account server https://www.checkandvote.eu/mcp/compte, with their OAuth authorization.",
"tools": [
{
"description": "Paragraph-level comparison between a text and another version of the same bill, always from the older to the newer. Use it to see what an amendment process or a Senate reading changed. Without 'otherTextId' the previous version of the procedure is used; an error says when no comparison is possible. Long comparisons are cut: the 'truncated' field says so.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"otherTextId": {
"description": "Identifier of the version to compare with. Must be one of the 'comparableVersions' of get_text. Default: the previous version.",
"format": "int64",
"type": "integer"
},
"textId": {
"description": "Text identifier, from get_bill ('texts') or get_vote ('textId').",
"minimum": 1,
"type": "integer"
}
},
"required": [
"textId"
],
"type": "object"
},
"name": "compare_texts",
"outputSchema": {
"$defs": {
"DiffSegment": {
"description": "One segment (paragraph) of a comparison.",
"properties": {
"content": {
"description": "The segment in the newer version (the removed text for REMOVED).",
"type": "string"
},
"kind": {
"description": "How the segment changed.",
"enum": [
"UNCHANGED",
"ADDED",
"REMOVED",
"MODIFIED"
],
"type": "string"
},
"previousContent": {
"description": "For MODIFIED: the segment in the older version.",
"type": "string"
},
"previousWords": {
"description": "For MODIFIED: the words of the older version.",
"items": {
"$ref": "#/$defs/DiffWord"
},
"type": "array"
},
"words": {
"description": "For MODIFIED: the words of the newer version.",
"items": {
"$ref": "#/$defs/DiffWord"
},
"type": "array"
}
},
"type": "object"
},
"DiffWord": {
"description": "A word of a modified segment.",
"properties": {
"changed": {
"description": "True when the word differs between the two versions.",
"type": "boolean"
},
"text": {
"description": "The word.",
"type": "string"
}
},
"type": "object"
},
"TextDiff": {
"description": "Comparison of two versions of the same bill, oldest to newest.",
"properties": {
"added": {
"description": "Number of added segments.",
"format": "int32",
"type": "integer"
},
"after": {
"$ref": "#/$defs/VersionRef",
"description": "The newer version."
},
"alignment": {
"description": "How the two were aligned.",
"enum": [
"ALIGNED",
"APPROXIMATE"
],
"type": "string"
},
"before": {
"$ref": "#/$defs/VersionRef",
"description": "The older version."
},
"identical": {
"description": "True when the two versions are identical.",
"type": "boolean"
},
"modified": {
"description": "Number of modified segments.",
"format": "int32",
"type": "integer"
},
"removed": {
"description": "Number of removed segments.",
"format": "int32",
"type": "integer"
},
"segments": {
"description": "The segments, in reading order.",
"items": {
"$ref": "#/$defs/DiffSegment"
},
"type": "array"
},
"unchanged": {
"description": "Number of unchanged segments.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"VersionRef": {
"description": "Reference to one of the two versions of a comparison.",
"properties": {
"date": {
"description": "Date.",
"format": "date",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"number": {
"description": "Number.",
"format": "int32",
"type": "integer"
},
"typeLabel": {
"description": "Kind of text (French).",
"type": "string"
}
},
"type": "object"
}
},
"description": "Comparison of two versions of the same bill, oldest to newest.",
"properties": {
"added": {
"description": "Number of added segments.",
"format": "int32",
"type": "integer"
},
"after": {
"$ref": "#/$defs/VersionRef",
"description": "The newer version."
},
"alignment": {
"description": "How the two were aligned.",
"enum": [
"ALIGNED",
"APPROXIMATE"
],
"type": "string"
},
"before": {
"$ref": "#/$defs/VersionRef",
"description": "The older version."
},
"identical": {
"description": "True when the two versions are identical.",
"type": "boolean"
},
"modified": {
"description": "Number of modified segments.",
"format": "int32",
"type": "integer"
},
"removed": {
"description": "Number of removed segments.",
"format": "int32",
"type": "integer"
},
"segments": {
"description": "The segments, in reading order.",
"items": {
"$ref": "#/$defs/DiffSegment"
},
"type": "array"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
},
"unchanged": {
"description": "Number of unchanged segments.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
}
},
{
"description": "Get one amendment of a bill, tabled in the National Assembly or the Senate ('chamber'): author, group, article amended, fate (outcome: ADOPTED, REJECTED, FELL, WITHDRAWN, NOT_MOVED, PENDING), dates, the amended wording and its justification as HTML, the bill it belongs to and the roll-call votes that put it to the vote; for a Senate amendment, the committee's and the Government's opinions ('commissionOpinion', 'governmentOpinion'). Use it after search_texts, list_bill_amendments or list_vote_amendments when the user asks what an amendment said or what became of it; search_texts (type=AMENDMENT) finds an amendment by its content.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"amendmentId": {
"description": "Amendment identifier, from search_texts (type=AMENDMENT), list_bill_amendments or list_vote_amendments.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"amendmentId"
],
"type": "object"
},
"name": "get_amendment",
"outputSchema": {
"$defs": {
"AmendmentDetail": {
"description": "One amendment, with its wording, its justification and the votes it went through.",
"properties": {
"article": {
"description": "Article amended.",
"type": "string"
},
"authorId": {
"description": "Identifier of the author, usable with /people/{id}.",
"format": "int64",
"type": "integer"
},
"authorKind": {
"description": "Kind of author, in the source's words.",
"type": "string"
},
"authorLabel": {
"description": "Author(s), as labelled by the source.",
"type": "string"
},
"billId": {
"description": "Identifier of the bill, usable with /bills/{id}.",
"format": "int64",
"type": "integer"
},
"billTitle": {
"description": "Title of the bill (French).",
"type": "string"
},
"chamber": {
"description": "Chamber the amendment was tabled in: NATIONAL_ASSEMBLY or SENATE.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"commissionOpinion": {
"description": "Senate only: the committee's opinion on the amendment in the chamber, as the source words it (French). Null without an opinion, and for National Assembly amendments.",
"type": "string"
},
"cosignatories": {
"description": "Co-signers after the first signatory (the author), in the order of the source. Empty when the source names none.",
"items": {
"$ref": "#/$defs/Signatory"
},
"type": "array"
},
"depositDate": {
"description": "Date the amendment was tabled.",
"format": "date",
"type": "string"
},
"enactingTermsHtml": {
"description": "The amended wording, as HTML.",
"type": "string"
},
"governmentOpinion": {
"description": "Senate only: the Government's opinion on the amendment in the chamber, as the source words it (French). Null without an opinion, and for National Assembly amendments.",
"type": "string"
},
"groupRef": {
"description": "Reference of the author's group at the source.",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"justificationHtml": {
"description": "The justification, as HTML.",
"type": "string"
},
"number": {
"description": "Full number.",
"type": "string"
},
"outcome": {
"description": "Normalised fate of the amendment.",
"enum": [
"ADOPTED",
"REJECTED",
"FELL",
"WITHDRAWN",
"NOT_MOVED",
"PENDING",
"OTHER"
],
"type": "string"
},
"outcomeDate": {
"description": "Date and time its fate was decided. Null while PENDING.",
"format": "date-time",
"type": "string"
},
"outcomeLabel": {
"description": "Fate of the amendment, in the source's words (French).",
"type": "string"
},
"related": {
"description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
"items": {
"$ref": "#/$defs/RelatedCall"
},
"type": "array"
},
"sourceUrl": {
"description": "URL at the source.",
"type": "string"
},
"summary": {
"description": "AI-generated plain-language summary of the amendment (one or two sentences). Null when it has no usable text or is not summarised yet.",
"type": "string"
},
"uid": {
"description": "Identifier at the source: the Assembly's identifier, or the Senate's stable key (session-text-kind-number) for a Senate amendment.",
"type": "string"
},
"votes": {
"description": "Roll-call votes that put this amendment to the vote, newest first.",
"items": {
"$ref": "#/$defs/AmendmentVote"
},
"type": "array"
}
},
"type": "object"
},
"AmendmentVote": {
"description": "A roll-call vote that put an amendment to the vote.",
"properties": {
"chamber": {
"description": "Chamber that voted.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"date": {
"description": "Date of the vote.",
"format": "date",
"type": "string"
},
"number": {
"description": "Number of the vote in its chamber.",
"format": "int32",
"type": "integer"
},
"outcome": {
"description": "Result of the vote.",
"enum": [
"ADOPTED",
"REJECTED"
],
"type": "string"
},
"title": {
"description": "Title (French).",
"type": "string"
},
"voteId": {
"description": "Identifier of the vote, usable with /votes/{id}.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"RelatedCall": {
"description": "A call that naturally follows the one that returned it.",
"properties": {
"description": {
"description": "What this call returns.",
"type": "string"
},
"href": {
"description": "Path to call, identifiers filled.",
"type": "string"
},
"operation": {
"description": "operationId of the call, as in the OpenAPI.",
"type": "string"
},
"tool": {
"description": "Name of the MCP tool that makes this call; null when no tool does.",
"type": "string"
}
},
"type": "object"
},
"Signatory": {
"description": "A person named as author, co-signer or signatory of a text.",
"properties": {
"department": {
"description": "Department (or country) the person represents.",
"type": "string"
},
"governmentId": {
"description": "Identifier of the government, when the signatory is a government.",
"format": "int64",
"type": "integer"
},
"groupAcronym": {
"description": "Acronym of the political group at the time.",
"type": "string"
},
"groupName": {
"description": "Name of the political group at the time.",
"type": "string"
},
"name": {
"description": "Display name.",
"type": "string"
},
"personId": {
"description": "Identifier of the person, usable with /people/{id}. Null when the source names someone who is not in the registry.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
}
},
"description": "One amendment, with its wording, its justification and the votes it went through.",
"properties": {
"article": {
"description": "Article amended.",
"type": "string"
},
"authorId": {
"description": "Identifier of the author, usable with /people/{id}.",
"format": "int64",
"type": "integer"
},
"authorKind": {
"description": "Kind of author, in the source's words.",
"type": "string"
},
"authorLabel": {
"description": "Author(s), as labelled by the source.",
"type": "string"
},
"billId": {
"description": "Identifier of the bill, usable with /bills/{id}.",
"format": "int64",
"type": "integer"
},
"billTitle": {
"description": "Title of the bill (French).",
"type": "string"
},
"chamber": {
"description": "Chamber the amendment was tabled in: NATIONAL_ASSEMBLY or SENATE.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"commissionOpinion": {
"description": "Senate only: the committee's opinion on the amendment in the chamber, as the source words it (French). Null without an opinion, and for National Assembly amendments.",
"type": "string"
},
"cosignatories": {
"description": "Co-signers after the first signatory (the author), in the order of the source. Empty when the source names none.",
"items": {
"$ref": "#/$defs/Signatory"
},
"type": "array"
},
"depositDate": {
"description": "Date the amendment was tabled.",
"format": "date",
"type": "string"
},
"enactingTermsHtml": {
"description": "The amended wording, as HTML.",
"type": "string"
},
"governmentOpinion": {
"description": "Senate only: the Government's opinion on the amendment in the chamber, as the source words it (French). Null without an opinion, and for National Assembly amendments.",
"type": "string"
},
"groupRef": {
"description": "Reference of the author's group at the source.",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"justificationHtml": {
"description": "The justification, as HTML.",
"type": "string"
},
"number": {
"description": "Full number.",
"type": "string"
},
"outcome": {
"description": "Normalised fate of the amendment.",
"enum": [
"ADOPTED",
"REJECTED",
"FELL",
"WITHDRAWN",
"NOT_MOVED",
"PENDING",
"OTHER"
],
"type": "string"
},
"outcomeDate": {
"description": "Date and time its fate was decided. Null while PENDING.",
"format": "date-time",
"type": "string"
},
"outcomeLabel": {
"description": "Fate of the amendment, in the source's words (French).",
"type": "string"
},
"related": {
"description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
"items": {
"$ref": "#/$defs/RelatedCall"
},
"type": "array"
},
"sourceUrl": {
"description": "URL at the source.",
"type": "string"
},
"summary": {
"description": "AI-generated plain-language summary of the amendment (one or two sentences). Null when it has no usable text or is not summarised yet.",
"type": "string"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
},
"uid": {
"description": "Identifier at the source: the Assembly's identifier, or the Senate's stable key (session-text-kind-number) for a Senate amendment.",
"type": "string"
},
"votes": {
"description": "Roll-call votes that put this amendment to the vote, newest first.",
"items": {
"$ref": "#/$defs/AmendmentVote"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Get one legislative bill (dossier législatif): its steps through Parliament, the roll-call votes held on it, its text versions (each with a 'textId' for get_text), its themes, authors and summaries. Use it after search_texts, or from a vote's 'billId'. Content is in French unless 'language' asks for another language of the Union and a translation exists (European bills).",
"inputSchema": {
"additionalProperties": false,
"properties": {
"billId": {
"description": "Bill identifier: the 'id' of a BILL result of search_texts, or the 'billId' of a vote or of a text.",
"minimum": 1,
"type": "integer"
},
"language": {
"description": "Language of the content, ISO 639-1 code of one of the 24 languages of the European Union. Default: fr, the language of the sources. Other languages exist for European texts only, when a translation exists.",
"enum": [
"bg",
"cs",
"da",
"de",
"el",
"en",
"es",
"et",
"fi",
"fr",
"ga",
"hr",
"hu",
"it",
"lt",
"lv",
"mt",
"nl",
"pl",
"pt",
"ro",
"sk",
"sl",
"sv"
],
"type": "string"
}
},
"required": [
"billId"
],
"type": "object"
},
"name": "get_bill",
"outputSchema": {
"$defs": {
"Annex": {
"description": "An annex of a text.",
"properties": {
"typeLabel": {
"description": "Kind of annex (French).",
"type": "string"
},
"url": {
"description": "URL.",
"type": "string"
}
},
"type": "object"
},
"Bill": {
"description": "A legislative bill (dossier législatif) with its steps, votes and texts.",
"properties": {
"acceleratedProcedure": {
"description": "True when the accelerated procedure was engaged.",
"type": "boolean"
},
"acceleratedProcedureDate": {
"description": "Date the accelerated procedure was engaged, when known.",
"format": "date",
"type": "string"
},
"assemblyUid": {
"description": "Identifier of the bill at the National Assembly, when it has one.",
"type": "string"
},
"author": {
"$ref": "#/$defs/Signatory",
"description": "First author."
},
"automaticTranslation": {
"description": "True when title or summaries are machine translations.",
"type": "boolean"
},
"contentLanguage": {
"description": "ISO 639-1 language of the textual content returned.",
"type": "string"
},
"cosignatories": {
"description": "Co-signers of the filed text.",
"items": {
"$ref": "#/$defs/Signatory"
},
"type": "array"
},
"explanatoryMemorandum": {
"description": "Explanatory memorandum (exposé des motifs).",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"jurisdiction": {
"description": "FR or EU.",
"enum": [
"FR",
"EU"
],
"type": "string"
},
"lastActionDate": {
"description": "Date of the last recorded action.",
"format": "date",
"type": "string"
},
"leadBodyLabel": {
"description": "The committee or body leading the bill (French).",
"type": "string"
},
"legislature": {
"description": "Legislature number.",
"format": "int32",
"type": "integer"
},
"longSummary": {
"description": "Long summary, when already available here. See also /bills/{id}/long-summary.",
"type": "string"
},
"longSummaryTextId": {
"description": "Identifier of the text the long summary comes from.",
"format": "int64",
"type": "integer"
},
"procedureCode": {
"description": "Code of the legislative procedure.",
"type": "string"
},
"procedureLabel": {
"description": "Label of the legislative procedure (French).",
"type": "string"
},
"promulgationDate": {
"description": "Date of promulgation, when promulgated.",
"format": "date",
"type": "string"
},
"related": {
"description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
"items": {
"$ref": "#/$defs/RelatedCall"
},
"type": "array"
},
"shortSummary": {
"description": "Short summary.",
"type": "string"
},
"status": {
"description": "Progress through the legislative process.",
"enum": [
"IN_PROGRESS",
"PROMULGATED",
"REJECTED",
"WITHDRAWN"
],
"type": "string"
},
"steps": {
"description": "The steps of the legislative procedure, in order.",
"items": {
"$ref": "#/$defs/BillStep"
},
"type": "array"
},
"summarySourceLanguage": {
"description": "ISO 639-1 language the summary was written in.",
"type": "string"
},
"texts": {
"description": "The versions of the text (filed, adopted, final...).",
"items": {
"$ref": "#/$defs/BillText"
},
"type": "array"
},
"themes": {
"description": "Themes.",
"items": {
"$ref": "#/$defs/Theme"
},
"type": "array"
},
"title": {
"description": "Title.",
"type": "string"
},
"typeLabel": {
"description": "Kind of bill, in the source's words (French).",
"type": "string"
},
"votes": {
"description": "Roll-call votes held on this bill.",
"items": {
"$ref": "#/$defs/BillVote"
},
"type": "array"
}
},
"type": "object"
},
"BillStep": {
"description": "One step of the legislative procedure of a bill.",
"properties": {
"actionCode": {
"description": "Code of the action.",
"type": "string"
},
"actionLabel": {
"description": "Label of the action (French).",
"type": "string"
},
"conclusionStatus": {
"description": "Outcome status of the step, in the source's words.",
"type": "string"
},
"date": {
"description": "Date of the action.",
"format": "date",
"type": "string"
},
"id": {
"description": "Identifier of the step.",
"format": "int64",
"type": "integer"
},
"stageCode": {
"description": "Code of the stage (reading...).",
"type": "string"
},
"stageLabel": {
"description": "Label of the stage (French).",
"type": "string"
},
"textId": {
"description": "Identifier of the text this step produced.",
"format": "int64",
"type": "integer"
},
"textIds": {
"description": "Identifiers of every text attached to the step.",
"items": {
"format": "int64",
"type": "integer"
},
"type": "array"
},
"textTypeLabel": {
"description": "Kind of that text (French).",
"type": "string"
},
"voteRef": {
"description": "Reference of the vote held at this step, in the source.",
"type": "string"
}
},
"type": "object"
},
"BillText": {
"description": "A version of the text of a bill (filed text, adopted text, report...).",
"properties": {
"adoptionStatus": {
"description": "Adoption status, in the source's words (French).",
"type": "string"
},
"annexes": {
"description": "Annexes of the text.",
"items": {
"$ref": "#/$defs/Annex"
},
"type": "array"
},
"authorId": {
"description": "Identifier of the author in the people registry.",
"format": "int64",
"type": "integer"
},
"authorIsRapporteur": {
"description": "True when the filer is the rapporteur of a committee.",
"type": "boolean"
},
"authorName": {
"description": "Name of the author or filer.",
"type": "string"
},
"automaticTranslation": {
"description": "True when the title is a machine translation.",
"type": "boolean"
},
"bodyLabel": {
"description": "Body that produced the text (French).",
"type": "string"
},
"contentAvailable": {
"description": "True when the full text is available at /texts/{id}.",
"type": "boolean"
},
"filingDate": {
"description": "Filing date.",
"format": "date",
"type": "string"
},
"id": {
"description": "Identifier, usable with /texts/{id}.",
"format": "int64",
"type": "integer"
},
"natureLabel": {
"description": "Nature of the text (French).",
"type": "string"
},
"number": {
"description": "Number of the text.",
"format": "int32",
"type": "integer"
},
"numberSuffix": {
"description": "Suffix of the number.",
"type": "string"
},
"pdfAvailable": {
"description": "True when a PDF is held for the text.",
"type": "boolean"
},
"pdfUrl": {
"description": "URL of the PDF at the source.",
"type": "string"
},
"publicationDate": {
"description": "Publication date.",
"format": "date",
"type": "string"
},
"roleLabel": {
"description": "Role of the text within the bill (French).",
"type": "string"
},
"sourceUrl": {
"description": "URL of the source.",
"type": "string"
},
"title": {
"description": "Title.",
"type": "string"
},
"typeLabel": {
"description": "Kind of text (French).",
"type": "string"
}
},
"type": "object"
},
"BillVote": {
"description": "A roll-call vote as listed in a bill.",
"properties": {
"chamber": {
"description": "Chamber that voted.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"date": {
"description": "Date of the vote.",
"format": "date",
"type": "string"
},
"id": {
"description": "Identifier, usable with /votes/{id}.",
"format": "int64",
"type": "integer"
},
"number": {
"description": "Number of the vote in its chamber.",
"format": "int32",
"type": "integer"
},
"outcome": {
"description": "Result: ADOPTED or REJECTED; null when unknown.",
"enum": [
"ADOPTED",
"REJECTED"
],
"type": "string"
},
"outcomeComputed": {
"description": "True when the result was computed from the tallies rather than stated by the source.",
"type": "boolean"
},
"outcomeLabel": {
"description": "Result, in the source's words (French).",
"type": "string"
},
"title": {
"description": "Title of the vote (French).",
"type": "string"
}
},
"type": "object"
},
"RelatedCall": {
"description": "A call that naturally follows the one that returned it.",
"properties": {
"description": {
"description": "What this call returns.",
"type": "string"
},
"href": {
"description": "Path to call, identifiers filled.",
"type": "string"
},
"operation": {
"description": "operationId of the call, as in the OpenAPI.",
"type": "string"
},
"tool": {
"description": "Name of the MCP tool that makes this call; null when no tool does.",
"type": "string"
}
},
"type": "object"
},
"Signatory": {
"description": "A person named as author, co-signer or signatory of a text.",
"properties": {
"department": {
"description": "Department (or country) the person represents.",
"type": "string"
},
"governmentId": {
"description": "Identifier of the government, when the signatory is a government.",
"format": "int64",
"type": "integer"
},
"groupAcronym": {
"description": "Acronym of the political group at the time.",
"type": "string"
},
"groupName": {
"description": "Name of the political group at the time.",
"type": "string"
},
"name": {
"description": "Display name.",
"type": "string"
},
"personId": {
"description": "Identifier of the person, usable with /people/{id}. Null when the source names someone who is not in the registry.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"Theme": {
"description": "A theme (policy domain) used to classify bills and votes.",
"properties": {
"code": {
"description": "Stable code.",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"label": {
"description": "Label, in French.",
"type": "string"
}
},
"type": "object"
}
},
"description": "A legislative bill (dossier législatif) with its steps, votes and texts.",
"properties": {
"acceleratedProcedure": {
"description": "True when the accelerated procedure was engaged.",
"type": "boolean"
},
"acceleratedProcedureDate": {
"description": "Date the accelerated procedure was engaged, when known.",
"format": "date",
"type": "string"
},
"assemblyUid": {
"description": "Identifier of the bill at the National Assembly, when it has one.",
"type": "string"
},
"author": {
"$ref": "#/$defs/Signatory",
"description": "First author."
},
"automaticTranslation": {
"description": "True when title or summaries are machine translations.",
"type": "boolean"
},
"contentLanguage": {
"description": "ISO 639-1 language of the textual content returned.",
"type": "string"
},
"cosignatories": {
"description": "Co-signers of the filed text.",
"items": {
"$ref": "#/$defs/Signatory"
},
"type": "array"
},
"explanatoryMemorandum": {
"description": "Explanatory memorandum (exposé des motifs).",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"jurisdiction": {
"description": "FR or EU.",
"enum": [
"FR",
"EU"
],
"type": "string"
},
"lastActionDate": {
"description": "Date of the last recorded action.",
"format": "date",
"type": "string"
},
"leadBodyLabel": {
"description": "The committee or body leading the bill (French).",
"type": "string"
},
"legislature": {
"description": "Legislature number.",
"format": "int32",
"type": "integer"
},
"longSummary": {
"description": "Long summary, when already available here. See also /bills/{id}/long-summary.",
"type": "string"
},
"longSummaryTextId": {
"description": "Identifier of the text the long summary comes from.",
"format": "int64",
"type": "integer"
},
"procedureCode": {
"description": "Code of the legislative procedure.",
"type": "string"
},
"procedureLabel": {
"description": "Label of the legislative procedure (French).",
"type": "string"
},
"promulgationDate": {
"description": "Date of promulgation, when promulgated.",
"format": "date",
"type": "string"
},
"related": {
"description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
"items": {
"$ref": "#/$defs/RelatedCall"
},
"type": "array"
},
"shortSummary": {
"description": "Short summary.",
"type": "string"
},
"status": {
"description": "Progress through the legislative process.",
"enum": [
"IN_PROGRESS",
"PROMULGATED",
"REJECTED",
"WITHDRAWN"
],
"type": "string"
},
"steps": {
"description": "The steps of the legislative procedure, in order.",
"items": {
"$ref": "#/$defs/BillStep"
},
"type": "array"
},
"summarySourceLanguage": {
"description": "ISO 639-1 language the summary was written in.",
"type": "string"
},
"texts": {
"description": "The versions of the text (filed, adopted, final...).",
"items": {
"$ref": "#/$defs/BillText"
},
"type": "array"
},
"themes": {
"description": "Themes.",
"items": {
"$ref": "#/$defs/Theme"
},
"type": "array"
},
"title": {
"description": "Title.",
"type": "string"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
},
"typeLabel": {
"description": "Kind of bill, in the source's words (French).",
"type": "string"
},
"votes": {
"description": "Roll-call votes held on this bill.",
"items": {
"$ref": "#/$defs/BillVote"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Get the long, plain-language summary of a bill. Use it when the user wants to understand what a bill does and the short summary of get_bill is not enough. In French unless 'language' asks for another language of the Union (translated on demand).",
"inputSchema": {
"additionalProperties": false,
"properties": {
"billId": {
"description": "Bill identifier, from search_texts or get_vote.",
"minimum": 1,
"type": "integer"
},
"language": {
"description": "Language of the content, ISO 639-1 code of one of the 24 languages of the European Union. Default: fr, the language of the sources. Other languages exist for European texts only, when a translation exists.",
"enum": [
"bg",
"cs",
"da",
"de",
"el",
"en",
"es",
"et",
"fi",
"fr",
"ga",
"hr",
"hu",
"it",
"lt",
"lv",
"mt",
"nl",
"pl",
"pt",
"ro",
"sk",
"sl",
"sv"
],
"type": "string"
}
},
"required": [
"billId"
],
"type": "object"
},
"name": "get_bill_long_summary",
"outputSchema": {
"$defs": {
"LongSummary": {
"description": "The long summary of a bill, translated on demand.",
"properties": {
"automaticTranslation": {
"description": "True when 'text' is a machine translation.",
"type": "boolean"
},
"contentLanguage": {
"description": "ISO 639-1 language of 'text'.",
"type": "string"
},
"text": {
"description": "The summary text.",
"type": "string"
}
},
"type": "object"
}
},
"description": "The long summary of a bill, translated on demand.",
"properties": {
"automaticTranslation": {
"description": "True when 'text' is a machine translation.",
"type": "boolean"
},
"contentLanguage": {
"description": "ISO 639-1 language of 'text'.",
"type": "string"
},
"text": {
"description": "The summary text.",
"type": "string"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Get one decree or ordinance published in the Journal officiel: visas, notice, articles, signatories and the laws it applies. Use it after search_texts (kind DECREE) or list_bill_decrees. Long articles are cut: the 'truncated' field says so.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"decreeId": {
"description": "Decree identifier, from search_texts (kind DECREE) or list_bill_decrees.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"decreeId"
],
"type": "object"
},
"name": "get_decree",
"outputSchema": {
"$defs": {
"AppliedLaw": {
"description": "A law applied by a decree.",
"properties": {
"billId": {
"description": "Identifier of the matching bill.",
"format": "int64",
"type": "integer"
},
"billTitle": {
"description": "Title of the matching bill.",
"type": "string"
},
"lawArticle": {
"description": "Article of the law concerned.",
"type": "string"
},
"lawJorfId": {
"description": "JORF identifier of the law.",
"type": "string"
},
"lawNumber": {
"description": "Number of the law.",
"type": "string"
},
"lawSignatureDate": {
"description": "Date of signature of the law.",
"format": "date",
"type": "string"
},
"lawTitle": {
"description": "Title of the law.",
"type": "string"
},
"linkKind": {
"description": "Kind of link, in the source's words.",
"type": "string"
},
"match": {
"description": "How certain the match with the bill is.",
"enum": [
"CERTAIN",
"INFERRED"
],
"type": "string"
}
},
"type": "object"
},
"Decree": {
"description": "A decree or ordinance published in the Journal officiel, with its articles.",
"properties": {
"appliesTo": {
"description": "The laws this decree applies, with the matching bill when known.",
"items": {
"$ref": "#/$defs/AppliedLaw"
},
"type": "array"
},
"articles": {
"description": "The articles.",
"items": {
"$ref": "#/$defs/DecreeArticle"
},
"type": "array"
},
"eli": {
"description": "ELI identifier.",
"type": "string"
},
"fullTitle": {
"description": "Full title.",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"jorfId": {
"description": "JORF identifier.",
"type": "string"
},
"longSummary": {
"description": "Long summary.",
"type": "string"
},
"ministry": {
"description": "Ministry.",
"type": "string"
},
"nature": {
"description": "DECREE or ORDINANCE; null for any other value of the source.",
"enum": [
"DECREE",
"ORDINANCE"
],
"type": "string"
},
"nor": {
"description": "NOR identifier.",
"type": "string"
},
"notice": {
"description": "The notice that accompanies the decree.",
"type": "string"
},
"number": {
"description": "Number, as published.",
"type": "string"
},
"publicationDate": {
"description": "Date of publication.",
"format": "date",
"type": "string"
},
"publicationOrigin": {
"description": "Where it was published.",
"type": "string"
},
"related": {
"description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
"items": {
"$ref": "#/$defs/RelatedCall"
},
"type": "array"
},
"shortSummary": {
"description": "Short summary.",
"type": "string"
},
"signatories": {
"description": "The signatories.",
"items": {
"$ref": "#/$defs/DecreeSignatory"
},
"type": "array"
},
"signatureDate": {
"description": "Date of signature.",
"format": "date",
"type": "string"
},
"sourceUrl": {
"description": "URL of the source.",
"type": "string"
},
"summaryIsAi": {
"description": "True when the summary was written by an AI model.",
"type": "boolean"
},
"summaryModel": {
"description": "Model that wrote the summary, when machine-written.",
"type": "string"
},
"title": {
"description": "Short title.",
"type": "string"
},
"visas": {
"description": "The visas (recitals) of the decree.",
"type": "string"
}
},
"type": "object"
},
"DecreeArticle": {
"description": "An article of a decree.",
"properties": {
"content": {
"description": "Content.",
"type": "string"
},
"jorfId": {
"description": "JORF identifier of the article.",
"type": "string"
},
"number": {
"description": "Number of the article.",
"type": "string"
}
},
"type": "object"
},
"DecreeSignatory": {
"description": "A signatory of a decree.",
"properties": {
"match": {
"description": "How certain the match with the registry is.",
"enum": [
"CERTAIN",
"INFERRED"
],
"type": "string"
},
"name": {
"description": "Name, as published.",
"type": "string"
},
"personId": {
"description": "Identifier in the people registry, when matched.",
"format": "int64",
"type": "integer"
},
"role": {
"description": "Capacity (title).",
"type": "string"
}
},
"type": "object"
},
"RelatedCall": {
"description": "A call that naturally follows the one that returned it.",
"properties": {
"description": {
"description": "What this call returns.",
"type": "string"
},
"href": {
"description": "Path to call, identifiers filled.",
"type": "string"
},
"operation": {
"description": "operationId of the call, as in the OpenAPI.",
"type": "string"
},
"tool": {
"description": "Name of the MCP tool that makes this call; null when no tool does.",
"type": "string"
}
},
"type": "object"
}
},
"description": "A decree or ordinance published in the Journal officiel, with its articles.",
"properties": {
"appliesTo": {
"description": "The laws this decree applies, with the matching bill when known.",
"items": {
"$ref": "#/$defs/AppliedLaw"
},
"type": "array"
},
"articles": {
"description": "The articles.",
"items": {
"$ref": "#/$defs/DecreeArticle"
},
"type": "array"
},
"eli": {
"description": "ELI identifier.",
"type": "string"
},
"fullTitle": {
"description": "Full title.",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"jorfId": {
"description": "JORF identifier.",
"type": "string"
},
"longSummary": {
"description": "Long summary.",
"type": "string"
},
"ministry": {
"description": "Ministry.",
"type": "string"
},
"nature": {
"description": "DECREE or ORDINANCE; null for any other value of the source.",
"enum": [
"DECREE",
"ORDINANCE"
],
"type": "string"
},
"nor": {
"description": "NOR identifier.",
"type": "string"
},
"notice": {
"description": "The notice that accompanies the decree.",
"type": "string"
},
"number": {
"description": "Number, as published.",
"type": "string"
},
"publicationDate": {
"description": "Date of publication.",
"format": "date",
"type": "string"
},
"publicationOrigin": {
"description": "Where it was published.",
"type": "string"
},
"related": {
"description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
"items": {
"$ref": "#/$defs/RelatedCall"
},
"type": "array"
},
"shortSummary": {
"description": "Short summary.",
"type": "string"
},
"signatories": {
"description": "The signatories.",
"items": {
"$ref": "#/$defs/DecreeSignatory"
},
"type": "array"
},
"signatureDate": {
"description": "Date of signature.",
"format": "date",
"type": "string"
},
"sourceUrl": {
"description": "URL of the source.",
"type": "string"
},
"summaryIsAi": {
"description": "True when the summary was written by an AI model.",
"type": "boolean"
},
"summaryModel": {
"description": "Model that wrote the summary, when machine-written.",
"type": "string"
},
"title": {
"description": "Short title.",
"type": "string"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
},
"visas": {
"description": "The visas (recitals) of the decree.",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Official EU legislative text. With 'billId' alone: lists the official versions of a European bill (proposal, Parliament position, adopted act) with the languages each exists in (empty for French bills). With 'textId': reads that version as XHTML in the requested 'language' (with a fallback language, stated in the answer), in windows of 12000 characters ('contentWindow.nextOffset' gives the 'contentOffset' to read on). Give exactly one of 'billId' and 'textId'.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"billId": {
"description": "Identifier of a European bill (jurisdiction EU). Give it alone to LIST its official text versions.",
"minimum": 1,
"type": "integer"
},
"contentChars": {
"default": 12000,
"description": "Number of characters of 'xhtml' to return (default 12000, maximum 30000).",
"maximum": 30000,
"minimum": 1,
"type": "integer"
},
"contentOffset": {
"default": 0,
"description": "Index of the first character of 'xhtml' to return. Use the 'nextOffset' of the previous answer's 'contentWindow' to read on.",
"minimum": 0,
"type": "integer"
},
"language": {
"description": "Language of the content, ISO 639-1 code of one of the 24 languages of the European Union. Default: fr, the language of the sources. Other languages exist for European texts only, when a translation exists.",
"enum": [
"bg",
"cs",
"da",
"de",
"el",
"en",
"es",
"et",
"fi",
"fr",
"ga",
"hr",
"hu",
"it",
"lt",
"lv",
"mt",
"nl",
"pl",
"pt",
"ro",
"sk",
"sl",
"sv"
],
"type": "string"
},
"page": {
"default": 0,
"description": "Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.",
"minimum": 0,
"type": "integer"
},
"size": {
"default": 25,
"description": "Items per page (default 25, maximum 25).",
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"textId": {
"description": "Identifier of one official version, from the list this tool returns for a billId. Give it to READ that version.",
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "get_eu_official_text",
"outputSchema": {
"$defs": {
"OfficialText": {
"description": "The official text of a European legislative act, as XHTML.",
"properties": {
"eurLexUrl": {
"description": "URL of the document on EUR-Lex.",
"type": "string"
},
"fallback": {
"description": "True when the requested language was not available and a fallback language was served.",
"type": "boolean"
},
"requestedLanguage": {
"description": "ISO 639-1 language requested.",
"type": "string"
},
"servedLanguage": {
"description": "ISO 639-1 language actually served.",
"type": "string"
},
"textId": {
"description": "Identifier of the text.",
"format": "int64",
"type": "integer"
},
"xhtml": {
"description": "The text, as XHTML.",
"type": "string"
}
},
"type": "object"
}
},
"description": "The official text of a European legislative act, as XHTML.",
"properties": {
"contentWindow": {
"description": "Which part of the long text field is returned: field, offset, returned, total, nextOffset (absent at the end).",
"type": "object"
},
"eurLexUrl": {
"description": "URL of the document on EUR-Lex.",
"type": "string"
},
"fallback": {
"description": "True when the requested language was not available and a fallback language was served.",
"type": "boolean"
},
"requestedLanguage": {
"description": "ISO 639-1 language requested.",
"type": "string"
},
"servedLanguage": {
"description": "ISO 639-1 language actually served.",
"type": "string"
},
"textId": {
"description": "Identifier of the text.",
"format": "int64",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
},
"xhtml": {
"description": "The text, as XHTML.",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Get a government of the French Republic and its members with their function and dates.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"governmentId": {
"description": "Government identifier, from list_governments.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"governmentId"
],
"type": "object"
},
"name": "get_government",
"outputSchema": {
"$defs": {
"Government": {
"description": "A government of the French Republic.",
"properties": {
"endDate": {
"description": "End date; null when in office.",
"format": "date",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"inOffice": {
"description": "True when currently in office.",
"type": "boolean"
},
"memberCount": {
"description": "Number of members.",
"format": "int32",
"type": "integer"
},
"name": {
"description": "Name.",
"type": "string"
},
"primeMinisterId": {
"description": "Identifier of the Prime Minister in the people registry.",
"format": "int64",
"type": "integer"
},
"primeMinisterName": {
"description": "Name of the Prime Minister.",
"type": "string"
},
"rank": {
"description": "Rank in the sequence of governments.",
"format": "int32",
"type": "integer"
},
"shortName": {
"description": "Short name.",
"type": "string"
},
"startDate": {
"description": "Start date.",
"format": "date",
"type": "string"
}
},
"type": "object"
},
"GovernmentDetail": {
"description": "A government with its members.",
"properties": {
"government": {
"$ref": "#/$defs/Government",
"description": "The government."
},
"members": {
"description": "The members.",
"items": {
"$ref": "#/$defs/GovernmentMember"
},
"type": "array"
},
"sourceUrl": {
"description": "URL of the source.",
"type": "string"
}
},
"type": "object"
},
"GovernmentMember": {
"description": "A member of a government.",
"properties": {
"endDate": {
"description": "End date.",
"format": "date",
"type": "string"
},
"function": {
"description": "Function.",
"type": "string"
},
"linkInferred": {
"description": "True when the link to the registry was deduced rather than stated.",
"type": "boolean"
},
"name": {
"description": "Name.",
"type": "string"
},
"personId": {
"description": "Identifier in the people registry.",
"format": "int64",
"type": "integer"
},
"quality": {
"description": "Quality.",
"type": "string"
},
"startDate": {
"description": "Start date.",
"format": "date",
"type": "string"
}
},
"type": "object"
}
},
"description": "A government with its members.",
"properties": {
"government": {
"$ref": "#/$defs/Government",
"description": "The government."
},
"members": {
"description": "The members.",
"items": {
"$ref": "#/$defs/GovernmentMember"
},
"type": "array"
},
"sourceUrl": {
"description": "URL of the source.",
"type": "string"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Get one person: biography, public contact details, mandates and political group memberships over time; 'contentCreator' and 'contentFormat' say whether and how the person publishes political content; 'candidacies' lists the rounds of the 2024 legislative election the person stood in (nuance attributed by the Ministry of the Interior, votes, elected). Use it after search_people. Citizens are never exposed.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"personId": {
"description": "Person identifier, from search_people, list_vote_member_votes ('personId') or get_bill ('author').",
"minimum": 1,
"type": "integer"
}
},
"required": [
"personId"
],
"type": "object"
},
"name": "get_person",
"outputSchema": {
"$defs": {
"Candidacy": {
"description": "A candidacy in a French legislative election (one round), from the official list published by the French Ministry of the Interior.",
"properties": {
"constituencyCode": {
"description": "Constituency code (department + number, for instance 7705).",
"type": "string"
},
"constituencyLabel": {
"description": "Constituency label, in French.",
"type": "string"
},
"elected": {
"description": "Elected at this round; null when the result is not known.",
"type": "boolean"
},
"election": {
"description": "Election identifier.",
"type": "string"
},
"nuance": {
"description": "Political shade code ATTRIBUTED BY THE FRENCH MINISTRY OF THE INTERIOR (nuance, for instance RN, UG, ENS): not a party, and not an opinion declared by the candidate.",
"type": "string"
},
"nuanceLabel": {
"description": "Official label of the nuance, in French; always to be presented as attributed by the Ministry of the Interior.",
"type": "string"
},
"round": {
"description": "Round: 1 or 2.",
"format": "int32",
"type": "integer"
},
"substitute": {
"description": "Name of the substitute (suppléant).",
"type": "string"
},
"votes": {
"description": "Votes obtained in this round; null when the result is not known.",
"format": "int32",
"type": "integer"
},
"year": {
"description": "Year of the election.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"Contact": {
"description": "A contact detail of a person (office, phone, website, social network...).",
"properties": {
"addressLine2": {
"description": "Address complement.",
"type": "string"
},
"city": {
"description": "City.",
"type": "string"
},
"kind": {
"description": "Kind of contact.",
"enum": [
"OFFICIAL",
"CONSTITUENCY_OFFICE",
"PHONE",
"EMAIL",
"WEBSITE",
"SOCIAL_NETWORK",
"FAX",
"OTHER",
"TWITTER_X",
"FACEBOOK",
"INSTAGRAM",
"YOUTUBE",
"LINKEDIN",
"MASTODON",
"TIKTOK",
"BLUESKY"
],
"type": "string"
},
"label": {
"description": "Short label.",
"type": "string"
},
"postalCode": {
"description": "Postal code.",
"type": "string"
},
"street": {
"description": "Street name.",
"type": "string"
},
"streetNumber": {
"description": "Street number.",
"type": "string"
},
"title": {
"description": "Title or caption.",
"type": "string"
},
"value": {
"description": "The value: a number, an address, a URL.",
"type": "string"
}
},
"type": "object"
},
"GroupMembership": {
"description": "A membership of a political group.",
"properties": {
"acronym": {
"description": "Acronym.",
"type": "string"
},
"chamber": {
"description": "The chamber of the group.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"endDate": {
"description": "End date; null when current.",
"format": "date",
"type": "string"
},
"legislature": {
"description": "Legislature (or EU term).",
"format": "int32",
"type": "integer"
},
"name": {
"description": "Name.",
"type": "string"
},
"startDate": {
"description": "Start date.",
"format": "date",
"type": "string"
}
},
"type": "object"
},
"Mandate": {
"description": "A mandate (an elected seat or a government post).",
"properties": {
"constituencyNumber": {
"description": "Constituency number.",
"type": "string"
},
"department": {
"description": "Department.",
"type": "string"
},
"departmentNumber": {
"description": "Department number.",
"type": "string"
},
"endCause": {
"description": "Cause of the end, in the source's words.",
"type": "string"
},
"endDate": {
"description": "End date; null when still in office.",
"format": "date",
"type": "string"
},
"function": {
"description": "Function (government posts).",
"type": "string"
},
"government": {
"description": "Short name of the government (government posts).",
"type": "string"
},
"kind": {
"description": "Kind of mandate.",
"enum": [
"DEPUTY",
"SENATOR",
"MEP",
"MINISTER",
"PRESIDENT",
"OTHER"
],
"type": "string"
},
"legislature": {
"description": "Legislature (or EU term).",
"format": "int32",
"type": "integer"
},
"quality": {
"description": "Quality (government posts).",
"type": "string"
},
"representedCountry": {
"description": "Country represented (European Parliament).",
"type": "string"
},
"startDate": {
"description": "Start date.",
"format": "date",
"type": "string"
}
},
"type": "object"
},
"Person": {
"description": "A person of the public registry, with their mandates and group memberships.",
"properties": {
"biography": {
"description": "Biography.",
"type": "string"
},
"biographyLicence": {
"description": "Licence of the biography.",
"type": "string"
},
"biographySourceUrl": {
"description": "Source of the biography.",
"type": "string"
},
"birthDate": {
"description": "Date of birth.",
"format": "date",
"type": "string"
},
"candidacies": {
"description": "Candidacies in the 2024 French legislative election, by round; empty when the person did not stand.",
"items": {
"$ref": "#/$defs/Candidacy"
},
"type": "array"
},
"civility": {
"description": "Civility.",
"type": "string"
},
"contacts": {
"description": "Public contact details.",
"items": {
"$ref": "#/$defs/Contact"
},
"type": "array"
},
"contentCreator": {
"description": "True for a political content creator (video maker, media outlet, magazine, columnist); independent of the roles.",
"type": "boolean"
},
"contentFormat": {
"description": "Format of the content, in French (for instance a political YouTube channel); null when the person is not a content creator.",
"type": "string"
},
"deathDate": {
"description": "Date of death.",
"format": "date",
"type": "string"
},
"displayName": {
"description": "Display name.",
"type": "string"
},
"firstName": {
"description": "First name.",
"type": "string"
},
"groups": {
"description": "Political group memberships.",
"items": {
"$ref": "#/$defs/GroupMembership"
},
"type": "array"
},
"hatvpUri": {
"description": "Identifier in the HATVP transparency register.",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"lastName": {
"description": "Last name.",
"type": "string"
},
"mandates": {
"description": "Mandates, most relevant first.",
"items": {
"$ref": "#/$defs/Mandate"
},
"type": "array"
},
"occupations": {
"description": "Other occupations.",
"type": "string"
},
"officialWebsiteUrl": {
"description": "Official website.",
"type": "string"
},
"profession": {
"description": "Main profession.",
"type": "string"
},
"related": {
"description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
"items": {
"$ref": "#/$defs/RelatedCall"
},
"type": "array"
},
"representedCountry": {
"description": "Country that elected the person (MEPs, ISO country code).",
"type": "string"
},
"roles": {
"description": "The roles the person holds or held.",
"items": {
"$ref": "#/$defs/Role"
},
"type": "array"
},
"sourceUrl": {
"description": "Source of the record.",
"type": "string"
}
},
"type": "object"
},
"RelatedCall": {
"description": "A call that naturally follows the one that returned it.",
"properties": {
"description": {
"description": "What this call returns.",
"type": "string"
},
"href": {
"description": "Path to call, identifiers filled.",
"type": "string"
},
"operation": {
"description": "operationId of the call, as in the OpenAPI.",
"type": "string"
},
"tool": {
"description": "Name of the MCP tool that makes this call; null when no tool does.",
"type": "string"
}
},
"type": "object"
},
"Role": {
"description": "A role a person holds or held, with its status.",
"properties": {
"kind": {
"description": "Kind of role.",
"enum": [
"DEPUTY",
"SENATOR",
"MEP",
"MINISTER",
"PRESIDENT",
"PUBLIC_FIGURE",
"CONTENT_CREATOR",
"CANDIDATE"
],
"type": "string"
},
"status": {
"description": "Whether the role is currently held.",
"enum": [
"IN_OFFICE",
"FORMER"
],
"type": "string"
}
},
"type": "object"
}
},
"description": "A person of the public registry, with their mandates and group memberships.",
"properties": {
"biography": {
"description": "Biography.",
"type": "string"
},
"biographyLicence": {
"description": "Licence of the biography.",
"type": "string"
},
"biographySourceUrl": {
"description": "Source of the biography.",
"type": "string"
},
"birthDate": {
"description": "Date of birth.",
"format": "date",
"type": "string"
},
"candidacies": {
"description": "Candidacies in the 2024 French legislative election, by round; empty when the person did not stand.",
"items": {
"$ref": "#/$defs/Candidacy"
},
"type": "array"
},
"civility": {
"description": "Civility.",
"type": "string"
},
"contacts": {
"description": "Public contact details.",
"items": {
"$ref": "#/$defs/Contact"
},
"type": "array"
},
"contentCreator": {
"description": "True for a political content creator (video maker, media outlet, magazine, columnist); independent of the roles.",
"type": "boolean"
},
"contentFormat": {
"description": "Format of the content, in French (for instance a political YouTube channel); null when the person is not a content creator.",
"type": "string"
},
"deathDate": {
"description": "Date of death.",
"format": "date",
"type": "string"
},
"displayName": {
"description": "Display name.",
"type": "string"
},
"firstName": {
"description": "First name.",
"type": "string"
},
"groups": {
"description": "Political group memberships.",
"items": {
"$ref": "#/$defs/GroupMembership"
},
"type": "array"
},
"hatvpUri": {
"description": "Identifier in the HATVP transparency register.",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"lastName": {
"description": "Last name.",
"type": "string"
},
"mandates": {
"description": "Mandates, most relevant first.",
"items": {
"$ref": "#/$defs/Mandate"
},
"type": "array"
},
"occupations": {
"description": "Other occupations.",
"type": "string"
},
"officialWebsiteUrl": {
"description": "Official website.",
"type": "string"
},
"profession": {
"description": "Main profession.",
"type": "string"
},
"related": {
"description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
"items": {
"$ref": "#/$defs/RelatedCall"
},
"type": "array"
},
"representedCountry": {
"description": "Country that elected the person (MEPs, ISO country code).",
"type": "string"
},
"roles": {
"description": "The roles the person holds or held.",
"items": {
"$ref": "#/$defs/Role"
},
"type": "array"
},
"sourceUrl": {
"description": "Source of the record.",
"type": "string"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Get a parliamentarian's participation in roll-call votes and how often they vote with their group. Use it for 'is X active / loyal to their group?'. An error says when the person has no parliamentary mandate.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"personId": {
"description": "Person identifier, from search_people.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"personId"
],
"type": "object"
},
"name": "get_person_activity",
"outputSchema": {
"$defs": {
"Activity": {
"description": "Parliamentary activity of a person over a period.",
"properties": {
"absent": {
"description": "Votes the person was absent from.",
"format": "int64",
"type": "integer"
},
"byProxy": {
"description": "Votes cast by proxy.",
"format": "int64",
"type": "integer"
},
"chamber": {
"description": "Chamber.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"from": {
"description": "Start of the period.",
"format": "date",
"type": "string"
},
"legislature": {
"description": "Legislature.",
"format": "int32",
"type": "integer"
},
"loyalty": {
"$ref": "#/$defs/Loyalty",
"description": "Alignment with the person's group."
},
"participated": {
"description": "Votes the person took part in.",
"format": "int64",
"type": "integer"
},
"participationRelevant": {
"description": "False when the participation rate is not meaningful for this chamber or period.",
"type": "boolean"
},
"prevented": {
"description": "Votes the person was prevented from.",
"format": "int64",
"type": "integer"
},
"textsFiled": {
"description": "Texts filed.",
"format": "int64",
"type": "integer"
},
"to": {
"description": "End of the period.",
"format": "date",
"type": "string"
},
"voteCorrections": {
"description": "Vote corrections (mises au point).",
"format": "int64",
"type": "integer"
},
"votesCounted": {
"description": "Votes retained for the measure.",
"format": "int64",
"type": "integer"
},
"votesInPeriod": {
"description": "Roll-call votes held over the period.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"Loyalty": {
"description": "Alignment of a person's votes with their political group.",
"properties": {
"agreed": {
"description": "Votes in line with the group.",
"format": "int64",
"type": "integer"
},
"disagreed": {
"description": "Votes against the group.",
"format": "int64",
"type": "integer"
},
"groupWithoutLine": {
"description": "Votes where the group had no line.",
"format": "int64",
"type": "integer"
},
"ofWhichAbstentions": {
"description": "Of the disagreements, those that were abstentions.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
}
},
"description": "Parliamentary activity of a person over a period.",
"properties": {
"absent": {
"description": "Votes the person was absent from.",
"format": "int64",
"type": "integer"
},
"byProxy": {
"description": "Votes cast by proxy.",
"format": "int64",
"type": "integer"
},
"chamber": {
"description": "Chamber.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"from": {
"description": "Start of the period.",
"format": "date",
"type": "string"
},
"legislature": {
"description": "Legislature.",
"format": "int32",
"type": "integer"
},
"loyalty": {
"$ref": "#/$defs/Loyalty",
"description": "Alignment with the person's group."
},
"participated": {
"description": "Votes the person took part in.",
"format": "int64",
"type": "integer"
},
"participationRelevant": {
"description": "False when the participation rate is not meaningful for this chamber or period.",
"type": "boolean"
},
"prevented": {
"description": "Votes the person was prevented from.",
"format": "int64",
"type": "integer"
},
"textsFiled": {
"description": "Texts filed.",
"format": "int64",
"type": "integer"
},
"to": {
"description": "End of the period.",
"format": "date",
"type": "string"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
},
"voteCorrections": {
"description": "Vote corrections (mises au point).",
"format": "int64",
"type": "integer"
},
"votesCounted": {
"description": "Votes retained for the measure.",
"format": "int64",
"type": "integer"
},
"votesInPeriod": {
"description": "Roll-call votes held over the period.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
}
},
{
"description": "List the roll-call votes of a parliamentarian with their position (for, against, abstention, absent), newest first. Use it to answer 'how did X vote?'. Default kinds: whole texts, motions and others; pass kind=AMENDMENT or ARTICLE for finer votes. Paginated.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"kind": {
"description": "Kinds of vote, comma-separated. Default: WHOLE_TEXT, MOTION, OTHER.",
"items": {
"description": "What a roll-call vote is about.",
"enum": [
"AMENDMENT",
"MOTION",
"WHOLE_TEXT",
"ARTICLE",
"OTHER"
],
"type": "string"
},
"type": "array"
},
"page": {
"default": 0,
"description": "Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.",
"minimum": 0,
"type": "integer"
},
"personId": {
"description": "Person identifier, from search_people.",
"minimum": 1,
"type": "integer"
},
"size": {
"default": 10,
"description": "Items per page (default 10, maximum 25).",
"maximum": 25,
"minimum": 1,
"type": "integer"
}
},
"required": [
"personId"
],
"type": "object"
},
"name": "get_person_votes",
"outputSchema": {
"$defs": {
"PagedPersonVote": {
"description": "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
"properties": {
"items": {
"description": "The items of this page.",
"items": {
"$ref": "#/$defs/PersonVote"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"format": "int32",
"type": "integer"
},
"size": {
"description": "Number of items requested per page.",
"format": "int32",
"type": "integer"
},
"totalItems": {
"description": "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"PersonVote": {
"description": "The vote of one parliamentarian in one roll-call vote.",
"properties": {
"byProxy": {
"description": "True when the vote was cast by proxy (délégation).",
"type": "boolean"
},
"chamber": {
"description": "Chamber that voted.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"date": {
"description": "Date of the vote.",
"format": "date",
"type": "string"
},
"kind": {
"description": "What the vote was about.",
"enum": [
"AMENDMENT",
"MOTION",
"WHOLE_TEXT",
"ARTICLE",
"OTHER"
],
"type": "string"
},
"number": {
"description": "Number of the vote in its chamber.",
"format": "int32",
"type": "integer"
},
"outcomeLabel": {
"description": "Result, in the source's words (French).",
"type": "string"
},
"position": {
"description": "How the person voted.",
"enum": [
"FOR",
"AGAINST",
"ABSTENTION",
"NON_VOTING"
],
"type": "string"
},
"title": {
"description": "Title (French).",
"type": "string"
},
"voteId": {
"description": "Identifier of the vote, usable with /votes/{id}.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
}
},
"description": "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
"properties": {
"items": {
"description": "The items of this page.",
"items": {
"$ref": "#/$defs/PersonVote"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"format": "int32",
"type": "integer"
},
"size": {
"description": "Number of items requested per page.",
"format": "int32",
"type": "integer"
},
"totalItems": {
"description": "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
"format": "int64",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Read one version of the text of a bill (filed text, committee text, adopted text...): its wording ('fullText'), explanatory memorandum, summaries and the versions it can be compared with (see compare_texts). Use it when the user asks what a bill SAYS. The wording of a law is long: it is returned in windows of 12000 characters; 'contentWindow.nextOffset' gives the 'contentOffset' to read on.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"contentChars": {
"default": 12000,
"description": "Number of characters of 'fullText' to return (default 12000, maximum 30000).",
"maximum": 30000,
"minimum": 1,
"type": "integer"
},
"contentOffset": {
"default": 0,
"description": "Index of the first character of 'fullText' to return. Use the 'nextOffset' of the previous answer's 'contentWindow' to read on.",
"minimum": 0,
"type": "integer"
},
"language": {
"description": "Language of the content, ISO 639-1 code of one of the 24 languages of the European Union. Default: fr, the language of the sources. Other languages exist for European texts only, when a translation exists.",
"enum": [
"bg",
"cs",
"da",
"de",
"el",
"en",
"es",
"et",
"fi",
"fr",
"ga",
"hr",
"hu",
"it",
"lt",
"lv",
"mt",
"nl",
"pl",
"pt",
"ro",
"sk",
"sl",
"sv"
],
"type": "string"
},
"textId": {
"description": "Text identifier: a 'textId' of get_bill ('texts') or of get_vote.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"textId"
],
"type": "object"
},
"name": "get_text",
"outputSchema": {
"$defs": {
"ComparableVersion": {
"description": "A version a text can be compared with.",
"properties": {
"byDefault": {
"description": "True when it is the version compared by default.",
"type": "boolean"
},
"date": {
"description": "Date.",
"format": "date",
"type": "string"
},
"earlier": {
"description": "True when the version is older than this text.",
"type": "boolean"
},
"id": {
"description": "Identifier, usable as the 'with' parameter of the comparison.",
"format": "int64",
"type": "integer"
},
"number": {
"description": "Number.",
"format": "int32",
"type": "integer"
},
"typeLabel": {
"description": "Kind of text (French).",
"type": "string"
}
},
"type": "object"
},
"RelatedCall": {
"description": "A call that naturally follows the one that returned it.",
"properties": {
"description": {
"description": "What this call returns.",
"type": "string"
},
"href": {
"description": "Path to call, identifiers filled.",
"type": "string"
},
"operation": {
"description": "operationId of the call, as in the OpenAPI.",
"type": "string"
},
"tool": {
"description": "Name of the MCP tool that makes this call; null when no tool does.",
"type": "string"
}
},
"type": "object"
},
"Signatory": {
"description": "A person named as author, co-signer or signatory of a text.",
"properties": {
"department": {
"description": "Department (or country) the person represents.",
"type": "string"
},
"governmentId": {
"description": "Identifier of the government, when the signatory is a government.",
"format": "int64",
"type": "integer"
},
"groupAcronym": {
"description": "Acronym of the political group at the time.",
"type": "string"
},
"groupName": {
"description": "Name of the political group at the time.",
"type": "string"
},
"name": {
"description": "Display name.",
"type": "string"
},
"personId": {
"description": "Identifier of the person, usable with /people/{id}. Null when the source names someone who is not in the registry.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"Text": {
"description": "A version of a bill's text, with its content.",
"properties": {
"adoptionStatus": {
"description": "Adoption status, in the source's words (French).",
"type": "string"
},
"authorId": {
"description": "Identifier of the author in the people registry.",
"format": "int64",
"type": "integer"
},
"authorIsRapporteur": {
"description": "True when the filer is the rapporteur of a committee.",
"type": "boolean"
},
"authorName": {
"description": "Name of the author or filer.",
"type": "string"
},
"automaticTranslation": {
"description": "True when title, summaries or text are machine translations.",
"type": "boolean"
},
"billId": {
"description": "Identifier of the bill.",
"format": "int64",
"type": "integer"
},
"billTitle": {
"description": "Title of the bill.",
"type": "string"
},
"comparableVersions": {
"description": "Other versions of the same bill this text can be compared with.",
"items": {
"$ref": "#/$defs/ComparableVersion"
},
"type": "array"
},
"cosignatories": {
"description": "Co-signers.",
"items": {
"$ref": "#/$defs/Signatory"
},
"type": "array"
},
"explanatoryMemorandum": {
"description": "Explanatory memorandum.",
"type": "string"
},
"filingDate": {
"description": "Filing date.",
"format": "date",
"type": "string"
},
"fullText": {
"description": "The full text.",
"type": "string"
},
"fullTextFromOcr": {
"description": "True when 'fullText' came from optical character recognition (may contain errors).",
"type": "boolean"
},
"fullTextFromPdf": {
"description": "True when 'fullText' was extracted from the PDF.",
"type": "boolean"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"legislature": {
"description": "Legislature.",
"format": "int32",
"type": "integer"
},
"longSummary": {
"description": "Long summary.",
"type": "string"
},
"natureLabel": {
"description": "Nature of the text (French).",
"type": "string"
},
"number": {
"description": "Number of the text.",
"format": "int32",
"type": "integer"
},
"pdfAvailable": {
"description": "True when a PDF is held for the text.",
"type": "boolean"
},
"pdfUrl": {
"description": "URL of the PDF at the source.",
"type": "string"
},
"presentationHtml": {
"description": "Presentation of the text, as HTML.",
"type": "string"
},
"publicationDate": {
"description": "Publication date.",
"format": "date",
"type": "string"
},
"related": {
"description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
"items": {
"$ref": "#/$defs/RelatedCall"
},
"type": "array"
},
"roleLabel": {
"description": "Role of the text within the bill (French).",
"type": "string"
},
"shortSummary": {
"description": "Short summary.",
"type": "string"
},
"sourceUrl": {
"description": "URL of the source.",
"type": "string"
},
"title": {
"description": "Title.",
"type": "string"
},
"typeLabel": {
"description": "Kind of text (French).",
"type": "string"
}
},
"type": "object"
}
},
"description": "A version of a bill's text, with its content.",
"properties": {
"adoptionStatus": {
"description": "Adoption status, in the source's words (French).",
"type": "string"
},
"authorId": {
"description": "Identifier of the author in the people registry.",
"format": "int64",
"type": "integer"
},
"authorIsRapporteur": {
"description": "True when the filer is the rapporteur of a committee.",
"type": "boolean"
},
"authorName": {
"description": "Name of the author or filer.",
"type": "string"
},
"automaticTranslation": {
"description": "True when title, summaries or text are machine translations.",
"type": "boolean"
},
"billId": {
"description": "Identifier of the bill.",
"format": "int64",
"type": "integer"
},
"billTitle": {
"description": "Title of the bill.",
"type": "string"
},
"comparableVersions": {
"description": "Other versions of the same bill this text can be compared with.",
"items": {
"$ref": "#/$defs/ComparableVersion"
},
"type": "array"
},
"contentWindow": {
"description": "Which part of the long text field is returned: field, offset, returned, total, nextOffset (absent at the end).",
"type": "object"
},
"cosignatories": {
"description": "Co-signers.",
"items": {
"$ref": "#/$defs/Signatory"
},
"type": "array"
},
"explanatoryMemorandum": {
"description": "Explanatory memorandum.",
"type": "string"
},
"filingDate": {
"description": "Filing date.",
"format": "date",
"type": "string"
},
"fullText": {
"description": "The full text.",
"type": "string"
},
"fullTextFromOcr": {
"description": "True when 'fullText' came from optical character recognition (may contain errors).",
"type": "boolean"
},
"fullTextFromPdf": {
"description": "True when 'fullText' was extracted from the PDF.",
"type": "boolean"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"legislature": {
"description": "Legislature.",
"format": "int32",
"type": "integer"
},
"longSummary": {
"description": "Long summary.",
"type": "string"
},
"natureLabel": {
"description": "Nature of the text (French).",
"type": "string"
},
"number": {
"description": "Number of the text.",
"format": "int32",
"type": "integer"
},
"pdfAvailable": {
"description": "True when a PDF is held for the text.",
"type": "boolean"
},
"pdfUrl": {
"description": "URL of the PDF at the source.",
"type": "string"
},
"presentationHtml": {
"description": "Presentation of the text, as HTML.",
"type": "string"
},
"publicationDate": {
"description": "Publication date.",
"format": "date",
"type": "string"
},
"related": {
"description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
"items": {
"$ref": "#/$defs/RelatedCall"
},
"type": "array"
},
"roleLabel": {
"description": "Role of the text within the bill (French).",
"type": "string"
},
"shortSummary": {
"description": "Short summary.",
"type": "string"
},
"sourceUrl": {
"description": "URL of the source.",
"type": "string"
},
"title": {
"description": "Title.",
"type": "string"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
},
"typeLabel": {
"description": "Kind of text (French).",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Get one roll-call vote: result, totals, the text voted on and the tallies per political group (for, against, abstentions). Use it to answer 'how did group X vote on Y?'. For how each individual member voted use list_vote_member_votes; for the text voted on use get_vote_text_context.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"voteId": {
"description": "Vote identifier, from list_votes, get_bill ('votes') or get_person_votes ('voteId').",
"minimum": 1,
"type": "integer"
}
},
"required": [
"voteId"
],
"type": "object"
},
"name": "get_vote",
"outputSchema": {
"$defs": {
"GroupTally": {
"description": "Tallies of one political group in a vote.",
"properties": {
"abstentions": {
"description": "Abstentions.",
"format": "int64",
"type": "integer"
},
"acronym": {
"description": "Acronym.",
"type": "string"
},
"detailedCount": {
"description": "Number of members whose individual vote is known.",
"format": "int64",
"type": "integer"
},
"groupId": {
"description": "Identifier of the group.",
"format": "int64",
"type": "integer"
},
"name": {
"description": "Name.",
"type": "string"
},
"nonVoting": {
"description": "Members who did not vote.",
"format": "int64",
"type": "integer"
},
"politicalOrder": {
"description": "Position of the group on the left-right axis, for ordering.",
"format": "int32",
"type": "integer"
},
"votesAgainst": {
"description": "Votes against.",
"format": "int64",
"type": "integer"
},
"votesFor": {
"description": "Votes for.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"RelatedCall": {
"description": "A call that naturally follows the one that returned it.",
"properties": {
"description": {
"description": "What this call returns.",
"type": "string"
},
"href": {
"description": "Path to call, identifiers filled.",
"type": "string"
},
"operation": {
"description": "operationId of the call, as in the OpenAPI.",
"type": "string"
},
"tool": {
"description": "Name of the MCP tool that makes this call; null when no tool does.",
"type": "string"
}
},
"type": "object"
},
"Theme": {
"description": "A theme (policy domain) used to classify bills and votes.",
"properties": {
"code": {
"description": "Stable code.",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"label": {
"description": "Label, in French.",
"type": "string"
}
},
"type": "object"
},
"Vote": {
"description": "A roll-call vote with its tallies, per political group.",
"properties": {
"article": {
"$ref": "#/$defs/VoteArticle",
"description": "The article voted on, with a short AI-generated summary; null unless this is an article vote whose article could be read. Optional."
},
"articleNumber": {
"description": "Article number, for an article vote.",
"type": "string"
},
"billId": {
"description": "Identifier of the bill voted on, usable with /bills/{id}.",
"format": "int64",
"type": "integer"
},
"byGroup": {
"description": "Tallies per political group.",
"items": {
"$ref": "#/$defs/GroupTally"
},
"type": "array"
},
"chamber": {
"description": "Chamber that voted.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"date": {
"description": "Date of the vote.",
"format": "date",
"type": "string"
},
"expressedVotes": {
"description": "Expressed votes.",
"format": "int32",
"type": "integer"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"jurisdiction": {
"description": "FR or EU.",
"enum": [
"FR",
"EU"
],
"type": "string"
},
"legislature": {
"description": "Legislature; null for the Senate (sessions, not legislatures).",
"format": "int32",
"type": "integer"
},
"nominal": {
"description": "True when each member's vote is known (see /votes/{id}/member-votes).",
"type": "boolean"
},
"number": {
"description": "Number of the vote in its chamber.",
"format": "int32",
"type": "integer"
},
"outcome": {
"description": "Result: ADOPTED or REJECTED; null when unknown.",
"enum": [
"ADOPTED",
"REJECTED"
],
"type": "string"
},
"outcomeComputed": {
"description": "True when the result was computed from the tallies rather than stated by the source.",
"type": "boolean"
},
"outcomeLabel": {
"description": "Result, in the source's words (French).",
"type": "string"
},
"polarity": {
"description": "Direction of the vote regarding the text: 1 when voting for supports the text, -1 when voting for opposes it; null when unknown.",
"format": "int32",
"type": "integer"
},
"related": {
"description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
"items": {
"$ref": "#/$defs/RelatedCall"
},
"type": "array"
},
"requiredVotes": {
"description": "Votes required to adopt.",
"format": "int32",
"type": "integer"
},
"scope": {
"description": "Scope of the vote.",
"enum": [
"WHOLE_TEXT",
"ARTICLE",
"AMENDMENT",
"REJECTION_MOTION",
"CENSURE_MOTION",
"PROCEDURE"
],
"type": "string"
},
"sourceUrl": {
"description": "URL of the vote on the official site of its chamber. For the European Parliament, the minutes of the day (no page per vote). Null when unknown.",
"type": "string"
},
"textId": {
"description": "Identifier of the text voted on, usable with /texts/{id}.",
"format": "int64",
"type": "integer"
},
"textTitle": {
"description": "Title of the text voted on (French).",
"type": "string"
},
"themes": {
"description": "Themes inherited from the bill.",
"items": {
"$ref": "#/$defs/Theme"
},
"type": "array"
},
"title": {
"description": "Title (French).",
"type": "string"
},
"totalAbstentions": {
"description": "Abstentions.",
"format": "int32",
"type": "integer"
},
"totalAgainst": {
"description": "Votes against.",
"format": "int32",
"type": "integer"
},
"totalFor": {
"description": "Votes for.",
"format": "int32",
"type": "integer"
},
"totalNonVoting": {
"description": "Members who did not vote.",
"format": "int32",
"type": "integer"
},
"voteTypeLabel": {
"description": "Kind of vote, in the source's words (French).",
"type": "string"
},
"voters": {
"description": "Number of members who voted.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"VoteArticle": {
"description": "The article of law put to the vote, as found in our text repository.",
"properties": {
"available": {
"description": "True when the article is in our repository for this text. False: no summary and no version.",
"type": "boolean"
},
"reference": {
"description": "Normalised article reference (French): 1er, 2 bis, 5 bis A, unique.",
"type": "string"
},
"summary": {
"description": "One or two neutral sentences saying what the article does (French). Generated by AI. Null until produced, or when the article is not available.",
"type": "string"
},
"textId": {
"description": "Identifier of the version of the text that carries the article, usable with /texts/{id}. Null when the article is not available.",
"format": "int64",
"type": "integer"
},
"versionDate": {
"description": "Date of that version. It is not necessarily the text that was adopted: an article is often amended in the chamber just before the vote.",
"format": "date",
"type": "string"
}
},
"type": "object"
}
},
"description": "A roll-call vote with its tallies, per political group.",
"properties": {
"article": {
"$ref": "#/$defs/VoteArticle",
"description": "The article voted on, with a short AI-generated summary; null unless this is an article vote whose article could be read. Optional."
},
"articleNumber": {
"description": "Article number, for an article vote.",
"type": "string"
},
"billId": {
"description": "Identifier of the bill voted on, usable with /bills/{id}.",
"format": "int64",
"type": "integer"
},
"byGroup": {
"description": "Tallies per political group.",
"items": {
"$ref": "#/$defs/GroupTally"
},
"type": "array"
},
"chamber": {
"description": "Chamber that voted.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"date": {
"description": "Date of the vote.",
"format": "date",
"type": "string"
},
"expressedVotes": {
"description": "Expressed votes.",
"format": "int32",
"type": "integer"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"jurisdiction": {
"description": "FR or EU.",
"enum": [
"FR",
"EU"
],
"type": "string"
},
"legislature": {
"description": "Legislature; null for the Senate (sessions, not legislatures).",
"format": "int32",
"type": "integer"
},
"nominal": {
"description": "True when each member's vote is known (see /votes/{id}/member-votes).",
"type": "boolean"
},
"number": {
"description": "Number of the vote in its chamber.",
"format": "int32",
"type": "integer"
},
"outcome": {
"description": "Result: ADOPTED or REJECTED; null when unknown.",
"enum": [
"ADOPTED",
"REJECTED"
],
"type": "string"
},
"outcomeComputed": {
"description": "True when the result was computed from the tallies rather than stated by the source.",
"type": "boolean"
},
"outcomeLabel": {
"description": "Result, in the source's words (French).",
"type": "string"
},
"polarity": {
"description": "Direction of the vote regarding the text: 1 when voting for supports the text, -1 when voting for opposes it; null when unknown.",
"format": "int32",
"type": "integer"
},
"related": {
"description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
"items": {
"$ref": "#/$defs/RelatedCall"
},
"type": "array"
},
"requiredVotes": {
"description": "Votes required to adopt.",
"format": "int32",
"type": "integer"
},
"scope": {
"description": "Scope of the vote.",
"enum": [
"WHOLE_TEXT",
"ARTICLE",
"AMENDMENT",
"REJECTION_MOTION",
"CENSURE_MOTION",
"PROCEDURE"
],
"type": "string"
},
"sourceUrl": {
"description": "URL of the vote on the official site of its chamber. For the European Parliament, the minutes of the day (no page per vote). Null when unknown.",
"type": "string"
},
"textId": {
"description": "Identifier of the text voted on, usable with /texts/{id}.",
"format": "int64",
"type": "integer"
},
"textTitle": {
"description": "Title of the text voted on (French).",
"type": "string"
},
"themes": {
"description": "Themes inherited from the bill.",
"items": {
"$ref": "#/$defs/Theme"
},
"type": "array"
},
"title": {
"description": "Title (French).",
"type": "string"
},
"totalAbstentions": {
"description": "Abstentions.",
"format": "int32",
"type": "integer"
},
"totalAgainst": {
"description": "Votes against.",
"format": "int32",
"type": "integer"
},
"totalFor": {
"description": "Votes for.",
"format": "int32",
"type": "integer"
},
"totalNonVoting": {
"description": "Members who did not vote.",
"format": "int32",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
},
"voteTypeLabel": {
"description": "Kind of vote, in the source's words (French).",
"type": "string"
},
"voters": {
"description": "Number of members who voted.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
}
},
{
"description": "Get the bill, the text and the summaries of what a vote was about. Use it to explain a vote in plain words after get_vote. When the text voted on has no summary, 'nearbySummary' holds the summary of another version of the bill: say it is not the text voted on. Says so in a 'message' when the vote is not attached to a text.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"voteId": {
"description": "Vote identifier, from list_votes or get_vote.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"voteId"
],
"type": "object"
},
"name": "get_vote_text_context",
"outputSchema": {
"$defs": {
"NearbySummary": {
"description": "AI summary of a version of the text next to the one a vote relates to. Not the text voted on.",
"properties": {
"filingDate": {
"description": "Filing date.",
"format": "date",
"type": "string"
},
"longSummary": {
"description": "Long summary.",
"type": "string"
},
"number": {
"description": "Number.",
"format": "int32",
"type": "integer"
},
"shortSummary": {
"description": "Short summary.",
"type": "string"
},
"textId": {
"description": "Identifier of the nearby text, usable with /texts/{id}.",
"format": "int64",
"type": "integer"
},
"typeLabel": {
"description": "Kind of text (French).",
"type": "string"
}
},
"type": "object"
},
"TextContext": {
"description": "The text a vote relates to.",
"properties": {
"billId": {
"description": "Identifier of the bill.",
"format": "int64",
"type": "integer"
},
"contentAvailable": {
"description": "True when the full text is readable (see /texts/{id}).",
"type": "boolean"
},
"explanatoryMemorandum": {
"description": "Explanatory memorandum.",
"type": "string"
},
"filingDate": {
"description": "Filing date.",
"format": "date",
"type": "string"
},
"longSummary": {
"description": "Long summary.",
"type": "string"
},
"nearbySummary": {
"$ref": "#/$defs/NearbySummary",
"description": "AI summary of another version of the same bill, present only when the version described here has no AI summary. It is not the text that was voted on: name it as such. Null otherwise."
},
"number": {
"description": "Number.",
"format": "int32",
"type": "integer"
},
"pdfAvailable": {
"description": "True when a PDF is held for the text.",
"type": "boolean"
},
"pdfUrl": {
"description": "URL of the PDF at the source.",
"type": "string"
},
"shortSummary": {
"description": "Short summary.",
"type": "string"
},
"sourceUrl": {
"description": "URL of the source.",
"type": "string"
},
"textId": {
"description": "Identifier of the text.",
"format": "int64",
"type": "integer"
},
"typeLabel": {
"description": "Kind of text (French).",
"type": "string"
}
},
"type": "object"
}
},
"description": "The text a vote relates to.",
"properties": {
"billId": {
"description": "Identifier of the bill.",
"format": "int64",
"type": "integer"
},
"contentAvailable": {
"description": "True when the full text is readable (see /texts/{id}).",
"type": "boolean"
},
"explanatoryMemorandum": {
"description": "Explanatory memorandum.",
"type": "string"
},
"filingDate": {
"description": "Filing date.",
"format": "date",
"type": "string"
},
"longSummary": {
"description": "Long summary.",
"type": "string"
},
"nearbySummary": {
"$ref": "#/$defs/NearbySummary",
"description": "AI summary of another version of the same bill, present only when the version described here has no AI summary. It is not the text that was voted on: name it as such. Null otherwise."
},
"number": {
"description": "Number.",
"format": "int32",
"type": "integer"
},
"pdfAvailable": {
"description": "True when a PDF is held for the text.",
"type": "boolean"
},
"pdfUrl": {
"description": "URL of the PDF at the source.",
"type": "string"
},
"shortSummary": {
"description": "Short summary.",
"type": "string"
},
"sourceUrl": {
"description": "URL of the source.",
"type": "string"
},
"textId": {
"description": "Identifier of the text.",
"format": "int64",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
},
"typeLabel": {
"description": "Kind of text (French).",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "List the amendments tabled on a bill, most recently tabled first: number, article, author, group, fate and tabling date. Use the 'outcome' filter to keep only amendments that were ADOPTED, REJECTED, FELL (tombé), WITHDRAWN, NOT_MOVED (non soutenu) or are still PENDING (not yet discussed). A major bill has thousands: search them with 'q' (keywords, or an amendment number such as I-1358, 1-1358 or 1358; results by relevance, an exact number first), filter by 'outcome' and by signatory with 'author' (a person id) and 'authorRole', and by chamber with 'chamber' (NATIONAL_ASSEMBLY or SENATE; a bill that went through both has an amendment n° 12 on each side, and each row says its chamber), by the political group of the author on the filing date with 'authorGroup' (group ids from list_groups), and by how a person voted with 'votedBy' (a person id) and 'votePosition' (FOR, AGAINST, ABSTENTION; roll-call votes only: an amendment decided by a show of hands never matches). Open one with get_amendment for its wording and justification. Paginated.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"author": {
"description": "Identifier of a person (see /people): keeps only the amendments this person signed, as 'authorRole' says. Combines with 'q' and 'outcome'. An unknown person is refused (400).",
"format": "int64",
"type": "integer"
},
"authorGroup": {
"description": "Identifiers of political groups (see /groups), comma-separated: keeps only the amendments whose author belonged to one of them on the filing date (several groups: any of them). For an amendment of the National Assembly, the group the source gives its author counts; otherwise the author's dated group membership must cover the filing date. An unknown group is refused (400).",
"items": {
"format": "int64",
"type": "integer"
},
"type": "array"
},
"authorRole": {
"description": "Role of 'author': AUTHOR (first signatory), COSIGNATORY (a co-signer) or ANY (default). No effect without 'author'.",
"enum": [
"AUTHOR",
"COSIGNATORY",
"ANY"
],
"type": "string"
},
"billId": {
"description": "Bill identifier, from search_texts or get_vote.",
"minimum": 1,
"type": "integer"
},
"chamber": {
"description": "Restrict to amendments tabled in this chamber (NATIONAL_ASSEMBLY or SENATE). Default: both. A bill that went through both chambers has an amendment 'n° 12' on each side.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"outcome": {
"description": "Restrict to amendments with this fate. PENDING means not yet discussed.",
"enum": [
"ADOPTED",
"REJECTED",
"FELL",
"WITHDRAWN",
"NOT_MOVED",
"PENDING",
"OTHER"
],
"type": "string"
},
"page": {
"default": 0,
"description": "Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.",
"minimum": 0,
"type": "integer"
},
"q": {
"description": "Search terms within this bill's amendments: number, article, summary, wording. Every word must be found; 'or' and \"quoted phrases\" are accepted. A bare number (I-1358, 1-1358, I 1358, 1358) finds the amendment under any spelling; without a tome, every amendment of that number is returned. Without 'q', the list is unchanged.",
"type": "string"
},
"size": {
"default": 10,
"description": "Items per page (default 10, maximum 25).",
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"votePosition": {
"description": "FOR, AGAINST or ABSTENTION: the position taken by 'votedBy'. Refused (400) without 'votedBy'.",
"enum": [
"FOR",
"AGAINST",
"ABSTENTION"
],
"type": "string"
},
"votedBy": {
"description": "Identifier of a person (see /people): keeps only the amendments put to a roll-call vote in which this person voted (as 'votePosition' says, any position otherwise). An amendment decided by a show of hands has no individual vote and never matches. An unknown person is refused (400).",
"format": "int64",
"type": "integer"
}
},
"required": [
"billId"
],
"type": "object"
},
"name": "list_bill_amendments",
"outputSchema": {
"$defs": {
"AmendmentSummary": {
"description": "An amendment of a bill, as listed.",
"properties": {
"article": {
"description": "Article amended.",
"type": "string"
},
"authorLabel": {
"description": "Author(s), as labelled by the source.",
"type": "string"
},
"chamber": {
"description": "Chamber the amendment was tabled in: NATIONAL_ASSEMBLY or SENATE.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"depositDate": {
"description": "Date the amendment was tabled.",
"format": "date",
"type": "string"
},
"groupRef": {
"description": "Reference of the author's group at the source.",
"type": "string"
},
"id": {
"description": "Identifier, usable with /amendments/{id}.",
"format": "int64",
"type": "integer"
},
"number": {
"description": "Full number.",
"type": "string"
},
"outcome": {
"description": "Normalised fate of the amendment.",
"enum": [
"ADOPTED",
"REJECTED",
"FELL",
"WITHDRAWN",
"NOT_MOVED",
"PENDING",
"OTHER"
],
"type": "string"
},
"outcomeLabel": {
"description": "Fate of the amendment, in the source's words (French).",
"type": "string"
},
"summary": {
"description": "AI-generated plain-language summary of the amendment (one or two sentences). Null when it has no usable text or is not summarised yet.",
"type": "string"
}
},
"type": "object"
},
"PagedAmendmentSummary": {
"description": "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
"properties": {
"items": {
"description": "The items of this page.",
"items": {
"$ref": "#/$defs/AmendmentSummary"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"format": "int32",
"type": "integer"
},
"size": {
"description": "Number of items requested per page.",
"format": "int32",
"type": "integer"
},
"totalItems": {
"description": "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
}
},
"description": "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
"properties": {
"items": {
"description": "The items of this page.",
"items": {
"$ref": "#/$defs/AmendmentSummary"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"format": "int32",
"type": "integer"
},
"size": {
"description": "Number of items requested per page.",
"format": "int32",
"type": "integer"
},
"totalItems": {
"description": "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
"format": "int64",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "List the implementing decrees of a promulgated law, with the link that was used to find them. Use it to answer 'has this law been applied?'. Empty when the bill is not a promulgated law. Open one with get_decree.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"billId": {
"description": "Identifier of a promulgated bill, from search_texts.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"billId"
],
"type": "object"
},
"name": "list_bill_decrees",
"outputSchema": {
"$defs": {
"BillDecrees": {
"description": "The implementing decrees of a bill.",
"properties": {
"decrees": {
"description": "The decrees.",
"items": {
"$ref": "#/$defs/DecreeSummary"
},
"type": "array"
},
"law": {
"$ref": "#/$defs/LawBridge",
"description": "The law the decrees were found through; null when none."
}
},
"type": "object"
},
"DecreeSummary": {
"description": "Summary of a decree, as listed for a bill.",
"properties": {
"id": {
"description": "Identifier, usable with /decrees/{id}.",
"format": "int64",
"type": "integer"
},
"jorfId": {
"description": "JORF identifier.",
"type": "string"
},
"ministry": {
"description": "Ministry.",
"type": "string"
},
"nature": {
"description": "DECREE or ORDINANCE.",
"enum": [
"DECREE",
"ORDINANCE"
],
"type": "string"
},
"number": {
"description": "Number, as published.",
"type": "string"
},
"publicationDate": {
"description": "Date of publication.",
"format": "date",
"type": "string"
},
"shortSummary": {
"description": "Short summary.",
"type": "string"
},
"signatureDate": {
"description": "Date of signature.",
"format": "date",
"type": "string"
},
"summaryIsAi": {
"description": "True when the summary was written by an AI model.",
"type": "boolean"
},
"title": {
"description": "Title.",
"type": "string"
}
},
"type": "object"
},
"LawBridge": {
"description": "The law that links a bill to its implementing decrees.",
"properties": {
"lawJorfId": {
"description": "JORF identifier of the law.",
"type": "string"
},
"lawNumber": {
"description": "Number of the law.",
"type": "string"
},
"lawTitle": {
"description": "Title of the law.",
"type": "string"
},
"match": {
"description": "How certain the link between the bill and the law is.",
"enum": [
"CERTAIN",
"INFERRED"
],
"type": "string"
},
"score": {
"description": "Matching score, when inferred.",
"format": "double",
"type": "number"
}
},
"type": "object"
}
},
"description": "The implementing decrees of a bill.",
"properties": {
"decrees": {
"description": "The decrees.",
"items": {
"$ref": "#/$defs/DecreeSummary"
},
"type": "array"
},
"law": {
"$ref": "#/$defs/LawBridge",
"description": "The law the decrees were found through; null when none."
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "List the reasons that citizens of the application give to one opinion on a bill: 'stance' is FOR, AGAINST or ABSTENTION, and the reasons come most shared first, each with how many citizens share it. Anonymous: no author is ever returned. These are opinions of the application's users, neither an official source nor a representative poll: say so when you quote them.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"billId": {
"description": "Bill identifier, from search_texts or get_vote.",
"minimum": 1,
"type": "integer"
},
"limit": {
"description": "Maximum number of reasons (default 10).",
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"stance": {
"description": "The opinion whose reasons are listed.",
"enum": [
"FOR",
"AGAINST",
"ABSTENTION"
],
"type": "string"
}
},
"required": [
"billId",
"stance"
],
"type": "object"
},
"name": "list_bill_reasons",
"outputSchema": {
"$defs": {
"BillReasons": {
"description": "The published reasons of one opinion on a bill, the most shared first.",
"properties": {
"reasons": {
"description": "The reasons, most shared first, then oldest first.",
"items": {
"$ref": "#/$defs/Reason"
},
"type": "array"
},
"stance": {
"description": "The opinion the reasons belong to.",
"enum": [
"FOR",
"AGAINST",
"ABSTENTION"
],
"type": "string"
}
},
"type": "object"
},
"Reason": {
"description": "A reason that citizens of the application give to their opinion on a bill. Anonymous: it never carries an author.",
"properties": {
"id": {
"description": "Identifier of the reason.",
"format": "int64",
"type": "integer"
},
"shares": {
"description": "How many citizens share this reason, its writer included.",
"format": "int64",
"type": "integer"
},
"stance": {
"description": "The opinion this is a reason for.",
"enum": [
"FOR",
"AGAINST",
"ABSTENTION"
],
"type": "string"
},
"text": {
"description": "The reason, 280 characters at most (French).",
"type": "string"
}
},
"type": "object"
}
},
"description": "The published reasons of one opinion on a bill, the most shared first.",
"properties": {
"reasons": {
"description": "The reasons, most shared first, then oldest first.",
"items": {
"$ref": "#/$defs/Reason"
},
"type": "array"
},
"stance": {
"description": "The opinion the reasons belong to.",
"enum": [
"FOR",
"AGAINST",
"ABSTENTION"
],
"type": "string"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "List the governments of the French Republic, most recent first, with their Prime Minister and dates. Search with 'q'. Open one with get_government. Paginated.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page": {
"default": 0,
"description": "Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.",
"minimum": 0,
"type": "integer"
},
"q": {
"description": "Search terms (name of the government or its Prime Minister).",
"type": "string"
},
"size": {
"default": 10,
"description": "Items per page (default 10, maximum 25).",
"maximum": 25,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "list_governments",
"outputSchema": {
"$defs": {
"Government": {
"description": "A government of the French Republic.",
"properties": {
"endDate": {
"description": "End date; null when in office.",
"format": "date",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"inOffice": {
"description": "True when currently in office.",
"type": "boolean"
},
"memberCount": {
"description": "Number of members.",
"format": "int32",
"type": "integer"
},
"name": {
"description": "Name.",
"type": "string"
},
"primeMinisterId": {
"description": "Identifier of the Prime Minister in the people registry.",
"format": "int64",
"type": "integer"
},
"primeMinisterName": {
"description": "Name of the Prime Minister.",
"type": "string"
},
"rank": {
"description": "Rank in the sequence of governments.",
"format": "int32",
"type": "integer"
},
"shortName": {
"description": "Short name.",
"type": "string"
},
"startDate": {
"description": "Start date.",
"format": "date",
"type": "string"
}
},
"type": "object"
},
"PagedGovernment": {
"description": "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
"properties": {
"items": {
"description": "The items of this page.",
"items": {
"$ref": "#/$defs/Government"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"format": "int32",
"type": "integer"
},
"size": {
"description": "Number of items requested per page.",
"format": "int32",
"type": "integer"
},
"totalItems": {
"description": "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
}
},
"description": "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
"properties": {
"items": {
"description": "The items of this page.",
"items": {
"$ref": "#/$defs/Government"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"format": "int32",
"type": "integer"
},
"size": {
"description": "Number of items requested per page.",
"format": "int32",
"type": "integer"
},
"totalItems": {
"description": "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
"format": "int64",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "List the political groups sitting in a chamber (National Assembly by default, Senate or European Parliament), with their id and acronym. Use it to resolve a group name ('the socialists') to the group id that search_people filters on, and to the acronym that vote tallies carry. Former groups with includeFormer=true.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"chamber": {
"default": "NATIONAL_ASSEMBLY",
"description": "NATIONAL_ASSEMBLY, SENATE or EUROPEAN_PARLIAMENT.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"includeFormer": {
"default": false,
"description": "Also list groups that no longer exist.",
"type": "boolean"
},
"page": {
"default": 0,
"description": "Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.",
"minimum": 0,
"type": "integer"
},
"size": {
"default": 25,
"description": "Items per page (default 25, maximum 25).",
"maximum": 25,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "list_groups",
"outputSchema": {
"$defs": {
"PoliticalGroup": {
"description": "A political group.",
"properties": {
"acronym": {
"description": "Acronym.",
"type": "string"
},
"chamber": {
"description": "Chamber.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"color": {
"description": "Display colour, as a hex code: the source's, else an editorial one, else the successor's; null when none is known.",
"type": "string"
},
"current": {
"description": "True when the group currently sits.",
"type": "boolean"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"name": {
"description": "Name.",
"type": "string"
},
"successorAcronym": {
"description": "Acronym of the group that succeeded this one (end of the lineage); null when there is none.",
"type": "string"
},
"successorName": {
"description": "Name of the group that succeeded this one; null when there is none.",
"type": "string"
}
},
"type": "object"
}
},
"description": "A page of results.",
"properties": {
"items": {
"items": {
"$ref": "#/$defs/PoliticalGroup"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"type": "integer"
},
"size": {
"description": "Items requested per page.",
"type": "integer"
},
"totalItems": {
"description": "Total number of items, across all pages.",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "List the bills and resolutions a parliamentarian filed as author or co-signed, with their identifiers. Use it for 'what did X propose?'. Open one with get_text. Paginated.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page": {
"default": 0,
"description": "Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.",
"minimum": 0,
"type": "integer"
},
"personId": {
"description": "Person identifier, from search_people.",
"minimum": 1,
"type": "integer"
},
"size": {
"default": 25,
"description": "Items per page (default 25, maximum 25).",
"maximum": 25,
"minimum": 1,
"type": "integer"
}
},
"required": [
"personId"
],
"type": "object"
},
"name": "list_person_proposals",
"outputSchema": {
"$defs": {
"Proposal": {
"description": "A bill filed by a parliamentarian.",
"properties": {
"billId": {
"description": "Identifier of the bill, usable with /bills/{id}.",
"format": "int64",
"type": "integer"
},
"filingDate": {
"description": "Filing date.",
"format": "date",
"type": "string"
},
"number": {
"description": "Number.",
"format": "int32",
"type": "integer"
},
"sourceUrl": {
"description": "URL of the source.",
"type": "string"
},
"textId": {
"description": "Identifier of the text, usable with /texts/{id}.",
"format": "int64",
"type": "integer"
},
"title": {
"description": "Title.",
"type": "string"
},
"typeLabel": {
"description": "Kind of text (French).",
"type": "string"
}
},
"type": "object"
}
},
"description": "A page of results.",
"properties": {
"items": {
"items": {
"$ref": "#/$defs/Proposal"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"type": "integer"
},
"size": {
"description": "Items requested per page.",
"type": "integer"
},
"totalItems": {
"description": "Total number of items, across all pages.",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "List the themes (policy domains) that classify bills and votes. Labels are in French. Use it to know the vocabulary a bill's or a vote's 'themes' come from.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page": {
"default": 0,
"description": "Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.",
"minimum": 0,
"type": "integer"
},
"size": {
"default": 25,
"description": "Items per page (default 25, maximum 25).",
"maximum": 25,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "list_themes",
"outputSchema": {
"$defs": {
"Theme": {
"description": "A theme (policy domain) used to classify bills and votes.",
"properties": {
"code": {
"description": "Stable code.",
"type": "string"
},
"id": {
"description": "Identifier.",
"format": "int64",
"type": "integer"
},
"label": {
"description": "Label, in French.",
"type": "string"
}
},
"type": "object"
}
},
"description": "A page of results.",
"properties": {
"items": {
"items": {
"$ref": "#/$defs/Theme"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"type": "integer"
},
"size": {
"description": "Items requested per page.",
"type": "integer"
},
"totalItems": {
"description": "Total number of items, across all pages.",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "List the amendment(s) an amendment vote was about, with author, wording and justification. Use it when a vote's kind is AMENDMENT and the user asks what the amendment said. Empty for other votes.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page": {
"default": 0,
"description": "Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.",
"minimum": 0,
"type": "integer"
},
"size": {
"default": 25,
"description": "Items per page (default 25, maximum 25).",
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"voteId": {
"description": "Vote identifier, from list_votes or get_vote.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"voteId"
],
"type": "object"
},
"name": "list_vote_amendments",
"outputSchema": {
"$defs": {
"Amendment": {
"description": "An amendment voted on.",
"properties": {
"article": {
"description": "Article amended.",
"type": "string"
},
"authorId": {
"description": "Identifier of the author in the people registry.",
"format": "int64",
"type": "integer"
},
"authorKind": {
"description": "Kind of author, in the source's words.",
"type": "string"
},
"authorLabel": {
"description": "Author(s), as labelled by the source.",
"type": "string"
},
"billId": {
"description": "Identifier of the bill the amendment belongs to, usable with /bills/{id}. Null when the amendment could not be attached to a bill.",
"format": "int64",
"type": "integer"
},
"chamber": {
"description": "Chamber the amendment was tabled in: NATIONAL_ASSEMBLY or SENATE. 'uid' is the Assembly's identifier or the Senate's stable key accordingly.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"depositDate": {
"description": "Date the amendment was tabled.",
"format": "date",
"type": "string"
},
"enactingTermsHtml": {
"description": "The amended wording, as HTML.",
"type": "string"
},
"groupRef": {
"description": "Reference of the author's group at the source.",
"type": "string"
},
"id": {
"description": "Identifier of the amendment, usable with /amendments/{id}.",
"format": "int64",
"type": "integer"
},
"justificationHtml": {
"description": "The justification, as HTML.",
"type": "string"
},
"number": {
"description": "Full number.",
"type": "string"
},
"outcome": {
"description": "Normalised fate of the amendment. PENDING until it has been discussed.",
"enum": [
"ADOPTED",
"REJECTED",
"FELL",
"WITHDRAWN",
"NOT_MOVED",
"PENDING",
"OTHER"
],
"type": "string"
},
"outcomeDate": {
"description": "Date and time its fate was decided. Null while PENDING.",
"format": "date-time",
"type": "string"
},
"outcomeLabel": {
"description": "Fate of the amendment, in the source's words (French).",
"type": "string"
},
"sourceUrl": {
"description": "URL at the source.",
"type": "string"
},
"summary": {
"description": "AI-generated plain-language summary of the amendment (one or two sentences). Null when it has no usable text or is not summarised yet.",
"type": "string"
},
"uid": {
"description": "Identifier at the source.",
"type": "string"
}
},
"type": "object"
}
},
"description": "A page of results.",
"properties": {
"items": {
"items": {
"$ref": "#/$defs/Amendment"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"type": "integer"
},
"size": {
"description": "Items requested per page.",
"type": "integer"
},
"totalItems": {
"description": "Total number of items, across all pages.",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "List how each member of the chamber voted in a roll call (for, against, abstention, non-voting), with their political group. Only roll calls with 'nominal' true have it. A chamber has hundreds of members: this is PAGINATED, 25 per page; use 'page' to read on, and prefer get_vote when only group totals are needed.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page": {
"default": 0,
"description": "Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.",
"minimum": 0,
"type": "integer"
},
"size": {
"default": 25,
"description": "Items per page (default 25, maximum 25).",
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"voteId": {
"description": "Vote identifier, from list_votes or get_vote.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"voteId"
],
"type": "object"
},
"name": "list_vote_member_votes",
"outputSchema": {
"$defs": {
"MemberVote": {
"description": "How one member voted in a roll-call vote.",
"properties": {
"byProxy": {
"description": "True when the vote was cast by proxy (délégation).",
"type": "boolean"
},
"civility": {
"description": "Civility.",
"type": "string"
},
"country": {
"description": "Country represented (European Parliament).",
"type": "string"
},
"firstName": {
"description": "First name.",
"type": "string"
},
"groupAcronym": {
"description": "Acronym of the political group.",
"type": "string"
},
"groupId": {
"description": "Identifier of the political group.",
"format": "int64",
"type": "integer"
},
"lastName": {
"description": "Last name.",
"type": "string"
},
"personId": {
"description": "Identifier of the person, usable with /people/{id}.",
"format": "int64",
"type": "integer"
},
"position": {
"description": "How the member voted.",
"enum": [
"FOR",
"AGAINST",
"ABSTENTION",
"NON_VOTING"
],
"type": "string"
}
},
"type": "object"
}
},
"description": "A page of results.",
"properties": {
"items": {
"items": {
"$ref": "#/$defs/MemberVote"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"type": "integer"
},
"size": {
"description": "Items requested per page.",
"type": "integer"
},
"totalItems": {
"description": "Total number of items, across all pages.",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "List the roll-call votes (scrutins publics) of one chamber, newest first by default: National Assembly (default), Senate or European Parliament. Returns each vote's id, title, date, outcome and totals. Use it to find 'the vote on X' (search by title with 'q'), then open it with get_vote for the tallies per political group. Paginated.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"chamber": {
"default": "NATIONAL_ASSEMBLY",
"description": "Chamber to list. NATIONAL_ASSEMBLY, SENATE or EUROPEAN_PARLIAMENT.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"from": {
"description": "Earliest date (inclusive), ISO yyyy-MM-dd.",
"format": "date",
"type": "string"
},
"kind": {
"description": "Restrict to these kinds of vote, comma-separated.",
"items": {
"description": "What a roll-call vote is about.",
"enum": [
"AMENDMENT",
"MOTION",
"WHOLE_TEXT",
"ARTICLE",
"OTHER"
],
"type": "string"
},
"type": "array"
},
"order": {
"default": "DESC",
"description": "Sort direction.",
"enum": [
"ASC",
"DESC"
],
"type": "string"
},
"outcome": {
"description": "Restrict to adopted or rejected votes.",
"enum": [
"ADOPTED",
"REJECTED"
],
"type": "string"
},
"page": {
"default": 0,
"description": "Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.",
"minimum": 0,
"type": "integer"
},
"q": {
"description": "Search terms, matched against the title.",
"type": "string"
},
"size": {
"default": 10,
"description": "Items per page (default 10, maximum 25).",
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"sort": {
"default": "DATE",
"description": "Sort criterion.",
"enum": [
"DATE",
"NUMBER"
],
"type": "string"
},
"to": {
"description": "Latest date (inclusive), ISO yyyy-MM-dd.",
"format": "date",
"type": "string"
}
},
"type": "object"
},
"name": "list_votes",
"outputSchema": {
"$defs": {
"PagedVoteSummary": {
"description": "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
"properties": {
"items": {
"description": "The items of this page.",
"items": {
"$ref": "#/$defs/VoteSummary"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"format": "int32",
"type": "integer"
},
"size": {
"description": "Number of items requested per page.",
"format": "int32",
"type": "integer"
},
"totalItems": {
"description": "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"VoteSummary": {
"description": "A roll-call vote, as listed.",
"properties": {
"chamber": {
"description": "Chamber that voted.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"date": {
"description": "Date of the vote.",
"format": "date",
"type": "string"
},
"id": {
"description": "Identifier, usable with /votes/{id}.",
"format": "int64",
"type": "integer"
},
"legislature": {
"description": "Legislature.",
"format": "int32",
"type": "integer"
},
"nominal": {
"description": "True when each member's vote is known (roll call); false when only the tallies are.",
"type": "boolean"
},
"number": {
"description": "Number of the vote in its chamber.",
"format": "int32",
"type": "integer"
},
"outcome": {
"description": "Result: ADOPTED or REJECTED; null when unknown.",
"enum": [
"ADOPTED",
"REJECTED"
],
"type": "string"
},
"outcomeComputed": {
"description": "True when the result was computed from the tallies rather than stated by the source.",
"type": "boolean"
},
"outcomeLabel": {
"description": "Result, in the source's words (French).",
"type": "string"
},
"textTitle": {
"description": "Title of the text voted on (French).",
"type": "string"
},
"title": {
"description": "Title (French).",
"type": "string"
},
"totalAbstentions": {
"description": "Abstentions.",
"format": "int32",
"type": "integer"
},
"totalAgainst": {
"description": "Votes against.",
"format": "int32",
"type": "integer"
},
"totalFor": {
"description": "Votes for.",
"format": "int32",
"type": "integer"
},
"totalNonVoting": {
"description": "Members who did not vote.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
}
},
"description": "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
"properties": {
"items": {
"description": "The items of this page.",
"items": {
"$ref": "#/$defs/VoteSummary"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"format": "int32",
"type": "integer"
},
"size": {
"description": "Number of items requested per page.",
"format": "int32",
"type": "integer"
},
"totalItems": {
"description": "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
"format": "int64",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Find people of the public registry: deputies, senators, MEPs, ministers, presidents and public figures, as well as political content creators (video makers, media outlets, magazines, columnists; kind=CONTENT_CREATOR, parliamentarians included) and candidates in the 2024 French legislative election (kind=CANDIDATE). Candidates who never held a mandate are NOT in the default result: if a name returns nothing, search again with kind=CANDIDATE. Search by name with 'q'; filter by political group, department, country, kind or in-office status. Returns identifiers to use with get_person and get_person_votes. Citizens (users of the application) are never returned. Paginated.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"country": {
"description": "Countries represented (MEPs), ISO 3166-1 alpha-2, comma-separated or repeated.",
"items": {
"type": "string"
},
"type": "array"
},
"department": {
"description": "Department, by number (77, 2A, 971) or name (Seine-et-Marne). Applies to parliamentarians and to candidates (the department of the constituency they stood in).",
"type": "string"
},
"group": {
"description": "Identifiers of political groups, comma-separated (see /groups).",
"items": {
"format": "int64",
"type": "integer"
},
"type": "array"
},
"kind": {
"description": "Kinds of person, comma-separated. Default: every kind except CONTENT_CREATOR and CANDIDATE. CONTENT_CREATOR selects political content creators (video makers, media outlets, magazines, columnists), parliamentarians included; combined with other kinds it adds them to the result. CANDIDATE selects the candidates in the 2024 French legislative election (official list of the French Ministry of the Interior), elected or not. Candidates who never held a mandate are returned ONLY when CANDIDATE is requested: when a name returns nothing, retry with kind=CANDIDATE. Their nuance is attributed by the Ministry of the Interior; it is not a party.",
"items": {
"description": "Kind of person. The public API never exposes citizens (users of the application), only elected officials, public figures and election candidates. CONTENT_CREATOR and CANDIDATE are filters, never a role.",
"enum": [
"DEPUTY",
"SENATOR",
"MEP",
"MINISTER",
"PRESIDENT",
"PUBLIC_FIGURE",
"CONTENT_CREATOR",
"CANDIDATE"
],
"type": "string"
},
"type": "array"
},
"order": {
"description": "Sort direction. Default: the criterion's own.",
"enum": [
"ASC",
"DESC"
],
"type": "string"
},
"page": {
"default": 0,
"description": "Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.",
"minimum": 0,
"type": "integer"
},
"q": {
"description": "Search terms. Every word must be found in the name, department, profession...",
"type": "string"
},
"size": {
"default": 10,
"description": "Items per page (default 10, maximum 25).",
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"sort": {
"description": "Sort criterion. PARTICIPATION and LOYALTY require exactly one 'kind' among DEPUTY, SENATOR and MEP.",
"enum": [
"NAME",
"DEPARTMENT",
"PARTICIPATION",
"LOYALTY"
],
"type": "string"
},
"status": {
"description": "IN_OFFICE or FORMER.",
"enum": [
"IN_OFFICE",
"FORMER"
],
"type": "string"
}
},
"type": "object"
},
"name": "search_people",
"outputSchema": {
"$defs": {
"PagedPersonSummary": {
"description": "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
"properties": {
"items": {
"description": "The items of this page.",
"items": {
"$ref": "#/$defs/PersonSummary"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"format": "int32",
"type": "integer"
},
"size": {
"description": "Number of items requested per page.",
"format": "int32",
"type": "integer"
},
"totalItems": {
"description": "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"PersonSummary": {
"description": "A person of the public registry, as listed.",
"properties": {
"candidate": {
"description": "True when the person stood in the 2024 French legislative election (elected or not). Open /people/{id} for the candidacies.",
"type": "boolean"
},
"civility": {
"description": "Civility.",
"type": "string"
},
"constituency": {
"description": "Constituency number.",
"type": "string"
},
"contentCreator": {
"description": "True for a political content creator (video maker, media outlet, magazine, columnist); independent of the roles.",
"type": "boolean"
},
"contentFormat": {
"description": "Format of the content, in French (for instance a political YouTube channel); null when the person is not a content creator.",
"type": "string"
},
"country": {
"description": "Nationality (ISO country code).",
"type": "string"
},
"department": {
"description": "Department (or country) represented.",
"type": "string"
},
"firstName": {
"description": "First name.",
"type": "string"
},
"groupAcronym": {
"description": "Acronym of the current political group; when the person's own group has a successor (for instance RPR, now Les Républicains), the successor's.",
"type": "string"
},
"groupName": {
"description": "Name of the current political group (the successor's, see groupAcronym).",
"type": "string"
},
"groupOriginAcronym": {
"description": "Acronym of the person's own group when groupAcronym is its successor; null when the group has no successor.",
"type": "string"
},
"groupOriginName": {
"description": "Name of the person's own group when groupName is its successor; null when the group has no successor.",
"type": "string"
},
"id": {
"description": "Identifier, usable with /people/{id}.",
"format": "int64",
"type": "integer"
},
"lastName": {
"description": "Last name.",
"type": "string"
},
"loyaltyRate": {
"description": "Share of votes in line with the person's group, 0 to 1; set when the list is restricted to one chamber.",
"format": "double",
"type": "number"
},
"mainProfession": {
"description": "Main profession.",
"type": "string"
},
"ministerRank": {
"description": "Rank of a minister, when applicable.",
"enum": [
"PRIME_MINISTER",
"MINISTER_OF_STATE",
"MINISTER",
"JUNIOR_MINISTER",
"SECRETARY_OF_STATE",
"HIGH_COMMISSIONER"
],
"type": "string"
},
"participationRate": {
"description": "Share of roll-call votes the person took part in, 0 to 1; set when the list is restricted to one chamber.",
"format": "double",
"type": "number"
},
"publicFigure": {
"description": "True for civil-society public figures (not parliamentarians).",
"type": "boolean"
},
"representedCountry": {
"description": "Country that elected the person (MEPs, ISO country code).",
"type": "string"
},
"roles": {
"description": "The roles the person holds or held.",
"items": {
"$ref": "#/$defs/Role"
},
"type": "array"
}
},
"type": "object"
},
"Role": {
"description": "A role a person holds or held, with its status.",
"properties": {
"kind": {
"description": "Kind of role.",
"enum": [
"DEPUTY",
"SENATOR",
"MEP",
"MINISTER",
"PRESIDENT",
"PUBLIC_FIGURE",
"CONTENT_CREATOR",
"CANDIDATE"
],
"type": "string"
},
"status": {
"description": "Whether the role is currently held.",
"enum": [
"IN_OFFICE",
"FORMER"
],
"type": "string"
}
},
"type": "object"
}
},
"description": "A page of results. Lists are paginated with the 'page' (0-based) and 'size' (default 20, maximum 100) query parameters.",
"properties": {
"items": {
"description": "The items of this page.",
"items": {
"$ref": "#/$defs/PersonSummary"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"format": "int32",
"type": "integer"
},
"size": {
"description": "Number of items requested per page.",
"format": "int32",
"type": "integer"
},
"totalItems": {
"description": "Total number of items matching, across all pages. For a text search ('q' present) the count is capped.",
"format": "int64",
"type": "integer"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Search French and European legislation by keywords: bills (legislative files), decrees and ordinances published in the Journal officiel, and parliamentary reports. Use it FIRST whenever the user names a law, a topic or a decree and you need its identifier. Returns a page of results (kind, id, title, date, status). Open a BILL with get_bill and a DECREE with get_decree. Omit 'type' to search all three corpora; use type=BILL with jurisdiction=EU for European files. Amendments are NEVER in the default results: when a precise measure (a tax, a mechanism) appears in no title, search the amendments with type=AMENDMENT (alone, not mixed with another type), optionally with 'outcome', 'chamber' (NATIONAL_ASSEMBLY or SENATE; both by default) and the filing dates 'from'/'to'; an amendment row gives its number, article, fate, short summary, chamber and 'billId', and is opened with get_amendment. A bare amendment number (I-1358, 1-1358, 1358) as 'q' finds that amendment. 'q': every word is required; if nothing comes out, rephrase with legal vocabulary; for amendments 'or' and \"quoted phrases\" are accepted. 'government' (an id from list_governments) keeps only the bills filed and the decrees signed under that government and leaves reports out; 'excludeTreaties' then drops treaty ratification bills. 'author' (a person id from search_people) keeps only the bills, decrees, reports and amendments that person signed; 'authorRole' narrows it to AUTHOR (first signatory, rapporteur, decree signatory) or COSIGNATORY (bills and amendments only), ANY by default. 'authorGroup' (group ids from list_groups) keeps only the bills and amendments whose author belonged to one of those political groups on the filing date (decrees and reports are left out). With type=AMENDMENT, 'votedBy' (a person id) keeps only the amendments put to a roll-call vote in which that person voted, narrowed by 'votePosition' (FOR, AGAINST, ABSTENTION): an amendment decided by a show of hands has no individual vote and never matches. Titles are in French. Results are paginated: 'page' asks for the next ones.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"author": {
"description": "Identifier of a person (see /people): keeps only the texts and amendments this person signed, as 'authorRole' says. Applies to bills, decrees, reports and amendments. An unknown person is refused (400).",
"format": "int64",
"type": "integer"
},
"authorGroup": {
"description": "Identifiers of political groups (see /groups), comma-separated: keeps only the bills and amendments whose author belonged to one of them on the filing date (several groups: any of them). For a bill, an author of one of its texts counts, on that text's filing date. For an amendment of the National Assembly, the group the source gives its author counts; otherwise the author's dated group membership must cover the filing date. Decrees and reports are left out. An unknown group is refused (400).",
"items": {
"format": "int64",
"type": "integer"
},
"type": "array"
},
"authorRole": {
"description": "Role of 'author': AUTHOR (first signatory of a bill or amendment, rapporteur of a report, signatory of a decree), COSIGNATORY (a co-signer who has not withdrawn; bills and amendments only, reports and decrees have none) or ANY (default). No effect without 'author'.",
"enum": [
"AUTHOR",
"COSIGNATORY",
"ANY"
],
"type": "string"
},
"chamber": {
"description": "Restrict amendments to those tabled in this chamber (NATIONAL_ASSEMBLY or SENATE); default: both. Only with type=AMENDMENT; refused (400) otherwise.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"excludeTreaties": {
"default": false,
"description": "true removes international treaty ratification bills (bills marked as such in either chamber). Applies to bills only. Does not apply to amendments.",
"type": "boolean"
},
"from": {
"description": "Earliest date (inclusive), ISO yyyy-MM-dd. For amendments, the filing date.",
"format": "date",
"type": "string"
},
"government": {
"description": "Identifier of a government (see /governments). Keeps only the bills filed and the decrees and ordinances signed while it was in office. The government in office on a date is the last one appointed on or before it: a government that has resigned stays in office until its successor is appointed, and on the day of the handover the new one is in office. Unknown identifier: 400. A bill is dated by its earliest filing, in either chamber; a decree by its signature date. Restricts the search to bills and decrees: reports are left out.",
"format": "int64",
"type": "integer"
},
"jurisdiction": {
"description": "Restrict bills to FR or EU. EU excludes decrees and reports.",
"enum": [
"FR",
"EU"
],
"type": "string"
},
"language": {
"description": "Language of the content, ISO 639-1 code of one of the 24 languages of the European Union. Default: fr, the language of the sources. Other languages exist for European texts only, when a translation exists.",
"enum": [
"bg",
"cs",
"da",
"de",
"el",
"en",
"es",
"et",
"fi",
"fr",
"ga",
"hr",
"hu",
"it",
"lt",
"lv",
"mt",
"nl",
"pl",
"pt",
"ro",
"sk",
"sl",
"sv"
],
"type": "string"
},
"nature": {
"description": "Restrict decrees to these natures, comma-separated. Does not apply to amendments.",
"items": {
"description": "Nature of a regulatory text.",
"enum": [
"DECREE",
"ORDINANCE"
],
"type": "string"
},
"type": "array"
},
"order": {
"description": "Sort direction. Default: the criterion's own.",
"enum": [
"ASC",
"DESC"
],
"type": "string"
},
"outcome": {
"description": "Restrict amendments to this fate (PENDING means not yet discussed). Only with type=AMENDMENT; refused (400) otherwise.",
"enum": [
"ADOPTED",
"REJECTED",
"FELL",
"WITHDRAWN",
"NOT_MOVED",
"PENDING",
"OTHER"
],
"type": "string"
},
"page": {
"default": 0,
"description": "Page number, starting at 0. Ask for the next page when 'totalItems' is larger than (page + 1) * size.",
"minimum": 0,
"type": "integer"
},
"q": {
"description": "Search terms. Every word must be found; if nothing comes out, rephrase with legal vocabulary. 'or' and \"quoted phrases\" are accepted for amendments. With type=AMENDMENT, a bare amendment number (I-1358, 1-1358, I 1358, 1358) finds that amendment under any spelling.",
"type": "string"
},
"size": {
"default": 10,
"description": "Items per page (default 10, maximum 25).",
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"sort": {
"description": "Sort criterion. Default: RELEVANCE with 'q', DATE without.",
"enum": [
"RELEVANCE",
"DATE",
"TITLE"
],
"type": "string"
},
"status": {
"description": "Restrict bills to IN_PROGRESS or PROMULGATED. Does not apply to amendments.",
"enum": [
"IN_PROGRESS",
"PROMULGATED",
"REJECTED",
"WITHDRAWN"
],
"type": "string"
},
"to": {
"description": "Latest date (inclusive), ISO yyyy-MM-dd. For amendments, the filing date.",
"format": "date",
"type": "string"
},
"type": {
"description": "Corpora to search, comma-separated (BILL, DECREE, REPORT, AMENDMENT). Default: BILL, DECREE and REPORT, never AMENDMENT. AMENDMENT must be asked alone: mixed with another type, the request is refused (400).",
"items": {
"description": "Kind of document in the text search. AMENDMENT is never part of the default search: it is searched alone, on request.",
"enum": [
"BILL",
"DECREE",
"REPORT",
"AMENDMENT"
],
"type": "string"
},
"type": "array"
},
"votePosition": {
"description": "FOR, AGAINST or ABSTENTION: the position taken by 'votedBy'. Refused (400) without 'votedBy'.",
"enum": [
"FOR",
"AGAINST",
"ABSTENTION"
],
"type": "string"
},
"votedBy": {
"description": "Identifier of a person (see /people): keeps only the amendments put to a roll-call vote in which this person voted (as 'votePosition' says, any position otherwise). An amendment decided by a show of hands has no individual vote and never matches. Only with type=AMENDMENT, refused (400) otherwise. An unknown person is refused (400).",
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"name": "search_texts",
"outputSchema": {
"$defs": {
"AmendmentHit": {
"description": "What an amendment search row says about the amendment.",
"properties": {
"article": {
"description": "Article amended, as the source writes it.",
"type": "string"
},
"chamber": {
"description": "Chamber the amendment was tabled in: NATIONAL_ASSEMBLY or SENATE.",
"enum": [
"NATIONAL_ASSEMBLY",
"SENATE",
"EUROPEAN_PARLIAMENT"
],
"type": "string"
},
"number": {
"description": "Number as displayed, rectification included.",
"type": "string"
},
"outcome": {
"description": "Fate. PENDING until the amendment has been discussed.",
"enum": [
"ADOPTED",
"REJECTED",
"FELL",
"WITHDRAWN",
"NOT_MOVED",
"PENDING",
"OTHER"
],
"type": "string"
},
"summary": {
"description": "Short plain-language summary, when produced.",
"type": "string"
}
},
"type": "object"
},
"Signatory": {
"description": "A person named as author, co-signer or signatory of a text.",
"properties": {
"department": {
"description": "Department (or country) the person represents.",
"type": "string"
},
"governmentId": {
"description": "Identifier of the government, when the signatory is a government.",
"format": "int64",
"type": "integer"
},
"groupAcronym": {
"description": "Acronym of the political group at the time.",
"type": "string"
},
"groupName": {
"description": "Name of the political group at the time.",
"type": "string"
},
"name": {
"description": "Display name.",
"type": "string"
},
"personId": {
"description": "Identifier of the person, usable with /people/{id}. Null when the source names someone who is not in the registry.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"TextItem": {
"description": "One row of a search or list result. The same shape serves bills, decrees and reports; fields that do not apply to the kind are null.",
"properties": {
"acceleratedProcedure": {
"description": "Bills only: true when the accelerated procedure was engaged.",
"type": "boolean"
},
"acceleratedProcedureDate": {
"description": "Bills only: date the accelerated procedure was engaged, when known.",
"format": "date",
"type": "string"
},
"amendment": {
"$ref": "#/$defs/AmendmentHit",
"description": "Amendments only: number, article, fate and short summary. For an AMENDMENT row, 'id' is the amendment identifier (open it with /amendments/{id}), 'title' the title of its bill, 'origin' its author, 'date' the filing date."
},
"author": {
"$ref": "#/$defs/Signatory",
"description": "Bills only: first author of the filed text."
},
"automaticTranslation": {
"description": "True when 'title' is a machine translation.",
"type": "boolean"
},
"billId": {
"description": "Amendments only: the bill the amendment was tabled on, as accepted by /bills/{id} (the merged file when the bill was merged).",
"format": "int64",
"type": "integer"
},
"date": {
"description": "The date described by 'dateKind'.",
"format": "date",
"type": "string"
},
"dateKind": {
"description": "Which date 'date' is.",
"enum": [
"LAST_ACTION",
"PUBLICATION",
"FILING"
],
"type": "string"
},
"id": {
"description": "Identifier within its corpus. Use it with /bills/{id} or the decree detail (/decrees/{id}). For a report, the id is the report's own.",
"format": "int64",
"type": "integer"
},
"jurisdiction": {
"description": "FR or EU.",
"enum": [
"FR",
"EU"
],
"type": "string"
},
"kind": {
"description": "Which corpus the row comes from.",
"enum": [
"BILL",
"DECREE",
"REPORT",
"AMENDMENT"
],
"type": "string"
},
"legislature": {
"description": "Legislature (or EU term), when it applies.",
"format": "int32",
"type": "integer"
},
"mention": {
"description": "Source text with the procedure (bill), the number (decree) or the designation (report).",
"type": "string"
},
"nature": {
"description": "Decrees only: DECREE or ORDINANCE.",
"enum": [
"DECREE",
"ORDINANCE"
],
"type": "string"
},
"origin": {
"description": "Who produced the text: the ministry of a decree, the filer of a report. Source text, in French.",
"type": "string"
},
"status": {
"description": "Bills only: progress through the legislative process.",
"enum": [
"IN_PROGRESS",
"PROMULGATED",
"REJECTED",
"WITHDRAWN"
],
"type": "string"
},
"title": {
"description": "Display title (in the reader's language for European bills).",
"type": "string"
}
},
"type": "object"
},
"TextSearchResult": {
"description": "A page of text rows, with the translated query when one was used.",
"properties": {
"items": {
"description": "The rows of this page.",
"items": {
"$ref": "#/$defs/TextItem"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"format": "int32",
"type": "integer"
},
"size": {
"description": "Number of items requested per page.",
"format": "int32",
"type": "integer"
},
"totalItems": {
"description": "Total number matching. Capped when 'q' is present.",
"format": "int64",
"type": "integer"
},
"translatedQuery": {
"description": "The query as actually searched, when it was translated to French; null otherwise.",
"type": "string"
}
},
"type": "object"
}
},
"description": "A page of text rows, with the translated query when one was used.",
"properties": {
"items": {
"description": "The rows of this page.",
"items": {
"$ref": "#/$defs/TextItem"
},
"type": "array"
},
"page": {
"description": "Page number, starting at 0.",
"format": "int32",
"type": "integer"
},
"size": {
"description": "Number of items requested per page.",
"format": "int32",
"type": "integer"
},
"totalItems": {
"description": "Total number matching. Capped when 'q' is present.",
"format": "int64",
"type": "integer"
},
"translatedQuery": {
"description": "The query as actually searched, when it was translated to French; null otherwise.",
"type": "string"
},
"truncated": {
"description": "Present when this answer was shortened to stay short: says what was cut and how to get the rest.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:f4b2e410d25339514afc056b7426bb00ffede87aeb7d850af5b83b6c8841a189 | sha256sum