get_consultation

Pack: denmark-consultations · 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_consultation for the schema, then POST the same URL with its arguments for the data.

One Danish public consultation by its portal number (from list_consultations): title, description, authority, type, area, status (open, expired, archived), publication date, deadline and its remarks, archive and effective dates, the contact unit (not the official’s name or e-mail), and every document with its group (consultation documents, summary note, responses), size and link. Returns found false when the number does not exist.

Parameters

NameTypeRequiredDescription
idnumberyesConsultation number, e.g. 71540

Example call

Arguments

{
  "id": 71540
}

curl

curl -X POST https://gateway.pipeworx.io/denmark-consultations/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_consultation","arguments":{"id":71540}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_consultation', {
  "id": 71540
});

Response shape

FieldTypeDescription
foundboolean
idnumber
titlestring
official_titlestring
descriptionstring
authoritystring
typestring
areastring
statusstring
publishedstring
deadlinestring
deadline_remarksstring
archive_datestring
effective_datestring
hearing_yearstring
contact_unitstring
documentsarray
document_countnumber
urlstring
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "id": {
      "type": "number"
    },
    "title": {
      "type": "string"
    },
    "official_title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "authority": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "area": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "published": {
      "type": "string"
    },
    "deadline": {
      "type": "string"
    },
    "deadline_remarks": {
      "type": "string"
    },
    "archive_date": {
      "type": "string"
    },
    "effective_date": {
      "type": "string"
    },
    "hearing_year": {
      "type": "string"
    },
    "contact_unit": {
      "type": "string"
    },
    "documents": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "group": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "size": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "document_count": {
      "type": "number"
    },
    "url": {
      "type": "string"
    },
    "source": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

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 denmark-consultations pack
{
  "mcpServers": {
    "denmark-consultations": {
      "url": "https://gateway.pipeworx.io/denmark-consultations/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 23, 2026