uk_ea_enforcement_read
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_read for the schema, then POST the same URL with its arguments for the data.
Read one UK Environment Agency enforcement action against an organisation by its action id from uk_ea_enforcement_list: the organisation and company number, the date, the incident site area, and each offence with its legislation, agency function, action type, environmental impact on air, land and water, and the penalty (fine and costs in pounds). Returns the total of fines across the offences. Actions against individuals and sole traders are refused. Example: id=“10000728”.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Action id from uk_ea_enforcement_list, digits only. |
Example call
Arguments
{
"id": "10000728"
}
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_read","arguments":{"id":"10000728"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('uk_ea_enforcement_read', {
"id": "10000728"
});
Response shape
| Field | Type | Description |
|---|---|---|
result | string | |
organisation | boolean | |
id | string | |
action_date | string | |
offender | string | |
company_number | string | |
offender_locality | string | |
offender_postcode | string | |
case_reference | string | |
incident_site_locality | string | |
incident_site_postcode | string | |
offences | array | |
offences_count | number | |
total_fines_gbp | number | |
link | string | |
data_as_of | string | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"result": {
"type": "string"
},
"organisation": {
"type": "boolean"
},
"id": {
"type": "string"
},
"action_date": {
"type": "string"
},
"offender": {
"type": "string"
},
"company_number": {
"type": "string"
},
"offender_locality": {
"type": "string"
},
"offender_postcode": {
"type": "string"
},
"case_reference": {
"type": "string"
},
"incident_site_locality": {
"type": "string"
},
"incident_site_postcode": {
"type": "string"
},
"offences": {
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"legislation": {
"type": "string"
},
"legislation_section": {
"type": "string"
},
"agency_function": {
"type": "string"
},
"action_type": {
"type": "string"
},
"action_date": {
"type": "string"
},
"impact": {
"type": "object",
"properties": {
"air": {
"type": "string"
},
"land": {
"type": "string"
},
"water": {
"type": "string"
}
},
"additionalProperties": true
},
"penalties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"fine": {
"type": "number"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"offences_count": {
"type": "number"
},
"total_fines_gbp": {
"type": "number"
},
"link": {
"type": "string"
},
"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.