Skip to main content
Glama

Uk Ea Enforcement Read

uk_ea_enforcement_read
Read-onlyIdempotent

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".

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "10000728"
    },
    "name": "uk_ea_enforcement_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAction id from uk_ea_enforcement_list, digits only.

Output Schema

NameRequiredDescriptionDefault
idNo
linkNo
resultNo
sourceNo
offencesNo
offenderNo
data_as_ofNo
action_dateNo
organisationNo
case_referenceNo
company_numberNo
offences_countNo
total_fines_gbpNo
offender_localityNo
offender_postcodeNo
incident_site_localityNo
incident_site_postcodeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds genuine behavior beyond that: it discloses that a total of fines is computed and returned, and that certain subject types (individuals, sole traders) cause refusal — a meaningful failure mode an agent should anticipate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and id source are front-loaded, and the example is placed at the end where it is useful. The middle field enumeration is long and partly duplicates the output schema, which costs a little tightness but the sentence remains readable and single-purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with an output schema, the definition covers what an agent needs: id provenance, refusal behavior, and the fact that fine totals are aggregated. The only real omission is what happens on an unknown or malformed id (error vs. empty result).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter's schema text already says "Action id from uk_ea_enforcement_list, digits only" with an example. The description restates the same origin and reproduces the example id without adding format, validation, or lookup semantics beyond the schema, so this is the baseline case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ("Read one UK Environment Agency enforcement action... by its action id") and immediately anchors it to the sibling list tool as the id source. The subsequent enumeration of returned content (organisation, company number, date, site area, offences, penalties) makes the scope unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the prerequisite clearly: the id comes "from uk_ea_enforcement_list", which tells an agent it must list first rather than guess an id. It also gives an explicit exclusion ("Actions against individuals and sole traders are refused") and a worked example, though it does not name an alternative path for the refused cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.