Skip to content
Eden Engine

Get UK Parliament Bill

ukparliamentbills/get-bill

Returns one UK Parliament bill by id: titles, long title, summary when given, houses, session ids, Act, defeated and withdrawn flags, current stage and sponsors with their party and constituency. Contains Parliamentary information licensed under the Open Parliament Licence v3.0 (https://www.parliament.uk/site-information/copyright-parliament/open-parliament-licence/). Source: UK Parliament Bills API, https://bills-api.parliament.uk. Modified by Eden Engine (fields renamed and reduced; photos and contact pages are not included). Served by Eden Engine; not an official UK Parliament product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

UK Parliament Bills API

Contains Parliamentary information licensed under the Open Parliament Licence v3.0 (https://www.parliament.uk/site-information/copyright-parliament/open-parliament-licence/). Source: UK Parliament Bills API, https://bills-api.parliament.uk. Modified by Eden Engine (fields renamed and reduced; photos and contact pages are not included). Served by Eden Engine; not an official UK Parliament product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "ukparliamentbills/get-bill" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "ukparliamentbills/get-bill" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "ukparliamentbills/get-bill", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "ukparliamentbills/get-bill", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 26, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "maximum": 99999999,
      "minimum": 1,
      "description": "Bill id from search-bills, for example 3511."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "bill_id",
    "sponsors"
  ],
  "properties": {
    "is_act": {
      "type": "boolean",
      "description": "True when the bill became an Act."
    },
    "bill_id": {
      "type": "integer",
      "description": "Bill id, the number get-bill and bill-stages take."
    },
    "summary": {
      "type": [
        "string",
        "null"
      ],
      "description": "Summary, when the source gives one (null on most bills); may contain markup."
    },
    "sponsors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sponsor name."
          },
          "house": {
            "type": [
              "string",
              "null"
            ],
            "description": "Commons or Lords."
          },
          "party": {
            "type": [
              "string",
              "null"
            ],
            "description": "Party."
          },
          "member_id": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Member id, usable with the UK Parliament Members tools."
          },
          "member_from": {
            "type": [
              "string",
              "null"
            ],
            "description": "Constituency or peerage type."
          },
          "organisation": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sponsoring department."
          },
          "organisation_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "Department page."
          }
        },
        "description": "A sponsor.",
        "additionalProperties": true
      },
      "description": "Sponsors."
    },
    "long_title": {
      "type": [
        "string",
        "null"
      ],
      "description": "Full long title."
    },
    "is_defeated": {
      "type": "boolean",
      "description": "True when the bill was defeated."
    },
    "last_update": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date of the last change, YYYY-MM-DD."
    },
    "session_ids": {
      "type": "array",
      "items": {
        "type": "integer",
        "description": "A session id."
      },
      "description": "Sessions the bill sat in."
    },
    "short_title": {
      "type": [
        "string",
        "null"
      ],
      "description": "Short title."
    },
    "bill_type_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Bill type id as used by the source."
    },
    "current_house": {
      "type": [
        "string",
        "null"
      ],
      "description": "Commons or Lords."
    },
    "current_stage": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "house": {
          "type": [
            "string",
            "null"
          ],
          "description": "Commons, Lords or Unassigned."
        },
        "stage_id": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Stage type id."
        },
        "session_id": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Parliamentary session id."
        },
        "sort_order": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Position of the stage in the bill's progress."
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Stage name, for example 2nd reading."
        },
        "abbreviation": {
          "type": [
            "string",
            "null"
          ],
          "description": "Short form, for example 2R."
        },
        "sitting_dates": {
          "type": "array",
          "items": {
            "type": "string",
            "description": "A sitting date, YYYY-MM-DD."
          },
          "description": "Dates the stage was sat; empty when none yet."
        }
      },
      "description": "The current stage.",
      "additionalProperties": true
    },
    "withdrawn_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date withdrawn, YYYY-MM-DD; null if not withdrawn."
    },
    "originating_house": {
      "type": [
        "string",
        "null"
      ],
      "description": "Commons or Lords."
    },
    "former_short_title": {
      "type": [
        "string",
        "null"
      ],
      "description": "Earlier short title, if renamed."
    },
    "introduced_session_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Session in which it was introduced."
    }
  },
  "additionalProperties": true
}