Check a DMR against its permit
check_dmrWill EPA flag this period's Discharge Monitoring Report (DMR)? A US NPDES permit's Discharge Monitoring Report for one period, checked before it is filed: each value you send (outfall, parameter, statistic, value, unit) is set beside the permit's own limit for that period, from EPA's national limits file (ICIS-NPDES), with EPA's violation rule's verdict: flagged (EPA records a violation), ok, undecidable (a less-than result against a lower limit: EPA does not flag it, nor does it show compliance), no_data (a NODI code), not_graded (an alert or stayed limit), unreadable. A row we cannot place on one value due is refused by its code (outfall.not_in_permit, parameter.not_limited, statistic.not_limited, unit.not_on_form, period.not_due, row.ambiguous with the candidates), never put on the nearest limit. Every value due this period is in limits once with its limit_value_id (the cite into EPA's file); not_sent lists those you did not send, which EPA records as missing (D90) when filed blank. headline and tally are the forms as filed with exactly the values placed. netdmr: true adds the NetDMR "Import DMRs" file as text (not yet validated by NetDMR's own import check). The values reach our server to be checked and are not kept: only how many were sent, flagged and refused is counted.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"permit": "<permit>",
"period_end": "<period_end>",
"values": "<values>"
},
"name": "check_dmr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| netdmr | No | Also return the NetDMR "Import DMRs" file (CSV text) for the values placed. | |
| permit | Yes | The NPDES permit number, e.g. PA0228061. | |
| values | Yes | The period's values, one a row, as the DMR prints them. | |
| period_end | Yes | The reporting period: its month (2026-09) or its last day (2026-09-30). A quarterly form is due on the period ending its quarter. |