@cyanheads/epa-mcp-server 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +9 -15
- package/Dockerfile +6 -0
- package/README.md +3 -3
- package/changelog/0.1.x/0.1.4.md +23 -0
- package/changelog/0.1.x/0.1.5.md +24 -0
- package/changelog/template.md +9 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-air-quality.tool.d.ts +3 -3
- package/dist/mcp-server/tools/definitions/get-air-quality.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-air-quality.tool.js +2 -2
- package/dist/mcp-server/tools/definitions/get-air-quality.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-facility.tool.d.ts +1 -1
- package/dist/mcp-server/tools/definitions/get-facility.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-tri-releases.tool.d.ts +1 -1
- package/dist/mcp-server/tools/definitions/get-tri-releases.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/index.d.ts +19 -15
- package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-facilities.tool.d.ts +2 -2
- package/dist/mcp-server/tools/definitions/search-facilities.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-facilities.tool.js +1 -1
- package/dist/mcp-server/tools/definitions/search-facilities.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/search-superfund.tool.d.ts +3 -3
- package/dist/mcp-server/tools/definitions/search-superfund.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-superfund.tool.js +2 -2
- package/dist/mcp-server/tools/definitions/search-superfund.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/search-tri-releases.tool.d.ts +5 -1
- package/dist/mcp-server/tools/definitions/search-tri-releases.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-tri-releases.tool.js +10 -0
- package/dist/mcp-server/tools/definitions/search-tri-releases.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/search-violations.tool.d.ts +2 -2
- package/dist/mcp-server/tools/definitions/search-violations.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-violations.tool.js +21 -9
- package/dist/mcp-server/tools/definitions/search-violations.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/search-water-systems.tool.d.ts +2 -2
- package/dist/mcp-server/tools/definitions/search-water-systems.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-water-systems.tool.js +1 -1
- package/dist/mcp-server/tools/definitions/search-water-systems.tool.js.map +1 -1
- package/dist/services/airnow/airnow-service.d.ts.map +1 -1
- package/dist/services/airnow/airnow-service.js +4 -2
- package/dist/services/airnow/airnow-service.js.map +1 -1
- package/dist/services/echo/echo-service.d.ts +12 -2
- package/dist/services/echo/echo-service.d.ts.map +1 -1
- package/dist/services/echo/echo-service.js +78 -29
- package/dist/services/echo/echo-service.js.map +1 -1
- package/dist/services/echo/types.d.ts +77 -10
- package/dist/services/echo/types.d.ts.map +1 -1
- package/package.json +10 -7
- package/server.json +3 -3
- package/dist/epa-mcp-server.mcpb +0 -0
package/CLAUDE.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Developer Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** epa-mcp-server
|
|
4
|
-
**Version:** 0.1.
|
|
5
|
-
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.
|
|
4
|
+
**Version:** 0.1.5
|
|
5
|
+
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.10.6`
|
|
6
6
|
**Engines:** Bun ≥1.3.0, Node ≥24.0.0
|
|
7
7
|
**MCP SDK:** `@modelcontextprotocol/sdk` ^1.29.0
|
|
8
8
|
**Zod:** ^4.4.3
|
|
@@ -11,19 +11,6 @@
|
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
-
## First Session
|
|
15
|
-
|
|
16
|
-
This project was just scaffolded with `bunx @cyanheads/mcp-ts-core init`. The framework, skills, and example definitions are in place — the domain isn't. The user's first messages will set direction; wait for them before proceeding.
|
|
17
|
-
|
|
18
|
-
> **Remove this section** from CLAUDE.md / AGENTS.md after completing these steps. The skills and conventions below remain — this block is one-time onboarding only.
|
|
19
|
-
|
|
20
|
-
1. **Get your bearings.** Take stock of the project tree, the skills in `skills/`, and the tools/MCP servers available. Light tool use is fine for context-building — you're mapping the territory, not committing yet.
|
|
21
|
-
2. **Read the framework docs** — `node_modules/@cyanheads/mcp-ts-core/CLAUDE.md` (builders, Context, errors, exports, conventions)
|
|
22
|
-
3. **Run the `setup` skill** — read `skills/setup/SKILL.md` and follow its checklist (project orientation, agent protocol file selection, echo definition cleanup, skill sync)
|
|
23
|
-
4. **Design the server** — read `skills/design-mcp-server/SKILL.md` and work through it with the user to map the domain into tools, resources, and services before scaffolding
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
14
|
## What's Next?
|
|
28
15
|
|
|
29
16
|
When the user asks what's next or needs direction, suggest options based on the current project state. Common next steps:
|
|
@@ -265,10 +252,15 @@ Available skills:
|
|
|
265
252
|
| `add-service` | Scaffold a new service integration |
|
|
266
253
|
| `add-test` | Scaffold test file for a tool, resource, or service |
|
|
267
254
|
| `field-test` | Exercise tools/resources/prompts with real inputs, verify behavior, report issues |
|
|
255
|
+
| `tool-defs-analysis` | Read-only audit of MCP definition language across the surface — voice, leaks, defaults, recovery hints, output descriptions |
|
|
268
256
|
| `security-pass` | Audit server for MCP-flavored security gaps: output injection, scope blast radius, input sinks, tenant isolation |
|
|
257
|
+
| `code-simplifier` | Post-session cleanup against `git diff` — modernize syntax, consolidate duplication, align with the codebase |
|
|
269
258
|
| `devcheck` | Lint, format, typecheck, audit |
|
|
270
259
|
| `polish-docs-meta` | Finalize docs, README, metadata, and agent protocol for shipping |
|
|
260
|
+
| `git-wrapup` | Land working-tree changes as a versioned commit + annotated tag — version bump, changelog, verify, tag. Local only. |
|
|
261
|
+
| `release-and-publish` | Push + npm + MCP Registry + GH Release + Docker. Picks up from `git-wrapup` |
|
|
271
262
|
| `maintenance` | Investigate changelogs, adopt upstream changes, sync skills to agent dirs |
|
|
263
|
+
| `orchestrations` | Chain task skills into a gated multi-phase pipeline — build-out, QA-fix, update-ship — when you can spawn sub-agents |
|
|
272
264
|
| `report-issue-framework` | File a bug or feature request against `@cyanheads/mcp-ts-core` via `gh` CLI |
|
|
273
265
|
| `report-issue-local` | File a bug or feature request against this server's own repo via `gh` CLI |
|
|
274
266
|
| `api-auth` | Auth modes, scopes, JWT/OAuth |
|
|
@@ -276,6 +268,8 @@ Available skills:
|
|
|
276
268
|
| `api-config` | AppConfig, parseConfig, env vars |
|
|
277
269
|
| `api-context` | Context interface, logger, state, progress |
|
|
278
270
|
| `api-errors` | McpError, JsonRpcErrorCode, error patterns |
|
|
271
|
+
| `api-linter` | Definition linter rule catalog — invoked by `bun run lint:mcp` and `devcheck` |
|
|
272
|
+
| `api-mirror` | MirrorService: persistent local mirror of a bulk upstream dataset (SQLite + FTS5) — Tier 3 opt-in |
|
|
279
273
|
| `api-services` | LLM, Speech, Graph services |
|
|
280
274
|
| `api-testing` | createMockContext, test patterns |
|
|
281
275
|
| `api-utils` | Formatting, parsing, security, pagination, scheduling, telemetry helpers |
|
package/Dockerfile
CHANGED
|
@@ -37,9 +37,12 @@ WORKDIR /usr/src/app
|
|
|
37
37
|
ENV NODE_ENV=production
|
|
38
38
|
|
|
39
39
|
# OCI image metadata (https://github.com/opencontainers/image-spec/blob/main/annotations.md)
|
|
40
|
+
ARG APP_VERSION
|
|
40
41
|
LABEL org.opencontainers.image.title="epa-mcp-server"
|
|
41
42
|
LABEL org.opencontainers.image.description="Access EPA environmental data — facility compliance (ECHO), toxic releases (TRI), Superfund sites, drinking water systems, and real-time air quality (AirNow) via MCP."
|
|
42
43
|
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
|
44
|
+
LABEL org.opencontainers.image.version="${APP_VERSION}"
|
|
45
|
+
LABEL org.opencontainers.image.source="https://github.com/cyanheads/epa-mcp-server"
|
|
43
46
|
|
|
44
47
|
# Copy dependency manifests
|
|
45
48
|
COPY package.json bun.lock ./
|
|
@@ -94,5 +97,8 @@ ENV MCP_FORCE_CONSOLE_LOGGING="true"
|
|
|
94
97
|
# Expose the port the server listens on
|
|
95
98
|
EXPOSE ${MCP_HTTP_PORT}
|
|
96
99
|
|
|
100
|
+
# Health check using a bun-native fetch (slim image ships no curl/wget)
|
|
101
|
+
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 CMD bun -e "fetch('http://localhost:'+(process.env.MCP_HTTP_PORT??'3010')+'/healthz').then((r)=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"
|
|
102
|
+
|
|
97
103
|
# The command to start the server
|
|
98
104
|
CMD ["bun", "run", "dist/index.js"]
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<div align="center">
|
|
9
9
|
|
|
10
|
-
[](./CHANGELOG.md) [](./LICENSE) [](https://github.com/users/cyanheads/packages/container/package/epa-mcp-server) [](https://modelcontextprotocol.io/) [](https://www.npmjs.com/package/@cyanheads/epa-mcp-server) [](https://www.typescriptlang.org/) [](https://bun.sh/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -161,7 +161,7 @@ Add the following to your MCP client configuration file. An AirNow API key is re
|
|
|
161
161
|
```json
|
|
162
162
|
{
|
|
163
163
|
"mcpServers": {
|
|
164
|
-
"epa": {
|
|
164
|
+
"epa-mcp-server": {
|
|
165
165
|
"type": "stdio",
|
|
166
166
|
"command": "bunx",
|
|
167
167
|
"args": ["@cyanheads/epa-mcp-server@latest"],
|
|
@@ -180,7 +180,7 @@ Or with npx (no Bun required):
|
|
|
180
180
|
```json
|
|
181
181
|
{
|
|
182
182
|
"mcpServers": {
|
|
183
|
-
"epa": {
|
|
183
|
+
"epa-mcp-server": {
|
|
184
184
|
"type": "stdio",
|
|
185
185
|
"command": "npx",
|
|
186
186
|
"args": ["-y", "@cyanheads/epa-mcp-server@latest"],
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "AirNow cache key fix, ECHO facility DFR endpoint fix, ECHO violations two-step case query fix"
|
|
3
|
+
breaking: false
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.1.4 — 2026-06-10
|
|
8
|
+
|
|
9
|
+
## Fixed
|
|
10
|
+
|
|
11
|
+
- **AirNow cache keys** ([#9](https://github.com/cyanheads/epa-mcp-server/issues/9)) — keys no longer contain characters rejected by the storage-key validator (pattern `/^[a-zA-Z0-9_.\-/]+$/`). Previously every call crashed at the cache write because `kind` values like `current:zip` produced keys with colons (e.g. `airnow:current:zip:...`). Keys now use `/` and `.` separators with sanitized parameter values (e.g. `airnow/current/zip/distance-25_zipCode-98101`).
|
|
12
|
+
- **ECHO facility lookup** ([#10](https://github.com/cyanheads/epa-mcp-server/issues/10)) — `getFacility()` now calls `dfr_rest_services.get_dfr`, which accepts numeric FRS Registry IDs directly. The prior endpoint (`echo_rest_services.get_facility_info`) only accepts program-specific IDs (e.g. `WAD988470605`) and always returned 0 facilities for Registry IDs, causing every lookup to fail. Facility name and address are derived from the `Results.Permits[]` FRS record; facility identity confirmed via `Results.RegistryID`.
|
|
13
|
+
- **ECHO violations search** ([#11](https://github.com/cyanheads/epa-mcp-server/issues/11)) — `searchViolations()` now follows the correct two-step case flow: Step 1 calls `case_rest_services.get_case_info` to obtain `QueryID` and `QueryRows`; Step 2 fetches cases via `case_rest_services.get_qid?qid=<QueryID>`. Previously only Step 1 was used, which is a discovery endpoint that never returns a `Cases` array, so every search yielded `{ cases: [], totalCount: 0 }`. Real field names now mapped correctly: `CaseNumber`→`caseId`, `CaseCategoryDesc`→`caseType`, `PrimaryLaw`→`programsViolated`, `FedPenalty` (dollar string)→`penaltyAssessedInDollars` (float), `DateFiled`→`filedDate`. `FacName`, `RegistryID`, and `State` are absent from the `get_qid` response; output schema descriptions updated to reflect this.
|
|
14
|
+
|
|
15
|
+
## Changed
|
|
16
|
+
|
|
17
|
+
- **`devcheck.config.json`** — `@cyanheads/mcp-ts-core` added to `outdated.allowlist` (held at 0.9.9; framework adoption is separately managed).
|
|
18
|
+
|
|
19
|
+
## Dependency bumps (dev)
|
|
20
|
+
|
|
21
|
+
- `@biomejs/biome` ^2.4.15 → ^2.4.16
|
|
22
|
+
- `@types/node` ^25.9.1 → ^25.9.2
|
|
23
|
+
- `vitest` ^4.1.7 → ^4.1.8
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Adopt mcp-ts-core ^0.10.6 — ValidationError codes, explicit server identity, TRI truncation enrichment, Docker healthcheck, plugin manifests"
|
|
3
|
+
breaking: false
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.1.5 — 2026-06-12
|
|
8
|
+
|
|
9
|
+
## Added
|
|
10
|
+
|
|
11
|
+
- **TRI truncation signal** — `epa_search_tri_releases` emits an `enrichment` block (`truncated`, `shown`, `cap`) via `ctx.enrich` when results hit the requested `limit`, flagging that more records may exist.
|
|
12
|
+
- **Plugin manifests** — `.claude-plugin/plugin.json` and `.codex-plugin/` manifests for one-step install in Claude Code and Codex.
|
|
13
|
+
- **Docker `HEALTHCHECK`** — bun-native `fetch` against `/healthz` (slim image ships no curl/wget), plus OCI `version` and `source` labels driven by an `APP_VERSION` build arg.
|
|
14
|
+
- **`format:unsafe`** script (`biome check --write --unsafe`); `format` no longer applies unsafe fixes by default. `stdio` and `streamable-http` added to package keywords.
|
|
15
|
+
|
|
16
|
+
## Changed
|
|
17
|
+
|
|
18
|
+
- **`@cyanheads/mcp-ts-core`** `^0.9.9` → `^0.10.6` — framework adoption.
|
|
19
|
+
- **Validation error codes** — the geographic/location precondition errors across `epa_search_facilities`, `epa_search_violations`, `epa_search_water_systems`, `epa_search_superfund`, `epa_search_tri_releases`, and `epa_get_air_quality` now use `JsonRpcErrorCode.ValidationError` (renamed from `InvalidParams` in 0.10.x).
|
|
20
|
+
- **Server identity** — `createApp()` sets `name` and `title` explicitly to `epa-mcp-server`.
|
|
21
|
+
|
|
22
|
+
## Dependency bumps (dev)
|
|
23
|
+
|
|
24
|
+
- `@types/node` ^25.9.2 → ^25.9.3
|
package/changelog/template.md
CHANGED
|
@@ -19,6 +19,14 @@ breaking: false
|
|
|
19
19
|
# `## Security` section below. Flagged as `Security` in the rollup so
|
|
20
20
|
# users can triage upgrade urgency at a glance.
|
|
21
21
|
security: false
|
|
22
|
+
|
|
23
|
+
# Optional free-form notes for maintenance agents processing this release.
|
|
24
|
+
# Not rendered in CHANGELOG — consumed by agents running `maintenance` on
|
|
25
|
+
# downstream servers. Use for adoption instructions that don't fit the
|
|
26
|
+
# human-facing sections: new files to create, fields to populate, one-time
|
|
27
|
+
# migration steps. Omit the field entirely when there's nothing to say.
|
|
28
|
+
# agent-notes: |
|
|
29
|
+
# <instructions for downstream maintenance agents>
|
|
22
30
|
---
|
|
23
31
|
|
|
24
32
|
# <version> — YYYY-MM-DD
|
|
@@ -35,7 +43,7 @@ security: false
|
|
|
35
43
|
name the symbol, state what changed, stop. Use a second sentence only when
|
|
36
44
|
it carries weight. If a bullet feels long, it is.
|
|
37
45
|
|
|
38
|
-
Cut: mechanism walkthroughs (those belong in JSDoc, AGENTS.md, or the
|
|
46
|
+
Cut: mechanism walkthroughs (those belong in JSDoc, CLAUDE.md/AGENTS.md, or the
|
|
39
47
|
relevant skill), ceremonial framings ("This release introduces…",
|
|
40
48
|
backwards-compat paragraphs), file-by-file test enumerations, internal
|
|
41
49
|
implementation notes. Prefer code/symbol names over English re-explanations.
|
package/dist/index.js
CHANGED
|
@@ -10,6 +10,8 @@ import { initAirNowService } from './services/airnow/airnow-service.js';
|
|
|
10
10
|
import { initDmapService } from './services/dmap/dmap-service.js';
|
|
11
11
|
import { initEchoService } from './services/echo/echo-service.js';
|
|
12
12
|
await createApp({
|
|
13
|
+
name: 'epa-mcp-server',
|
|
14
|
+
title: 'epa-mcp-server',
|
|
13
15
|
tools: [...allToolDefinitions],
|
|
14
16
|
resources: [...allResourceDefinitions],
|
|
15
17
|
prompts: [],
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,MAAM,SAAS,CAAC;IACd,KAAK,EAAE,CAAC,GAAG,kBAAkB,CAAC;IAC9B,SAAS,EAAE,CAAC,GAAG,sBAAsB,CAAC;IACtC,OAAO,EAAE,EAAE;IACX,YAAY,EACV,iLAAiL;QACjL,qFAAqF;QACrF,gHAAgH;QAChH,kGAAkG;QAClG,8FAA8F;QAC9F,oNAAoN;IACtN,KAAK,CAAC,IAAI;QACR,eAAe,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3C,eAAe,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3C,iBAAiB,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/C,CAAC;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,MAAM,SAAS,CAAC;IACd,IAAI,EAAE,gBAAgB;IACtB,KAAK,EAAE,gBAAgB;IACvB,KAAK,EAAE,CAAC,GAAG,kBAAkB,CAAC;IAC9B,SAAS,EAAE,CAAC,GAAG,sBAAsB,CAAC;IACtC,OAAO,EAAE,EAAE;IACX,YAAY,EACV,iLAAiL;QACjL,qFAAqF;QACrF,gHAAgH;QAChH,kGAAkG;QAClG,8FAA8F;QAC9F,oNAAoN;IACtN,KAAK,CAAC,IAAI;QACR,eAAe,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3C,eAAe,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3C,iBAAiB,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/C,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -34,13 +34,13 @@ export declare const getAirQualityTool: import("@cyanheads/mcp-ts-core").ToolDef
|
|
|
34
34
|
message: z.ZodOptional<z.ZodString>;
|
|
35
35
|
}, z.core.$strip>, readonly [{
|
|
36
36
|
readonly reason: "no_location";
|
|
37
|
-
readonly code: JsonRpcErrorCode.
|
|
37
|
+
readonly code: JsonRpcErrorCode.ValidationError;
|
|
38
38
|
readonly when: "Neither zip_code nor latitude+longitude was provided.";
|
|
39
39
|
readonly recovery: "Provide either zip_code or both latitude and longitude to identify the location.";
|
|
40
40
|
}, {
|
|
41
41
|
readonly reason: "forecast_date_required";
|
|
42
|
-
readonly code: JsonRpcErrorCode.
|
|
42
|
+
readonly code: JsonRpcErrorCode.ValidationError;
|
|
43
43
|
readonly when: "Mode is \"forecast\" but forecast_date was not provided.";
|
|
44
44
|
readonly recovery: "Provide forecast_date as YYYY-MM-DD when using mode=\"forecast\".";
|
|
45
|
-
}]>;
|
|
45
|
+
}], undefined>;
|
|
46
46
|
//# sourceMappingURL=get-air-quality.tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-air-quality.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-air-quality.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAIjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-air-quality.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-air-quality.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAIjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkO5B,CAAC"}
|
|
@@ -88,13 +88,13 @@ export const getAirQualityTool = tool('epa_get_air_quality', {
|
|
|
88
88
|
errors: [
|
|
89
89
|
{
|
|
90
90
|
reason: 'no_location',
|
|
91
|
-
code: JsonRpcErrorCode.
|
|
91
|
+
code: JsonRpcErrorCode.ValidationError,
|
|
92
92
|
when: 'Neither zip_code nor latitude+longitude was provided.',
|
|
93
93
|
recovery: 'Provide either zip_code or both latitude and longitude to identify the location.',
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
reason: 'forecast_date_required',
|
|
97
|
-
code: JsonRpcErrorCode.
|
|
97
|
+
code: JsonRpcErrorCode.ValidationError,
|
|
98
98
|
when: 'Mode is "forecast" but forecast_date was not provided.',
|
|
99
99
|
recovery: 'Provide forecast_date as YYYY-MM-DD when using mode="forecast".',
|
|
100
100
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-air-quality.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-air-quality.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAGvE,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAC,qBAAqB,EAAE;IAC3D,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EACT,weAAwe;IAC1e,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE;IAE9E,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;QAC7E,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,sEAAsE,CAAC;QACnF,SAAS,EAAE,CAAC;aACT,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,sEAAsE,CAAC;QACnF,IAAI,EAAE,CAAC;aACJ,IAAI,CAAC,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;aAC7B,OAAO,CAAC,SAAS,CAAC;aAClB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;YACD,KAAK,MAAM,OAAO,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC;gBACnC,MAAM,QAAQ,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,YAAY,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;gBAC1E,MAAM,MAAM,GACV,OAAO,CAAC,cAAc,KAAK,SAAS,CAAC,CAAC,CAAC,cAAc,OAAO,CAAC,cAAc,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;gBACtF,KAAK,CAAC,IAAI,CAAC,KAAK,OAAO,CAAC,aAAa,WAAW,OAAO,CAAC,GAAG,GAAG,QAAQ,GAAG,MAAM,EAAE,CAAC,CAAC;YACrF,CAAC;QACH,CAAC;QAED,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACpD,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -57,5 +57,5 @@ export declare const getFacilityTool: import("@cyanheads/mcp-ts-core").ToolDefin
|
|
|
57
57
|
readonly code: JsonRpcErrorCode.NotFound;
|
|
58
58
|
readonly when: "ECHO returned no facility record for the given Registry ID.";
|
|
59
59
|
readonly recovery: "Verify the Registry ID using epa_search_facilities and retry with a valid ID.";
|
|
60
|
-
}]>;
|
|
60
|
+
}], undefined>;
|
|
61
61
|
//# sourceMappingURL=get-facility.tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-facility.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-facility.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-facility.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-facility.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2N1B,CAAC"}
|
|
@@ -22,5 +22,5 @@ export declare const getTriReleasesTool: import("@cyanheads/mcp-ts-core").ToolDe
|
|
|
22
22
|
readonly code: JsonRpcErrorCode.NotFound;
|
|
23
23
|
readonly when: "No TRI records found for the given facility ID and filters.";
|
|
24
24
|
readonly recovery: "Verify the facility ID via epa_search_facilities. TRI data lags 18 months — try an earlier year.";
|
|
25
|
-
}]>;
|
|
25
|
+
}], undefined>;
|
|
26
26
|
//# sourceMappingURL=get-tri-releases.tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tri-releases.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-tri-releases.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-tri-releases.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-tri-releases.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;cA0G7B,CAAC"}
|
|
@@ -52,7 +52,7 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
52
52
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
53
53
|
}, import("zod/v4/core").$strip>, readonly [{
|
|
54
54
|
readonly reason: "no_geographic_filter";
|
|
55
|
-
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.
|
|
55
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
56
56
|
readonly when: "No geographic filter (zip_code, state, or city) was provided.";
|
|
57
57
|
readonly recovery: "Provide at least one of zip_code, state, or city to scope the search.";
|
|
58
58
|
}, {
|
|
@@ -60,7 +60,7 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
60
60
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.NotFound;
|
|
61
61
|
readonly when: "No facilities matched the search criteria.";
|
|
62
62
|
readonly recovery: "Broaden the search by removing filters or expanding the geographic area.";
|
|
63
|
-
}]>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
63
|
+
}], undefined>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
64
64
|
registry_id: import("zod").ZodString;
|
|
65
65
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
66
66
|
registryId: import("zod").ZodString;
|
|
@@ -113,7 +113,7 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
113
113
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.NotFound;
|
|
114
114
|
readonly when: "ECHO returned no facility record for the given Registry ID.";
|
|
115
115
|
readonly recovery: "Verify the Registry ID using epa_search_facilities and retry with a valid ID.";
|
|
116
|
-
}]>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
116
|
+
}], undefined>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
117
117
|
state: import("zod").ZodOptional<import("zod").ZodString>;
|
|
118
118
|
zip_code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
119
119
|
program: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
@@ -150,10 +150,10 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
150
150
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
151
151
|
}, import("zod/v4/core").$strip>, readonly [{
|
|
152
152
|
readonly reason: "no_geographic_filter";
|
|
153
|
-
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.
|
|
153
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
154
154
|
readonly when: "Neither state nor zip_code was provided.";
|
|
155
155
|
readonly recovery: "Provide at least one of state or zip_code to scope the enforcement case search.";
|
|
156
|
-
}]>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
156
|
+
}], undefined>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
157
157
|
zip_code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
158
158
|
latitude: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
159
159
|
longitude: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -183,15 +183,15 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
183
183
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
184
184
|
}, import("zod/v4/core").$strip>, readonly [{
|
|
185
185
|
readonly reason: "no_location";
|
|
186
|
-
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.
|
|
186
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
187
187
|
readonly when: "Neither zip_code nor latitude+longitude was provided.";
|
|
188
188
|
readonly recovery: "Provide either zip_code or both latitude and longitude to identify the location.";
|
|
189
189
|
}, {
|
|
190
190
|
readonly reason: "forecast_date_required";
|
|
191
|
-
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.
|
|
191
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
192
192
|
readonly when: "Mode is \"forecast\" but forecast_date was not provided.";
|
|
193
193
|
readonly recovery: "Provide forecast_date as YYYY-MM-DD when using mode=\"forecast\".";
|
|
194
|
-
}]>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
194
|
+
}], undefined>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
195
195
|
facility_id: import("zod").ZodString;
|
|
196
196
|
year: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
197
197
|
chemical_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -209,7 +209,7 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
209
209
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.NotFound;
|
|
210
210
|
readonly when: "No TRI records found for the given facility ID and filters.";
|
|
211
211
|
readonly recovery: "Verify the facility ID via epa_search_facilities. TRI data lags 18 months — try an earlier year.";
|
|
212
|
-
}]>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
212
|
+
}], undefined>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
213
213
|
state: import("zod").ZodString;
|
|
214
214
|
county: import("zod").ZodOptional<import("zod").ZodString>;
|
|
215
215
|
year: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -230,7 +230,11 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
230
230
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.NotFound;
|
|
231
231
|
readonly when: "No TRI records found for the given state and filters.";
|
|
232
232
|
readonly recovery: "Verify the state abbreviation is valid. TRI data lags 18 months — try removing the year filter or using an earlier year.";
|
|
233
|
-
}]
|
|
233
|
+
}], {
|
|
234
|
+
readonly truncated: import("zod").ZodBoolean;
|
|
235
|
+
readonly shown: import("zod").ZodNumber;
|
|
236
|
+
readonly cap: import("zod").ZodNumber;
|
|
237
|
+
}>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
234
238
|
state: import("zod").ZodOptional<import("zod").ZodString>;
|
|
235
239
|
city: import("zod").ZodOptional<import("zod").ZodString>;
|
|
236
240
|
zip_code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -263,15 +267,15 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
263
267
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
264
268
|
}, import("zod/v4/core").$strip>, readonly [{
|
|
265
269
|
readonly reason: "no_location_filter";
|
|
266
|
-
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.
|
|
270
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
267
271
|
readonly when: "No location filter (state, city, zip_code, or latitude+longitude) was provided.";
|
|
268
272
|
readonly recovery: "Provide at least one location filter: state, city, zip_code, or latitude+longitude+radius_miles.";
|
|
269
273
|
}, {
|
|
270
274
|
readonly reason: "radius_required";
|
|
271
|
-
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.
|
|
275
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
272
276
|
readonly when: "Latitude and longitude were provided without radius_miles.";
|
|
273
277
|
readonly recovery: "Provide radius_miles together with latitude and longitude for a proximity search.";
|
|
274
|
-
}]>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
278
|
+
}], undefined>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
275
279
|
state: import("zod").ZodOptional<import("zod").ZodString>;
|
|
276
280
|
zip_code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
277
281
|
has_violation: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -298,8 +302,8 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
298
302
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
299
303
|
}, import("zod/v4/core").$strip>, readonly [{
|
|
300
304
|
readonly reason: "no_geographic_filter";
|
|
301
|
-
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.
|
|
305
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
302
306
|
readonly when: "Neither state nor zip_code was provided.";
|
|
303
307
|
readonly recovery: "Provide at least one of state or zip_code to search drinking water systems.";
|
|
304
|
-
}]>];
|
|
308
|
+
}], undefined>];
|
|
305
309
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAWxE,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAWxE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eASrB,CAAC"}
|
|
@@ -46,7 +46,7 @@ export declare const searchFacilitiesTool: import("@cyanheads/mcp-ts-core").Tool
|
|
|
46
46
|
message: z.ZodOptional<z.ZodString>;
|
|
47
47
|
}, z.core.$strip>, readonly [{
|
|
48
48
|
readonly reason: "no_geographic_filter";
|
|
49
|
-
readonly code: JsonRpcErrorCode.
|
|
49
|
+
readonly code: JsonRpcErrorCode.ValidationError;
|
|
50
50
|
readonly when: "No geographic filter (zip_code, state, or city) was provided.";
|
|
51
51
|
readonly recovery: "Provide at least one of zip_code, state, or city to scope the search.";
|
|
52
52
|
}, {
|
|
@@ -54,5 +54,5 @@ export declare const searchFacilitiesTool: import("@cyanheads/mcp-ts-core").Tool
|
|
|
54
54
|
readonly code: JsonRpcErrorCode.NotFound;
|
|
55
55
|
readonly when: "No facilities matched the search criteria.";
|
|
56
56
|
readonly recovery: "Broaden the search by removing filters or expanding the geographic area.";
|
|
57
|
-
}]>;
|
|
57
|
+
}], undefined>;
|
|
58
58
|
//# sourceMappingURL=search-facilities.tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-facilities.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/search-facilities.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"search-facilities.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/search-facilities.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuM/B,CAAC"}
|
|
@@ -85,7 +85,7 @@ export const searchFacilitiesTool = tool('epa_search_facilities', {
|
|
|
85
85
|
errors: [
|
|
86
86
|
{
|
|
87
87
|
reason: 'no_geographic_filter',
|
|
88
|
-
code: JsonRpcErrorCode.
|
|
88
|
+
code: JsonRpcErrorCode.ValidationError,
|
|
89
89
|
when: 'No geographic filter (zip_code, state, or city) was provided.',
|
|
90
90
|
recovery: 'Provide at least one of zip_code, state, or city to scope the search.',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
39
39
|
readonly reason: "no_location_filter";
|
|
40
|
-
readonly code: JsonRpcErrorCode.
|
|
40
|
+
readonly code: JsonRpcErrorCode.ValidationError;
|
|
41
41
|
readonly when: "No location filter (state, city, zip_code, or latitude+longitude) was provided.";
|
|
42
42
|
readonly recovery: "Provide at least one location filter: state, city, zip_code, or latitude+longitude+radius_miles.";
|
|
43
43
|
}, {
|
|
44
44
|
readonly reason: "radius_required";
|
|
45
|
-
readonly code: JsonRpcErrorCode.
|
|
45
|
+
readonly code: JsonRpcErrorCode.ValidationError;
|
|
46
46
|
readonly when: "Latitude and longitude were provided without radius_miles.";
|
|
47
47
|
readonly recovery: "Provide radius_miles together with latitude and longitude for a proximity search.";
|
|
48
|
-
}]>;
|
|
48
|
+
}], undefined>;
|
|
49
49
|
//# sourceMappingURL=search-superfund.tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-superfund.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/search-superfund.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"search-superfund.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/search-superfund.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+K9B,CAAC"}
|
|
@@ -72,13 +72,13 @@ export const searchSuperfundTool = tool('epa_search_superfund', {
|
|
|
72
72
|
errors: [
|
|
73
73
|
{
|
|
74
74
|
reason: 'no_location_filter',
|
|
75
|
-
code: JsonRpcErrorCode.
|
|
75
|
+
code: JsonRpcErrorCode.ValidationError,
|
|
76
76
|
when: 'No location filter (state, city, zip_code, or latitude+longitude) was provided.',
|
|
77
77
|
recovery: 'Provide at least one location filter: state, city, zip_code, or latitude+longitude+radius_miles.',
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
reason: 'radius_required',
|
|
81
|
-
code: JsonRpcErrorCode.
|
|
81
|
+
code: JsonRpcErrorCode.ValidationError,
|
|
82
82
|
when: 'Latitude and longitude were provided without radius_miles.',
|
|
83
83
|
recovery: 'Provide radius_miles together with latitude and longitude for a proximity search.',
|
|
84
84
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-superfund.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/search-superfund.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,CAAC,sBAAsB,EAAE;IAC9D,KAAK,EAAE,wBAAwB;IAC/B,WAAW,EACT,8UAA8U;IAChV,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE;IAE9E,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gDAAgD,CAAC;QACvF,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wCAAwC,CAAC;QAC9E,QAAQ,E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AM,QAAQ,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC/E,IAAI,QAAQ;gBAAE,KAAK,CAAC,IAAI,CAAC,iBAAiB,QAAQ,EAAE,CAAC,CAAC;YACtD,IAAI,CAAC,CAAC,MAAM;gBACV,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACrF,IAAI,CAAC,CAAC,QAAQ,KAAK,SAAS,IAAI,CAAC,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;gBAC1D,KAAK,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC;YAC/D,CAAC;YACD,IAAI,CAAC,CAAC,SAAS;gBAAE,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC;YAC9D,IAAI,CAAC,CAAC,aAAa;gBAAE,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC;QAC5E,CAAC;QAED,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACpD,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -25,5 +25,9 @@ export declare const searchTriReleasesTool: import("@cyanheads/mcp-ts-core").Too
|
|
|
25
25
|
readonly code: JsonRpcErrorCode.NotFound;
|
|
26
26
|
readonly when: "No TRI records found for the given state and filters.";
|
|
27
27
|
readonly recovery: "Verify the state abbreviation is valid. TRI data lags 18 months — try removing the year filter or using an earlier year.";
|
|
28
|
-
}]
|
|
28
|
+
}], {
|
|
29
|
+
readonly truncated: z.ZodBoolean;
|
|
30
|
+
readonly shown: z.ZodNumber;
|
|
31
|
+
readonly cap: z.ZodNumber;
|
|
32
|
+
}>;
|
|
29
33
|
//# sourceMappingURL=search-tri-releases.tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-tri-releases.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/search-tri-releases.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"search-tri-releases.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/search-tri-releases.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;EAyIhC,CAAC"}
|