get_entity_by_id
Pack: tweedekamer-nl · Endpoint: https://gateway.pipeworx.io/tweedekamer-nl/mcp
Fetch one Tweede Kamer record by its GUID id. Pass the entity name and the record Id (a GUID, e.g. “8b3664bd-77e4-468b-af96-f3f4ec27fcce”). Optionally narrow fields with $select or inline related records with $expand.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
entity | string | yes | |
id | string | yes | Record GUID, e.g. “8b3664bd-77e4-468b-af96-f3f4ec27fcce”. |
select | string | no | OData $select, comma-separated field names. |
expand | string | no | OData $expand, navigation properties to inline. |
Example call
Arguments
{
"entity": "Persoon",
"id": "8b3664bd-77e4-468b-af96-f3f4ec27fcce",
"select": "Id,Achternaam,Roepnaam,Functie"
}
curl
curl -X POST https://gateway.pipeworx.io/tweedekamer-nl/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_entity_by_id","arguments":{"entity":"Persoon","id":"8b3664bd-77e4-468b-af96-f3f4ec27fcce","select":"Id,Achternaam,Roepnaam,Functie"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_entity_by_id', {
"entity": "Persoon",
"id": "8b3664bd-77e4-468b-af96-f3f4ec27fcce",
"select": "Id,Achternaam,Roepnaam,Functie"
});
More examples
{
"entity": "Fractie",
"id": "a1b2c3d4-e5f6-47g8-h9i0-j1k2l3m4n5o6",
"expand": "FractieZetel"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"tweedekamer-nl": {
"url": "https://gateway.pipeworx.io/tweedekamer-nl/mcp"
}
}
}
See Getting Started for client-specific install steps.