OpenTK Model Context Protocol Server
The OpenTK Model Context Protocol Server provides comprehensive access to Dutch parliamentary data through a standardized AI interface. Key capabilities include:
Data Access & Search:
Comprehensive searches across documents, activities, and cases using advanced query syntax (Boolean operators, exact phrases, proximity searches)
Targeted searches within specific categories (official documents, debates, legislative cases)
Parliamentary document retrieval with metadata, full text content, and pagination support
Parliamentary Information:
Complete Member of Parliament listings with details, party affiliations, voting records, and committee memberships
Official MP portrait photographs and birthday tracking
Committee information including members and recent activities
Recent voting results on motions and bills with party voting patterns
Activity Tracking:
Overview of recent parliamentary activities and latest documents
Upcoming debates, committee meetings, and parliamentary events
Document URL conversion to clickable links for easy access
Technical Features:
Robust error handling with fallback mechanisms
Pagination support for large datasets
Document content extraction for analysis and summarization
This server bridges AI models with Dutch parliamentary data, enabling detailed research, analysis, and information retrieval for parliamentary monitoring and governance insights.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OpenTK Model Context Protocol Servershow me recent debates about housing policy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenTK Model Context Protocol Server
Important Attribution: This MCP server is built as a wrapper around the excellent OpenTK project created by Bert Hubert. The OpenTK project provides unprecedented access to Dutch parliamentary data through a user-friendly interface. Learn more about the project in Bert's article: Welkom bij OpenTK. All credit for the underlying data access and processing goes to Bert Hubert and his contributions to open government data.
A bridge between large language models (LLMs) and Dutch parliamentary data through a standardized interface. This MCP server provides access to Dutch parliamentary documents, debates, and member information from the Tweede Kamer.
Real-World Natural Language Interaction Examples
Related MCP server: Riksdag & Regering MCP
Example 1: Comparing Party Positions on AI Policies
User Query: "When comparing the activities of opposition parties PvdA, GroenLinks, and Volt with government party BBB in the Dutch House of Representatives in the field of AI, what are actions they can undertake together in the short term that align with the positions and views they have demonstrated over the past year? Please use sources from OpenTK."
Example 2: Researching Parliamentary Discussions on Climate Policy
User Query: "I'd like to analyze recent parliamentary debates on climate policy and emission reduction targets in the Netherlands. Can you help me identify key discussions and the main positions taken by different parties over the past six months?"
Example 3: Information About a Specific MP's Voting Record
User Query: "What is MP Pieter Omtzigt's voting record on healthcare reform legislation, and how does his position differ from other independent members? Has he introduced any motions on this topic?"
Example 4: Finding Recent Housing Legislation Developments
User Query: "What are the most significant parliamentary documents and debates about affordable housing legislation from the past year? I'm particularly interested in proposals addressing the rental market crisis."
Example 5: Efficiently Triaging Multiple Documents (NEW - Smart Analysis)
User Query: "I found 15 documents about climate policy from the last month. Can you quickly identify which 3 documents are most relevant to renewable energy subsidies and wind power legislation, without reading all of them in full?"
Example 6: Extracting Key Topics from Parliamentary Documents (NEW - Smart Analysis)
User Query: "What are the main topics, keywords, and political parties mentioned in document 2024D39058? I want to understand what it's about before diving into the full text."
Example 7: Finding MPs with Specific Committee Memberships
User Query: "Which MPs currently serve on both the Finance Committee and the Economic Affairs Committee? What parties do they represent, and have they recently submitted any joint initiatives?"
Example 8: Identifying Upcoming Parliamentary Activities on Digital Security
User Query: "Are there any scheduled committee meetings or debates about cybersecurity and digital infrastructure planned for the next month? Which ministers will be participating and what specific topics will be addressed?"
Project Concept
The OpenTK project is a Model Context Protocol (MCP) server that provides access to Dutch parliamentary data through a standardized interface. It serves as a bridge between large language models (LLMs) and the Dutch Parliament's information systems, allowing AI assistants to search, retrieve, and analyze parliamentary documents, debates, and member information.
The server uses the @modelcontextprotocol/sdk to implement the MCP specification, which enables structured communication between AI models and external data sources. By exposing parliamentary data through well-defined tools and endpoints, OpenTK makes it possible for AI assistants to:
Search for parliamentary documents using complex queries
Access information about Members of Parliament
Retrieve official documents in various formats and read the full content of the documents
Analyze parliamentary activities and proceedings
Track legislative cases and government pledges
Intelligently analyze document relevance using NLP before loading full content (NEW in v1.0.16)
Extract keywords, entities, and topics for efficient document triage (NEW in v1.0.16)
The project leverages Bert Hubert's tkconv service as its primary data source, which provides a more accessible API than the official Dutch Parliament APIs.
Features
Core Parliamentary Data Access
Search parliamentary documents with advanced query capabilities (quotes, NOT, OR, NEAR operators)
Access comprehensive MP information and committee memberships
Retrieve full document content (PDF, Word) with smart chunking
Track legislative cases, government activities, and voting results
Real-time access to parliamentary proceedings and upcoming activities
Smart Document Analysis (NEW in v1.0.16) 🎯
NLP-Powered Relevance Analysis: Intelligently analyze documents before loading full content
TF-IDF Keyword Extraction: Identify the top 10-15 most important terms in any document
Dutch-Optimized Entity Recognition: Automatically detect persons (MPs, ministers), political parties (VVD, PVV, CDA, D66, etc.), and organizations
Topic Categorization: Classify documents across 10 major political themes (Climate, Economy, Healthcare, Education, etc.)
Relevance Scoring: Rank documents by relevance to specific search terms (0-100 score)
Context-Efficient Triage: Reduce context window usage by 80-90% when evaluating multiple documents
Advanced Document Navigation
Find specific person occurrences with fuzzy matching
Find party mentions with fuzzy matching
Navigate large documents efficiently with character offsets
Sequential reading with pagination support
Available Tools
OpenTK provides 17 specialized tools for accessing Dutch parliamentary data:
Overview & Discovery
get_overview: Comprehensive overview of recent parliamentary activities and MP birthdays (paginated)birthdays_today: List MPs celebrating birthdays todaylist_persons: Complete directory of current MPs with party affiliations
Search & Filter
search_tk: Comprehensive search across all parliamentary data with advanced query syntaxsearch_tk_filtered: Search within specific categories (Document, Activiteit, Zaak)search_by_category: Search for specific document types (questions, motions, all)
Document Intelligence (NEW) 🎯
analyze_document_relevance: NLP-powered document analysis with keyword extraction, entity recognition, and relevance scoringget_document_content: Retrieve document content (PDF/DOCX) with three reading modes (targeted, sequential, full)find_person_in_document: Locate all occurrences of a person in a document with fuzzy matchingfind_party_in_document: Locate all occurrences of a political party in a document
Document Metadata
get_document_details: Retrieve structured metadata about documentsget_document_links: Convert document URLs to clickable markdown links
Parliamentary Structure
get_committees: List all parliamentary committeesget_committee_details: Detailed information about specific committees
Activities & Voting
get_upcoming_activities: Upcoming parliamentary debates and meetingsget_voting_results: Recent voting results with party positions
Media
get_photo: Retrieve official MP portrait photographs
Installation
1. Quick Start with NPM Package (Recommended)
The fastest way to get started is using the published npm package:
npx @r-huijts/opentk-mcp2. Using Claude Desktop with NPM Package
Update your Claude configuration file (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"opentk": {
"command": "npx",
"args": [
"-y",
"@r-huijts/opentk-mcp"
]
}
}
}Alternative configurations:
For MultiServerMCPClient (Python):
mcp_client = MultiServerMCPClient({
"opentk": {
"command": "npx",
"args": ["-y", "@r-huijts/opentk-mcp"],
"transport": "stdio",
}
})3. From Source (Development)
If you want to modify the code or contribute to development:
Clone Repository:
git clone https://github.com/r-huijts/opentk-mcp.git
cd opentk-mcpInstall Dependencies:
npm installBuild the Project:
npm run buildStart the Server:
npm startConfigure Claude Desktop for local development:
Update your Claude configuration file:
{
"mcpServers": {
"opentk-local": {
"command": "node",
"args": [
"/absolute/path/to/your/opentk-mcp/dist/index.js"
]
}
}
}Make sure to replace /absolute/path/to/your/opentk-mcp/ with the actual path to your installation.
4. Publishing (for maintainers)
To publish a new version of the scoped package:
npm run build
npm publish --access=publicNote: Scoped packages require the --access=public flag to be publicly available.
Search Functionality
The search functionality is particularly sophisticated, supporting:
Simple keyword searches:
kunstmatige intelligentieExact phrase searches:
"kunstmatige intelligentie"Exclusion searches:
Hubert NOT BrulsBoolean operators:
OR,NEAR()
The implementation handles various edge cases:
Preserves quotes in search queries
Uses proper content type headers
Implements fallback mechanisms for API errors
Provides meaningful error messages
Error Handling
The API service includes robust error handling:
Graceful handling of API errors (4xx, 5xx)
Fallback to simplified queries when complex ones fail
Detailed error messages for debugging
Proper logging to stderr (not stdout, which would break the stdio transport)
Configuration
The server connects to Bert Hubert's tkconv service as its primary data source, which provides a more accessible API than the official Dutch Parliament APIs. This service, created by Bert Hubert, does the heavy lifting of collecting, organizing, and making available Dutch parliamentary data in a developer-friendly format. Our MCP server builds upon this foundation to create a standardized interface for AI assistants to interact with this valuable data.
License
MIT
Conclusion
The OpenTK MCP server provides a robust and well-structured interface to Dutch parliamentary data, making it accessible to AI assistants through the Model Context Protocol. Its modular design, comprehensive API, NLP-powered document analysis (v1.0.16), and thorough testing ensure reliable access to parliamentary information for AI-assisted research, analysis, and information retrieval.
Once configured, Claude will be able to access Dutch parliamentary data through the OpenTK MCP server using all 17 specialized tools for search, document analysis, MP information, committee tracking, voting results, and more.
Available Tools
14 toolsbirthdays_todayA
Lists all Members of Parliament celebrating their birthday today, including their names, political parties, and birth dates. The response is a JSON array where each entry contains the MP's ID, name, party affiliation, and other details. Use this tool when a user specifically asks about birthdays, wants to know which MPs are celebrating today, or needs to create 'on this day' content. This tool takes no parameters as it always returns today's birthdays. For a more general overview that includes birthdays along with other parliamentary information, use the 'get_overview' tool instead. If you need to display an MP's photo alongside their birthday information, you can use the 'get_photo' tool with the MP's ID from this response.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly describes the tool's behavior: it returns today's birthdays only (not historical or future dates), outputs a JSON array with specific fields (ID, name, party, etc.), and has no parameters. However, it doesn't mention potential limitations like rate limits, authentication needs, or error conditions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and front-loaded with the core purpose, followed by usage guidelines and alternatives. Every sentence adds value: the first explains what the tool does, the second describes the output format, the third provides usage scenarios, the fourth explains the lack of parameters, and the last two offer sibling tool alternatives.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is largely complete. It covers purpose, output format, usage guidelines, and alternatives. However, without annotations or output schema, it could benefit from more detail on behavioral aspects like error handling or data freshness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0 parameters with 100% coverage, so the baseline is 4. The description adds value by explicitly stating 'This tool takes no parameters as it always returns today's birthdays,' which clarifies why there are no parameters and reinforces the tool's fixed scope.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Lists all Members of Parliament celebrating their birthday today') and the resource ('Members of Parliament'), distinguishing it from siblings like 'get_overview' or 'list_persons' by focusing exclusively on today's birthdays. It provides concrete details about what information is included (names, political parties, birth dates).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use this tool ('when a user specifically asks about birthdays, wants to know which MPs are celebrating today, or needs to create 'on this day' content') and provides clear alternatives ('use the 'get_overview' tool instead' for general overview, and 'use the 'get_photo' tool' for photos). It effectively guides the agent on tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_committee_detailsA
Retrieves detailed information about a specific parliamentary committee, including its members, recent activities, and description. This provides deeper insight into the committee's composition, leadership roles, and recent work. Use this when you need comprehensive information about a particular committee's structure and activities.
| Name | Required | Description | Default |
|---|---|---|---|
| committeeId | Yes | Committee ID - the unique identifier for the parliamentary committee you want information about |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses that the tool retrieves information (implying read-only, non-destructive behavior) and specifies the scope of data returned. However, it lacks details on error handling, rate limits, or authentication needs, leaving behavioral gaps for a tool with no annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences that are front-loaded with the core purpose, followed by usage guidance. Every phrase adds value without redundancy, making it efficiently structured and appropriately sized for the tool's complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (1 parameter, no output schema, no annotations), the description is mostly complete—it covers purpose, usage, and data scope. However, without annotations or output schema, it could benefit from more behavioral details (e.g., response format), slightly reducing completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with the parameter 'committeeId' well-documented in the schema. The description adds context by implying this ID is for a 'specific parliamentary committee,' reinforcing its purpose without repeating schema details. With only one parameter, this minimal addition is sufficient for a high score.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Retrieves') and resource ('detailed information about a specific parliamentary committee'), specifying what information is included (members, recent activities, description, composition, leadership roles, recent work). It distinguishes from sibling tools like 'get_committees' by focusing on details for a specific committee rather than listing committees.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states 'Use this when you need comprehensive information about a particular committee's structure and activities,' providing clear context for when to use this tool. It implies alternatives like 'get_committees' for broader lists, though not explicitly named, the specificity suffices for high guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_committeesA
Retrieves a list of all parliamentary committees with their IDs, names, and URLs. The response is a JSON array where each entry represents a committee with its unique identifier and name. Use this tool when a user asks about parliamentary committees, wants to know which committees exist, or needs to find committees related to specific policy areas. Committees are specialized groups of MPs that focus on specific domains like defense, healthcare, or finance. After getting the list of committees, you can use the 'get_committee_details' tool with a specific committee ID to retrieve more detailed information about that committee, including its members and recent activities. This tool takes no parameters as it returns all active committees.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden and does well: it discloses the response format (JSON array), scope (all active committees), and that it takes no parameters. However, it lacks details on potential limitations like pagination, rate limits, or error handling, which would be useful for a read operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the core purpose, followed by usage guidelines and workflow. Sentences are efficient, but it could be slightly more concise by integrating some details (e.g., merging policy area examples into one phrase). Overall, well-structured with minimal waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 0 parameters, no annotations, and no output schema, the description is largely complete: it explains purpose, usage, response format, and sibling relationship. However, it doesn't specify if the list is filtered (e.g., only active committees) or mention any authentication needs, leaving minor gaps for a read tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 0 parameters with 100% coverage, so the baseline is 4. The description adds value by explicitly stating 'takes no parameters as it returns all active committees,' clarifying the absence of inputs and reinforcing the tool's behavior, which compensates for any minimal gaps.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('retrieves') and resource ('parliamentary committees'), specifying what data is returned (IDs, names, URLs) and the format (JSON array). It distinguishes from sibling 'get_committee_details' by emphasizing this lists all committees without filtering, making the purpose specific and differentiated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use: when users ask about committees, want to know which exist, or need committees by policy areas. It provides a clear alternative ('get_committee_details' for detailed info) and explains the workflow (use this first, then details tool), offering comprehensive guidance on usage versus siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_document_contentA
Downloads a parliamentary document and extracts its text content for use in the conversation. This tool retrieves the actual content of a document based on its ID, making it available for analysis, summarization, or direct reference in the conversation. The text is extracted from PDF or Word (DOCX) documents using professional libraries and returned in a readable format.
IMPORTANT: For longer documents, the content may be truncated. The response includes pagination information to help you retrieve the complete document:
isTruncated: Indicates whether there is more content available
totalLength: The total length of the document content
currentOffset: The starting position of the current content chunk
nextOffset: The starting position for the next content chunk (use this as the 'offset' parameter in your next call)
remainingLength: The amount of content remaining after the current chunk
To retrieve the complete document, you can make multiple calls to this tool, incrementing the offset each time:
Example usage:
First call: get_document_content({docId: '2025D18220'})
If the response shows isTruncated=true, call again with the nextOffset value: get_document_content({docId: '2025D18220', offset: 8000})
Continue until isTruncated=false or you've retrieved all the content you need.
This pagination approach allows you to analyze even very long documents within the conversation context.
Use this tool when you need to analyze or discuss the specific content of a document rather than just its metadata.
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document ID (e.g., '2024D39058') - the unique identifier for the parliamentary document you want to download and extract text from | |
| offset | No | Optional starting position for text extraction (default: 0). Use this to retrieve additional content from a truncated document by setting it to the 'nextOffset' value from a previous response. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: content extraction from PDF/DOCX, potential truncation for long documents, pagination mechanism with detailed response fields, and the iterative calling pattern needed for complete retrieval. It doesn't mention rate limits or authentication needs, but covers the core operational behavior well.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded with the core purpose. Every sentence adds value: the first states the purpose, the second explains content extraction, the third warns about truncation, and the rest provide essential pagination details and usage guidelines. While somewhat detailed, all information is necessary for this complex tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (pagination, content extraction) and lack of both annotations and output schema, the description does an excellent job of completeness. It explains the truncation behavior, describes the response structure (isTruncated, totalLength, etc.), provides a step-by-step usage example, and clarifies when to use the tool. The main gap is no explicit mention of error conditions or rate limits.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description adds significant value beyond the schema by explaining the pagination workflow: it clarifies how the 'offset' parameter interacts with the response fields (nextOffset), provides a concrete usage example with multiple calls, and explains the default behavior (offset=0). This contextual information helps the agent understand parameter usage in practice.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('downloads', 'extracts text content') and identifies the resource ('parliamentary document'). It distinguishes itself from sibling tools like 'get_document_details' (which likely provides metadata) by emphasizing content extraction for analysis rather than just metadata.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use this tool ('when you need to analyze or discuss the specific content of a document rather than just its metadata') and provides a clear alternative (implied metadata tools like 'get_document_details'). It also includes detailed pagination guidance for handling long documents.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_document_detailsA
Retrieves metadata about a parliamentary document in a structured JSON format, without downloading the actual document content. Returns information including title, type, document number, dates, version number, and clickable links to both the PDF version and the official Tweede Kamer webpage. This tool is ideal for getting quick information about a document and obtaining the relevant links for further access. To actually download the document content, use the 'download_document' tool instead.
| Name | Required | Description | Default |
|---|---|---|---|
| nummer | Yes | Document number (e.g., '2024D39058') - the unique identifier for the parliamentary document you want information about |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes what the tool returns (metadata without content, specific fields like title/type/number/dates/version/links) and clarifies the read-only nature (retrieves, not downloads). It could mention potential limitations like rate limits or authentication needs, but covers core behavior well.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured with three sentences: the first states purpose and output, the second details returned information, and the third provides usage guidance. Every sentence adds value without redundancy, making it easy to parse and front-loaded with key information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter read operation with no output schema, the description provides comprehensive context: what it does, what it returns, when to use it, and alternatives. It could benefit from mentioning the response structure more explicitly since there's no output schema, but it covers the essential information well given the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with the single parameter 'nummer' well-documented in the schema as 'Document number (e.g., '2024D39058') - the unique identifier'. The description doesn't add parameter-specific information beyond what's in the schema, so it meets the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('retrieves metadata'), resource ('parliamentary document'), and output format ('structured JSON format'). It explicitly distinguishes this tool from its sibling 'download_document' by specifying it does not download actual content, making the purpose unambiguous and well-differentiated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool ('ideal for getting quick information about a document and obtaining the relevant links') and when not to use it ('To actually download the document content, use the 'download_document' tool instead'). This clear alternative recommendation helps the agent choose correctly between similar tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_document_linksA
Converts document URLs into clickable links. This tool takes either a direct PDF link or a Tweede Kamer webpage link and returns them as properly formatted clickable links. Use this after get_document_details to make the URLs clickable.
| Name | Required | Description | Default |
|---|---|---|---|
| pdfUrl | No | Direct link to the PDF document | |
| tkUrl | No | Link to the document page on Tweede Kamer website |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool converts URLs and returns formatted links, but lacks details on error handling, rate limits, authentication needs, or what 'properly formatted' entails. For a tool with no annotations, this is insufficient behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded, with three sentences that each add value: the core function, input specifics, and usage context. There is no wasted text, and it efficiently communicates essential information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, no output schema, and 2 parameters with full schema coverage, the description is adequate but has gaps. It explains the tool's purpose and usage context well, but lacks details on behavioral traits (e.g., error handling) and return values. For a simple conversion tool, it's minimally viable but could be more complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents both parameters (pdfUrl, tkUrl) with clear descriptions. The description adds marginal value by mentioning the types of links accepted ('direct PDF link or a Tweede Kamer webpage link'), but doesn't provide additional syntax or format details beyond the schema. Baseline 3 is appropriate when schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('converts', 'returns') and resources ('document URLs', 'clickable links'). It distinguishes from siblings by mentioning a specific workflow ('use this after get_document_details'), making its role in the toolset explicit.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context on when to use the tool ('after get_document_details') and what inputs it accepts ('direct PDF link or a Tweede Kamer webpage link'). However, it doesn't explicitly state when not to use it or name alternatives among siblings, though the workflow hint implies differentiation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_overviewA
Provides a comprehensive overview of recent parliamentary activities, including the most recent documents and MPs celebrating birthdays today. This is the ideal starting point for any parliamentary data exploration. The response contains structured data with two main sections: 'recentDocuments' (listing the latest parliamentary documents with their IDs, titles, types, dates, and URLs) and 'birthdays' (listing MPs celebrating birthdays today). The results are paginated with 10 documents per page, and you can navigate through pages using the 'page' parameter. The tool can be used iteratively to retrieve subsequent pages of results - first call with page=1, then check the pagination.hasMoreDocuments field in the response, and if true, call again with page=2, and so on. This allows you to 'scroll' through all available documents when needed. The response includes pagination information showing the current page, whether more documents are available, and the total number of documents retrieved. Use this tool first when a user asks for general information about recent parliamentary activities or needs a starting point for research. After getting this overview, you can use other tools like 'get_document_details' to retrieve more information about specific documents, 'search_tk' to find documents on specific topics, or 'get_photo' to retrieve photos of MPs mentioned in the birthdays section.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for paginated results (default: 1). Each page contains 10 documents. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the tool's behavior: pagination mechanics (10 documents per page, hasMoreDocuments field), response structure (two main sections), and the iterative usage pattern. It doesn't mention rate limits or authentication requirements, but covers the core operational behavior well.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is comprehensive but somewhat verbose. While all information is relevant, it could be more front-loaded with the core purpose. The explanation of pagination mechanics and sibling tool relationships, while valuable, extends the description length. Every sentence earns its place, but the structure could be tighter.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (pagination, multiple data sections, iterative usage) and lack of annotations/output schema, the description does an excellent job of providing context. It explains the response structure, pagination behavior, and workflow. The main gap is the absence of output schema details, but the description compensates well by describing the response format and fields.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, so the baseline is 3. The description adds significant value by explaining the pagination context ('first call with page=1, then check...'), the relationship between the page parameter and document retrieval, and the iterative scrolling workflow. This provides practical usage semantics beyond the schema's basic parameter documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool provides a comprehensive overview of recent parliamentary activities with two specific sections (recent documents and MP birthdays). It distinguishes itself from siblings by being the 'ideal starting point' and explicitly mentions alternative tools like get_document_details and search_tk for follow-up actions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool ('first when a user asks for general information about recent parliamentary activities or needs a starting point for research') and when to use alternatives ('After getting this overview, you can use other tools like...'). It also explains the iterative pagination workflow for scrolling through documents.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_photoA
Retrieves the official portrait photograph of a Member of Parliament. Returns the image as a binary resource that can be displayed or saved. Use this when you need to include a visual representation of an MP in reports, presentations, or profiles.
| Name | Required | Description | Default |
|---|---|---|---|
| personId | Yes | MP's numeric ID - the unique identifier for the Member of Parliament whose photo you want to retrieve |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses that the tool returns a binary resource for display or saving, which is useful behavioral context. However, it lacks details on potential errors (e.g., if no photo exists), rate limits, or authentication needs, leaving gaps for a read operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose in the first sentence, followed by usage guidance. Every sentence earns its place by adding value—no redundant or vague language. It's efficiently structured and appropriately sized for the tool's complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (1 parameter, no output schema, no annotations), the description is mostly complete. It covers purpose, usage, and output format. However, without annotations or output schema, it could benefit from more behavioral details (e.g., error handling), but it's adequate for a simple retrieval tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with the parameter 'personId' fully documented in the schema as 'MP's numeric ID - the unique identifier for the Member of Parliament whose photo you want to retrieve.' The description adds no additional parameter information beyond this, so it meets the baseline for high schema coverage without compensating further.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Retrieves'), resource ('official portrait photograph of a Member of Parliament'), and output format ('binary resource'). It distinguishes this tool from siblings like 'list_persons' (which lists MPs) or 'get_document_content' (which retrieves documents), making the purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly states when to use this tool: 'when you need to include a visual representation of an MP in reports, presentations, or profiles.' This provides clear context for usage, helping the agent choose this over alternatives like textual data tools. No exclusions are mentioned, but the guidance is sufficient for decision-making.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_upcoming_activitiesA
Retrieves a list of upcoming parliamentary activities including debates, committee meetings, and other events. The response contains a structured JSON object with both a chronological list of activities and activities grouped by date. Each activity includes details like date, time, location, committee, type, and a URL for more information. Use this tool when a user asks about the parliamentary agenda, wants to know what events are coming up, or needs information about specific types of parliamentary activities. The results are sorted by date with the most imminent activities first. You can limit the number of results using the optional 'limit' parameter. This tool is particularly useful for helping users plan which parliamentary sessions to follow or for providing an overview of the upcoming parliamentary schedule.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of activities to return (default: 20, max: 100) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses key behavioral traits: the response format (structured JSON with chronological and grouped lists), sorting (by date, most imminent first), and an optional parameter for limiting results. However, it lacks details on error handling, rate limits, or authentication needs, which are important for a tool with no annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded, starting with the core purpose and response details. Every sentence adds value, such as usage guidelines and sorting behavior, but it could be slightly more concise by integrating some details more tightly without losing clarity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations and no output schema, the description does a decent job covering purpose, usage, and basic behavior. However, it lacks information on error cases, pagination, or the exact structure of the JSON response, which would be helpful for an agent to handle the tool effectively in more complex scenarios.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the 'limit' parameter documented as 'Maximum number of activities to return (default: 20, max: 100)'. The description adds value by explaining the purpose of limiting results ('You can limit the number of results using the optional 'limit' parameter') and implying its optionality, but doesn't provide additional semantics beyond what the schema already covers.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Retrieves') and resource ('list of upcoming parliamentary activities'), specifying the types (debates, committee meetings, other events) and distinguishing it from siblings like get_committee_details or get_voting_results by focusing on upcoming activities rather than details of specific entities.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly states when to use this tool: 'when a user asks about the parliamentary agenda, wants to know what events are coming up, or needs information about specific types of parliamentary activities.' It also provides context on usefulness for planning or overview, though it doesn't explicitly name alternatives, the guidance is clear and actionable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_voting_resultsA
Retrieves recent voting results on parliamentary motions and bills. The response contains a structured JSON object with voting results sorted by date (newest first). Each result includes detailed information such as the title of the motion/bill, the date of the vote, the submitter, whether it was accepted or rejected, the vote counts (for/against), and which political parties voted for or against. Use this tool when a user asks about recent parliamentary votes, wants to know how parties voted on specific issues, or needs to analyze voting patterns. You can control the number of results with the 'limit' parameter and choose between 'full' or 'summary' format. The 'summary' format provides a more structured representation with renamed fields, while both formats include complete party voting information. This tool is particularly valuable for tracking political alignments, understanding coalition dynamics, and analyzing how different parties position themselves on important issues.
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Format of the results: 'full' for complete data or 'summary' for a more structured version with renamed fields (default: 'full'). Both formats include party information. | |
| limit | No | Maximum number of voting results to return (default: 20, max: 100) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses that the response is a structured JSON object sorted by date and includes detailed information like vote counts and party alignments, but it lacks details on permissions, rate limits, or error handling. For a read operation with no annotations, this is adequate but not comprehensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with purpose and usage, but it includes verbose sentences like 'This tool is particularly valuable for tracking political alignments...' that add minimal operational value. It could be more concise by focusing on essential details without the explanatory fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, 100% schema coverage, and no output schema, the description adequately covers purpose, usage, and basic behavioral traits. However, it lacks details on response structure (e.g., JSON fields) and error cases, which would improve completeness for a tool with no output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents both parameters (format and limit) thoroughly. The description adds minor context by explaining that 'summary' format provides a more structured representation with renamed fields, but this largely repeats schema information. Baseline 3 is appropriate when schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'retrieves' and the resource 'recent voting results on parliamentary motions and bills,' distinguishing it from siblings like get_committee_details or list_persons by focusing on voting outcomes rather than committees, documents, or persons.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly states when to use this tool: 'when a user asks about recent parliamentary votes, wants to know how parties voted on specific issues, or needs to analyze voting patterns.' This provides clear context and distinguishes it from alternatives like search_tk or get_overview.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_personsA
Provides a complete directory of current Members of Parliament with their IDs, names, titles, party affiliations, and faction memberships. The response is a JSON array where each entry contains an MP's full details. Use this tool when a user needs comprehensive information about all MPs, wants to analyze the composition of parliament by party, or needs to find specific MPs by name or party. This tool is particularly useful for creating reports about parliamentary representation or for finding the IDs of MPs that can be used with other tools like 'get_photo'. This tool takes no parameters as it returns all current MPs. For a more targeted approach when looking for specific MPs, consider using the 'search_tk' tool with the MP's name.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses key behavioral traits: the tool returns a complete directory (implying no pagination or limits), specifies the output format ('JSON array'), and mentions use cases like creating reports or finding IDs for other tools. However, it doesn't address potential rate limits, authentication needs, or data freshness, leaving some gaps for a tool with no annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and front-loaded: the first sentence states the core purpose, followed by usage guidelines and alternatives. Every sentence adds value—explaining output format, use cases, parameter absence, and sibling tool differentiation—with no redundant information. It efficiently covers all necessary aspects in a compact form.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (0 parameters, no output schema, no annotations), the description is mostly complete: it covers purpose, usage, output format, and parameter semantics. However, without annotations or an output schema, it could benefit from more detail on behavioral aspects like error handling or data updates. It adequately compensates for the lack of structured data but has minor gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters, and schema description coverage is 100% (empty schema). The description adds value by explicitly stating 'This tool takes no parameters as it returns all current MPs,' which clarifies the absence of inputs beyond what the schema indicates. Since there are no parameters, a baseline of 4 is appropriate, and the description reinforces this clearly.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Provides a complete directory of current Members of Parliament with their IDs, names, titles, party affiliations, and faction memberships.' It specifies the verb ('Provides'), resource ('directory of current Members of Parliament'), and output format ('JSON array'), and distinguishes it from sibling tools like 'search_tk' by emphasizing it returns all MPs without filtering.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use this tool: 'when a user needs comprehensive information about all MPs, wants to analyze the composition of parliament by party, or needs to find specific MPs by name or party.' It also provides clear alternatives: 'For a more targeted approach when looking for specific MPs, consider using the 'search_tk' tool with the MP's name.' This includes both usage scenarios and exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_by_categoryA
Performs a search specifically for documents of a certain category, such as questions, motions, or letters. The response contains a structured JSON object with paginated results and metadata. Use this tool when a user wants to find documents of a specific type that match certain keywords or when they need more targeted search results than the general search provides. The 'category' parameter lets you filter by document type: 'vragen' for parliamentary questions, 'moties' for motions, or 'alles' for all document types. The search syntax supports advanced queries: 'Joe Biden' finds documents with both terms anywhere, '"Joe Biden"' (with quotes) finds exact phrases, 'Hubert NOT Bruls' finds documents with 'Hubert' but not 'Bruls' (capital NOT is required), and you can use 'OR' for alternatives. Results are sorted by date with the most recent documents first. This tool is particularly useful for finding specific types of parliamentary documents on a given topic.
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | Document category: 'vragen' for questions, 'moties' for motions, 'alles' for all document types | |
| limit | No | Maximum number of results to return per page (default: 20, max: 100) | |
| page | No | Page number for paginated results (default: 1) | |
| query | Yes | Search term - any keyword, name, policy area, or quote you want to find in parliamentary records |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: the response format ('structured JSON object with paginated results and metadata'), sorting behavior ('sorted by date with the most recent documents first'), and search syntax details. It doesn't mention rate limits or authentication requirements, but covers most operational aspects well.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded with the core purpose in the first sentence. Each subsequent sentence adds valuable information about usage, parameters, search syntax, and sorting. While comprehensive, it maintains good flow without unnecessary repetition, though it could be slightly more concise in the syntax explanation section.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (search with advanced syntax, pagination, filtering) and no output schema, the description provides substantial context: response format, sorting behavior, parameter usage, and search syntax. With no annotations, it adequately covers operational aspects, though it doesn't specify error conditions or exact response structure details that an output schema would provide.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds some value by explaining the 'category' parameter options with examples and detailing the 'query' parameter's advanced syntax, but doesn't add significant meaning beyond what the schema provides. The baseline of 3 is appropriate given the comprehensive schema documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Performs a search specifically for documents of a certain category' with specific examples (questions, motions, letters). It distinguishes from siblings by mentioning 'more targeted search results than the general search provides' and lists sibling tools like 'search_tk' and 'search_tk_filtered' that likely provide broader searches.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool: 'when a user wants to find documents of a specific type that match certain keywords' and 'when they need more targeted search results than the general search provides.' It distinguishes from alternatives by contrasting with 'general search' and the sibling tools suggest broader search capabilities.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_tkA
Performs a comprehensive search across all parliamentary data including documents, activities, and cases. Returns results matching the provided keyword or phrase. Use this for general searches when you need information on any topic discussed in parliament, regardless of document type or context. Search syntax: Searching for 'Joe Biden' finds documents containing both 'Joe' and 'Biden' anywhere in the text. Searching for "Joe Biden" (with quotes) finds only documents where these words appear next to each other. Searching for 'Hubert NOT Bruls' finds documents containing 'Hubert' but not 'Bruls'. The capital letters in 'NOT' are important. You can also use 'OR' and 'NEAR()' operators.
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Format of the results: 'full' for complete data or 'summary' for a condensed version (default: 'summary') | |
| limit | No | Maximum number of results to return per page (default: 20, max: 100) | |
| page | No | Page number for paginated results (default: 1) | |
| query | Yes | Search keyword or phrase - can be any term, name, policy area, or exact quote you want to find in parliamentary records. Use quotes for exact phrases, 'NOT' to exclude terms, 'OR' for alternatives, and 'NEAR()' for proximity searches. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It does well by explaining search syntax behavior (AND semantics by default, exact phrases with quotes, NOT/OR/NEAR operators), but doesn't mention pagination behavior, rate limits, authentication requirements, or what happens with empty results. It provides good operational context but misses some important behavioral aspects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded with the core purpose. The first sentence establishes what the tool does, followed by usage guidance, then detailed syntax examples. While comprehensive, some syntax details could be more concise, but overall structure is logical and efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a search tool with 4 parameters, 100% schema coverage, but no annotations or output schema, the description provides good context. It explains the tool's scope, when to use it, and detailed search syntax. However, without an output schema, it doesn't describe what results look like or their structure, leaving some gaps in completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds some value by explaining query syntax examples and operators, but doesn't provide additional meaning for format, limit, or page parameters beyond what the schema already states. Baseline 3 is appropriate when the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool performs a 'comprehensive search across all parliamentary data including documents, activities, and cases' with specific resources listed. It distinguishes from sibling tools by mentioning 'general searches' and 'regardless of document type or context', differentiating it from more specific tools like search_by_category or search_tk_filtered.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly provides usage guidance: 'Use this for general searches when you need information on any topic discussed in parliament, regardless of document type or context.' This clearly indicates when to use this tool versus more specialized alternatives, providing excellent context for tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_tk_filteredA
Performs a targeted search within a specific category of parliamentary data. Unlike the general search, this tool allows you to limit results to only documents, activities, or cases. Use this when you need more focused search results within a particular content type. Search syntax: Searching for 'Joe Biden' finds documents containing both 'Joe' and 'Biden' anywhere in the text. Searching for "Joe Biden" (with quotes) finds only documents where these words appear next to each other. Searching for 'Hubert NOT Bruls' finds documents containing 'Hubert' but not 'Bruls'. The capital letters in 'NOT' are important. You can also use 'OR' and 'NEAR()' operators.
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Format of the results: 'full' for complete data or 'summary' for a condensed version (default: 'summary') | |
| limit | No | Maximum number of results to return per page (default: 20, max: 100) | |
| page | No | Page number for paginated results (default: 1) | |
| query | Yes | Search term - any keyword, name, policy area, or quote you want to find in parliamentary records. Use quotes for exact phrases, 'NOT' to exclude terms, 'OR' for alternatives, and 'NEAR()' for proximity searches. | |
| type | Yes | Category filter: 'Document' for official papers, reports and letters; 'Activiteit' for debates and committee meetings; 'Zaak' for legislative cases and motions |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes search syntax rules (quotes, NOT, OR, NEAR operators), which are critical behavioral traits not covered by the schema. However, it doesn't mention pagination behavior, rate limits, or authentication requirements, leaving some gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and appropriately sized. It front-loads the purpose and usage guidelines, then provides detailed search syntax. While comprehensive, some syntax examples could be more concise, but overall it earns its place with valuable information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a search tool with no annotations and no output schema, the description provides good context about behavior and usage. It covers search syntax thoroughly and distinguishes from siblings. The main gap is lack of information about return format or result structure, which would be helpful given no output schema exists.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds minimal value beyond the schema - it mentions 'category filter' for the 'type' parameter but doesn't provide additional semantic context. The baseline of 3 is appropriate when the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool 'performs a targeted search within a specific category of parliamentary data' and distinguishes it from the general search by allowing limitation to documents, activities, or cases. It explicitly mentions the sibling tool 'search_tk' (general search) in the first sentence, providing clear differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance: 'Use this when you need more focused search results within a particular content type.' It contrasts with the general search tool and specifies the appropriate context for usage, making it clear when to choose this over alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
14 tool updates
v1.0.0- First observed
birthdays_today - First observed
get_committee_details - First observed
get_committees - First observed
get_document_content - First observed
get_document_details - First observed
get_document_links - First observed
get_overview - First observed
get_photo - First observed
get_upcoming_activities - First observed
get_voting_results - First observed
list_persons - First observed
search_by_category - First observed
search_tk - First observed
search_tk_filtered
TDQS
Scored across 14 tools
Most tools have distinct purposes, but there is notable overlap between search_tk, search_tk_filtered, and search_by_category, which could confuse agents about which to use for document searches. Additionally, get_document_details and get_document_content serve different functions but might be misselected due to similar naming and domain overlap. The descriptions help clarify, but the boundaries are not perfectly clear.
The naming follows a consistent verb_noun pattern (e.g., get_overview, list_persons, search_tk) with minor deviations like birthdays_today (noun_verb) and get_document_links (which could be named more consistently as get_document_links or similar). Overall, the pattern is readable and mostly predictable, with only a few inconsistencies.
With 14 tools, the count is well-scoped for a parliamentary data server, covering MPs, committees, documents, activities, and searches. Each tool appears to serve a specific purpose without redundancy, fitting within the typical 3-15 range for such a domain.
The tool set provides comprehensive coverage for parliamentary data, including CRUD-like operations for documents (get, search), MPs (list, get photo), committees (list, get details), and activities (get overview, get upcoming). Minor gaps include no explicit update or delete tools, but this is reasonable for a read-only data source, and agents can work around this with the available search and retrieval tools.
Maintenance
Related MCP Connectors
Dutch Parliament (Tweede Kamer) open data MCP.
Source-anchored search and civic intelligence for Dutch municipal council records.
Verified Polish open data for AI agents: debt, budget, 460 MPs, votings, judiciary search, RAG.
Search US grants + federal contracts (Grants.gov + SAM.gov) from any LLM.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides programmatic access to official German Bundestag parliamentary data, enabling LLMs to answer questions about legislation, voting records, and members.1MIT
- FlicenseNot gradedqualityCmaintenanceEnables LLMs to query and retrieve real-time open data, documents, protocols, and records from the Swedish Parliament (Riksdag) and Government Offices through 32 specialized MCP tools.30-
- AlicenseAqualityFmaintenanceEnables querying over 3,200 Dutch statutes (AVG, Wetboek van Strafrecht, Burgerlijk Wetboek, etc.) with verbatim, citation-grounded text from official sources, directly from MCP-compatible AI assistants.188812Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query Swedish Parliament open data through natural language.5MIT