uk_ea_enforcement_list

Pack: uk-ea-enforcement · 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/uk_ea_enforcement_list for the schema, then POST the same URL with its arguments for the data.

List UK Environment Agency enforcement actions against companies and other organisations in England: prosecutions and court cases, cautions, enforcement undertakings, monetary penalties, notices and warnings for waste, water-quality, pollution, permit and flood-defence offences. Give a company name or words from it (for example “Severn Trent”) to get that organisation’s actions, newest first; with no name the publisher’s own order is returned. Each row gives the action id, action date, organisation name and postcode, action type, agency function (waste, water quality and so on) and the legislation; read one in full with uk_ea_enforcement_read for the offences, fines and costs. Sole traders and individuals are dropped and counted in individuals_dropped. Paged by start and count (max 50). Example: name=“Severn Trent”.

Parameters

NameTypeRequiredDescription
namestringnoOptional organisation name or words from it, at least 3 characters, e.g. “Severn Trent” or “Thames Water”.
startnumbernoOffset into the publisher’s list, default 0.
countnumbernoRows to read, 1-50, default 20.

Example call

Arguments

{
  "name": "Severn Trent"
}

curl

curl -X POST https://gateway.pipeworx.io/uk-ea-enforcement/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"uk_ea_enforcement_list","arguments":{"name":"Severn Trent"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('uk_ea_enforcement_list', {
  "name": "Severn Trent"
});

Response shape

FieldTypeDescription
resultstring
queryobject
rows_readnumber
returnednumber
individuals_droppednumber
next_startnumber
rowsarray
data_as_ofstring
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "result": {
      "type": "string"
    },
    "query": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "start": {
          "type": "number"
        },
        "count": {
          "type": "number"
        }
      },
      "additionalProperties": true
    },
    "rows_read": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "individuals_dropped": {
      "type": "number"
    },
    "next_start": {
      "type": "number"
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "action_date": {
            "type": "string"
          },
          "offender": {
            "type": "string"
          },
          "offender_postcode": {
            "type": "string"
          },
          "action_type": {
            "type": "string"
          },
          "agency_function": {
            "type": "string"
          },
          "legislation": {
            "type": "string"
          },
          "link": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "data_as_of": {
      "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 uk-ea-enforcement pack
{
  "mcpServers": {
    "uk-ea-enforcement": {
      "url": "https://gateway.pipeworx.io/uk-ea-enforcement/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 16, 2026