get_entity_by_id

Pack: tweedekamer-nl · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_entity_by_id for the schema, then POST the same URL with its arguments for the data.

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

NameTypeRequiredDescription
entitystringyes
idstringyesRecord GUID, e.g. “8b3664bd-77e4-468b-af96-f3f4ec27fcce”.
selectstringnoOData $select, comma-separated field names.
expandstringnoOData $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 — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the tweedekamer-nl pack
{
  "mcpServers": {
    "tweedekamer-nl": {
      "url": "https://gateway.pipeworx.io/tweedekamer-nl/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 11, 2026