@cyanheads/noaa-marine-mcp-server 0.3.2 → 0.5.0
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/AGENTS.md +7 -4
- package/CLAUDE.md +7 -4
- package/README.md +35 -16
- package/changelog/0.4.x/0.4.0.md +31 -0
- package/changelog/0.5.x/0.5.0.md +37 -0
- package/dist/index.js +1 -12
- package/dist/index.js.map +1 -1
- package/dist/mcp-server/resources/definitions/noaa-marine-station.resource.d.ts +12 -1
- package/dist/mcp-server/resources/definitions/noaa-marine-station.resource.d.ts.map +1 -1
- package/dist/mcp-server/resources/definitions/noaa-marine-station.resource.js +73 -21
- package/dist/mcp-server/resources/definitions/noaa-marine-station.resource.js.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-find-stations.tool.d.ts +38 -6
- package/dist/mcp-server/tools/definitions/noaa-marine-find-stations.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-find-stations.tool.js +337 -40
- package/dist/mcp-server/tools/definitions/noaa-marine-find-stations.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-get-conditions.tool.d.ts +6 -3
- package/dist/mcp-server/tools/definitions/noaa-marine-get-conditions.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-get-conditions.tool.js +53 -16
- package/dist/mcp-server/tools/definitions/noaa-marine-get-conditions.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-get-current-profile.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-get-current-profile.tool.js +4 -9
- package/dist/mcp-server/tools/definitions/noaa-marine-get-current-profile.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-get-currents.tool.d.ts +31 -4
- package/dist/mcp-server/tools/definitions/noaa-marine-get-currents.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-get-currents.tool.js +232 -62
- package/dist/mcp-server/tools/definitions/noaa-marine-get-currents.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-get-ocean-observations.tool.d.ts +2 -2
- package/dist/mcp-server/tools/definitions/noaa-marine-get-ocean-observations.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-get-ocean-observations.tool.js +8 -19
- package/dist/mcp-server/tools/definitions/noaa-marine-get-ocean-observations.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-get-tide-predictions.tool.d.ts +23 -2
- package/dist/mcp-server/tools/definitions/noaa-marine-get-tide-predictions.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-get-tide-predictions.tool.js +126 -25
- package/dist/mcp-server/tools/definitions/noaa-marine-get-tide-predictions.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-get-water-level.tool.d.ts +57 -5
- package/dist/mcp-server/tools/definitions/noaa-marine-get-water-level.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/noaa-marine-get-water-level.tool.js +327 -61
- package/dist/mcp-server/tools/definitions/noaa-marine-get-water-level.tool.js.map +1 -1
- package/dist/services/coops/coops-service.d.ts +53 -11
- package/dist/services/coops/coops-service.d.ts.map +1 -1
- package/dist/services/coops/coops-service.js +173 -36
- package/dist/services/coops/coops-service.js.map +1 -1
- package/dist/services/coops/prediction-class.d.ts +29 -0
- package/dist/services/coops/prediction-class.d.ts.map +1 -0
- package/dist/services/coops/prediction-class.js +46 -0
- package/dist/services/coops/prediction-class.js.map +1 -0
- package/dist/services/coops/row-page.d.ts +94 -0
- package/dist/services/coops/row-page.d.ts.map +1 -0
- package/dist/services/coops/row-page.js +170 -0
- package/dist/services/coops/row-page.js.map +1 -0
- package/dist/services/coops/types.d.ts +72 -20
- package/dist/services/coops/types.d.ts.map +1 -1
- package/dist/services/ndbc/ndbc-service.d.ts +9 -0
- package/dist/services/ndbc/ndbc-service.d.ts.map +1 -1
- package/dist/services/ndbc/ndbc-service.js +249 -110
- package/dist/services/ndbc/ndbc-service.js.map +1 -1
- package/dist/services/ndbc/types.d.ts +55 -15
- package/dist/services/ndbc/types.d.ts.map +1 -1
- package/package.json +4 -4
- package/server.json +3 -3
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { tool, z } from '@cyanheads/mcp-ts-core';
|
|
6
6
|
import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors';
|
|
7
7
|
import { getCoopsService } from '../../../services/coops/coops-service.js';
|
|
8
|
+
import { currentPredictionClass, tidePredictionClass } from '../../../services/coops/prediction-class.js';
|
|
8
9
|
import { getNdbcService } from '../../../services/ndbc/ndbc-service.js';
|
|
9
10
|
/** Haversine distance in km between two lat/lon pairs. */
|
|
10
11
|
function haversineKm(lat1, lon1, lat2, lon2) {
|
|
@@ -73,19 +74,139 @@ const STATE_CODES = [
|
|
|
73
74
|
'AS',
|
|
74
75
|
'MP',
|
|
75
76
|
];
|
|
77
|
+
/** Filter values only a CO-OPS row can carry. */
|
|
78
|
+
const COOPS_FILTER_VALUES = ['tide', 'current', 'water_level'];
|
|
79
|
+
/** Filter values only an NDBC row can carry — three data capabilities plus the buoy platform token. */
|
|
80
|
+
const NDBC_FILTER_VALUES = ['met', 'current_profile', 'water_quality', 'buoy'];
|
|
81
|
+
/**
|
|
82
|
+
* One depth bin a CO-OPS current station publishes predictions for. The catalog lists one
|
|
83
|
+
* row per bin; they collapse onto a single station row as this array so a multi-bin station
|
|
84
|
+
* does not consume several of the caller's result slots.
|
|
85
|
+
*/
|
|
86
|
+
const CurrentBinSchema = z
|
|
87
|
+
.object({
|
|
88
|
+
bin: z
|
|
89
|
+
.number()
|
|
90
|
+
.describe('CO-OPS bin number — pass it as the bin input of noaa_marine_get_currents. Omitting bin there selects the shallowest bin.'),
|
|
91
|
+
depth: z
|
|
92
|
+
.number()
|
|
93
|
+
.nullable()
|
|
94
|
+
.describe("Bin depth in FEET. The catalog publishes one figure with no unit switch, unlike the depth noaa_marine_get_currents echoes, which follows that call's units. Null when CO-OPS publishes no depth for the bin, which is usual where depth_type is U."),
|
|
95
|
+
depth_type: z
|
|
96
|
+
.string()
|
|
97
|
+
.optional()
|
|
98
|
+
.describe('CO-OPS depth-reference code as published: B, S, or U. A U bin usually carries no depth. Omitted when the catalog row has none.'),
|
|
99
|
+
prediction_class: z
|
|
100
|
+
.string()
|
|
101
|
+
.optional()
|
|
102
|
+
.describe("CO-OPS prediction class for this bin: harmonic (predicted from the bin's own harmonic analysis) or subordinate (derived by offsets from a reference station) both serve the normal flood/ebb/slack series, while weak_and_variable may instead answer noaa_marine_get_currents with a coverage statement and no events, or report that no predictions are published at all. The class is per bin because one station can mix classes across its bins. An unrecognized catalog code is passed through verbatim."),
|
|
103
|
+
})
|
|
104
|
+
.describe('One depth bin CO-OPS publishes current predictions for at this station, with its depth and prediction class.');
|
|
105
|
+
/**
|
|
106
|
+
* The narrowing dimensions the handler applied, echoed on a zero-match search so the
|
|
107
|
+
* caller can tell an unsatisfiable filter combination from a genuine miss.
|
|
108
|
+
*/
|
|
109
|
+
const AppliedSearchSchema = z.object({
|
|
110
|
+
catalogs_read: z
|
|
111
|
+
.array(z.string().describe('Catalog name: coops or ndbc.'))
|
|
112
|
+
.describe('Catalogs this search actually fetched. Empty when source and state cancelled each other out and no catalog was read.'),
|
|
113
|
+
center: z
|
|
114
|
+
.object({
|
|
115
|
+
latitude: z.number().describe('Center latitude the proximity filter used.'),
|
|
116
|
+
longitude: z.number().describe('Center longitude the proximity filter used.'),
|
|
117
|
+
})
|
|
118
|
+
.optional()
|
|
119
|
+
.describe('Proximity-search center, present only when latitude and longitude were supplied.'),
|
|
120
|
+
query: z
|
|
121
|
+
.string()
|
|
122
|
+
.optional()
|
|
123
|
+
.describe('The name/ID substring as the server used it — trimmed and lowercased. Omitted when no query was supplied or it was blank.'),
|
|
124
|
+
radius_km: z
|
|
125
|
+
.number()
|
|
126
|
+
.optional()
|
|
127
|
+
.describe('Radius bound in km, present only when a center was given. Applies whenever a center is present and defaults to 100 km.'),
|
|
128
|
+
source: z.string().describe('The source filter applied: coops, ndbc, or all.'),
|
|
129
|
+
state: z
|
|
130
|
+
.string()
|
|
131
|
+
.optional()
|
|
132
|
+
.describe('The state filter applied. Restricts results to CO-OPS and excludes NDBC.'),
|
|
133
|
+
types: z
|
|
134
|
+
.array(z.string().describe('A requested capability or platform filter value.'))
|
|
135
|
+
.optional()
|
|
136
|
+
.describe('The resolved types filter. Omitted when no types filter narrowed the search.'),
|
|
137
|
+
types_by_source: z
|
|
138
|
+
.object({
|
|
139
|
+
coops: z
|
|
140
|
+
.array(z.string().describe('CO-OPS-only filter value.'))
|
|
141
|
+
.describe('Requested values only a CO-OPS row can carry.'),
|
|
142
|
+
ndbc: z
|
|
143
|
+
.array(z.string().describe('NDBC-only filter value.'))
|
|
144
|
+
.describe('Requested values only an NDBC row can carry.'),
|
|
145
|
+
})
|
|
146
|
+
.optional()
|
|
147
|
+
.describe('The requested types split by the source that can carry them — every value belongs to exactly one source, so a single-source types filter reduces the search to that source.'),
|
|
148
|
+
});
|
|
149
|
+
/** Which station catalogs this search tried to read, and how each one answered. */
|
|
150
|
+
const SourceReportSchema = z.object({
|
|
151
|
+
answered: z
|
|
152
|
+
.array(z.string().describe('Catalog name: coops or ndbc.'))
|
|
153
|
+
.describe('Catalogs that returned a station list — the results cover these only.'),
|
|
154
|
+
attempted: z
|
|
155
|
+
.array(z.string().describe('Catalog name: coops or ndbc.'))
|
|
156
|
+
.describe('Catalogs this search needed, after source and state decided which to read.'),
|
|
157
|
+
failed: z
|
|
158
|
+
.array(z.string().describe('Catalog name: coops or ndbc.'))
|
|
159
|
+
.describe('Catalogs whose fetch rejected. A station served only by one of these is missing.'),
|
|
160
|
+
});
|
|
161
|
+
/**
|
|
162
|
+
* Explains a zero-match search from the dimensions that were actually applied. Every clause
|
|
163
|
+
* names a filter the handler used, so an unsatisfiable combination reads differently from a
|
|
164
|
+
* genuine miss and the recovery points at the filter worth changing.
|
|
165
|
+
*/
|
|
166
|
+
function describeEmptySearch(applied) {
|
|
167
|
+
if (applied.catalogs_read.length === 0) {
|
|
168
|
+
return [
|
|
169
|
+
'No catalog was searched: state is a CO-OPS-only filter that excludes NDBC buoys, and',
|
|
170
|
+
`source="${applied.source}" excludes CO-OPS, so the two leave nothing to read.`,
|
|
171
|
+
`Drop state to reach NDBC buoys by query or coordinates, or keep state="${applied.state}" and set source="coops".`,
|
|
172
|
+
].join(' ');
|
|
173
|
+
}
|
|
174
|
+
const applied_clauses = [];
|
|
175
|
+
const widen = [];
|
|
176
|
+
if (applied.state) {
|
|
177
|
+
applied_clauses.push(`state="${applied.state}" restricted the search to CO-OPS and excluded NDBC buoys, which carry no state`);
|
|
178
|
+
widen.push('drop state and search by query or coordinates to reach NDBC buoys');
|
|
179
|
+
}
|
|
180
|
+
if (applied.types && applied.types_by_source) {
|
|
181
|
+
const list = applied.types.map((t) => `"${t}"`).join(', ');
|
|
182
|
+
const { coops, ndbc } = applied.types_by_source;
|
|
183
|
+
if (ndbc.length === 0) {
|
|
184
|
+
applied_clauses.push(`types ${list} are CO-OPS-only values, so no NDBC row can carry them`);
|
|
185
|
+
}
|
|
186
|
+
else if (coops.length === 0) {
|
|
187
|
+
applied_clauses.push(`types ${list} are NDBC-only values, so no CO-OPS row can carry them`);
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
applied_clauses.push(`types ${list} kept only stations carrying one of those values`);
|
|
191
|
+
}
|
|
192
|
+
widen.push('drop types or request another capability');
|
|
193
|
+
}
|
|
194
|
+
if (applied.query) {
|
|
195
|
+
applied_clauses.push(`query "${applied.query}" matched no station name or ID in ${applied.catalogs_read.join(' or ')}`);
|
|
196
|
+
widen.push('shorten the query or check its spelling');
|
|
197
|
+
}
|
|
198
|
+
if (applied.center && applied.radius_km !== undefined) {
|
|
199
|
+
applied_clauses.push(`radius_km ${applied.radius_km} bounded the search around ${applied.center.latitude}, ${applied.center.longitude} — this bound applies whenever a center is given and defaults to 100 km`);
|
|
200
|
+
widen.push('increase radius_km (max 1000)');
|
|
201
|
+
}
|
|
202
|
+
const head = applied_clauses.length > 0
|
|
203
|
+
? `No station matched. Applied: ${applied_clauses.join('; ')}.`
|
|
204
|
+
: `No station matched, and no narrowing filter was applied — ${applied.catalogs_read.join(' and ')} returned no stations at all.`;
|
|
205
|
+
return widen.length > 0 ? `${head} To widen: ${widen.join(', or ')}.` : head;
|
|
206
|
+
}
|
|
76
207
|
export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
77
208
|
title: 'Find Marine Stations',
|
|
78
|
-
description:
|
|
79
|
-
'Returns a unified station list with source, data capabilities, coordinates, and — for NDBC — the physical platform class. ' +
|
|
80
|
-
'This is the required first step to resolve place names or coordinates to station IDs before calling data tools. ' +
|
|
81
|
-
'CO-OPS station IDs are numeric (e.g. 9447130 for Seattle); current station IDs are alphanumeric (e.g. ACT4176). ' +
|
|
82
|
-
'NDBC buoy IDs are 5-character alphanumeric codes (e.g. 46041). ' +
|
|
83
|
-
'Two axes are reported separately: `capabilities`/`type` describe the data products a station serves ' +
|
|
84
|
-
'(tide, current, water_level, met, current_profile), while `platform` is the NDBC physical classification ' +
|
|
85
|
-
'(buoy, fixed, oilrig, dart, tao, usv, other). CO-OPS stations carry no platform class. ' +
|
|
86
|
-
'Provide latitude and longitude together for proximity search, or query/state for name-based search — both may be combined. ' +
|
|
87
|
-
'Note: CO-OPS current stations are cataloged by monitoring capability, not prediction availability. ' +
|
|
88
|
-
'If noaa_marine_get_currents returns no_predictions for a station, try the next nearest current station.',
|
|
209
|
+
description: `Find CO-OPS tide, water-level and current stations and NDBC buoys near a location, by name, or by station ID, returning a unified list with source, data capabilities, coordinates, and — for NDBC — the physical platform class. This is the required first step for resolving a place name, a coordinate pair, or a bare station number to the station IDs the data tools take: CO-OPS tide and water-level IDs are numeric (e.g. 9447130 for Seattle), CO-OPS current IDs are alphanumeric (e.g. ACT4176), and NDBC buoy IDs are 5-character alphanumeric codes (e.g. 46041). Two axes are reported separately — capabilities and type name the data products a station serves (tide, current, water_level, met, current_profile, water_quality), while platform is the NDBC physical classification (buoy, fixed, oilrig, dart, tao, usv, other) that CO-OPS stations do not carry. Supply latitude and longitude together for a proximity search, or query for a name-or-ID substring matched against both sources, or state for CO-OPS coverage in one state; the filters combine, and results lead with an exact ID match unless a proximity search is ordering them by distance. A search that matches nothing is a success with total_found: 0 carrying an echo of the filters that were applied, and a search whose catalogs did not all answer says which source is missing. CO-OPS prediction stations carry a third axis as well, prediction_class, which says what a station can actually answer: a tide station is either reference, serving both hilo and the 6-minute curve, or subordinate, serving hilo only, while a current station carries its class per depth bin in bins[] — a harmonic or subordinate bin serves the normal flood/ebb/slack series, and a weak_and_variable bin may instead answer noaa_marine_get_currents with a coverage statement and no events, or report that CO-OPS publishes no predictions for it at all, so prefer a harmonic bin when one is in range.`,
|
|
89
210
|
annotations: { readOnlyHint: true, openWorldHint: true },
|
|
90
211
|
input: z.object({
|
|
91
212
|
latitude: z
|
|
@@ -111,8 +232,10 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
111
232
|
query: z
|
|
112
233
|
.string()
|
|
113
234
|
.optional()
|
|
114
|
-
.describe('Station name substring to match, case-insensitive
|
|
115
|
-
'
|
|
235
|
+
.describe('Station name or station ID substring to match, case-insensitive, on both sources. ' +
|
|
236
|
+
'E.g. "seattle", "puget sound", "9447130", "46041". A station whose ID matches exactly is ' +
|
|
237
|
+
'returned ahead of name matches, unless latitude/longitude were supplied — a proximity ' +
|
|
238
|
+
'search orders by distance instead. Blank or whitespace-only values are treated as omitted.'),
|
|
116
239
|
state: z
|
|
117
240
|
.enum(STATE_CODES)
|
|
118
241
|
.optional()
|
|
@@ -125,15 +248,24 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
125
248
|
.describe('Data source to search: coops (tide/water-level/current stations), ndbc (buoys), or all (default).'),
|
|
126
249
|
types: z
|
|
127
250
|
.array(z
|
|
128
|
-
.enum([
|
|
129
|
-
|
|
251
|
+
.enum([
|
|
252
|
+
'tide',
|
|
253
|
+
'current',
|
|
254
|
+
'water_level',
|
|
255
|
+
'met',
|
|
256
|
+
'current_profile',
|
|
257
|
+
'water_quality',
|
|
258
|
+
'buoy',
|
|
259
|
+
])
|
|
260
|
+
.describe("Filter value. Six are data capabilities, matched against a station's capabilities list: " +
|
|
130
261
|
'tide (CO-OPS tide predictions → noaa_marine_get_tide_predictions), ' +
|
|
131
262
|
'current (CO-OPS tidal-current predictions → noaa_marine_get_currents), ' +
|
|
132
263
|
'water_level (CO-OPS observed water levels → noaa_marine_get_water_level), ' +
|
|
133
264
|
'met (NDBC meteorological → noaa_marine_get_conditions), ' +
|
|
134
265
|
'current_profile (NDBC observed ocean-current depth profile → noaa_marine_get_current_profile; ' +
|
|
135
|
-
'note this is a different data product and source than CO-OPS `current`)
|
|
136
|
-
'
|
|
266
|
+
'note this is a different data product and source than CO-OPS `current`), ' +
|
|
267
|
+
'water_quality (NDBC sub-surface water-column sensors → noaa_marine_get_ocean_observations). ' +
|
|
268
|
+
'The seventh, buoy, is a physical-platform filter (NDBC platform class equals buoy), not a data ' +
|
|
137
269
|
'capability — use it to select buoy-class platforms regardless of what data they serve.'))
|
|
138
270
|
.optional()
|
|
139
271
|
.describe('Filter by data capability or NDBC platform class. Every returned station matches at least one requested ' +
|
|
@@ -183,31 +315,75 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
183
315
|
capabilities: z
|
|
184
316
|
.array(z.string().describe('Capability identifier, e.g. "tide", "water_level".'))
|
|
185
317
|
.describe('Data products available at this station: any of tide, current, water_level (CO-OPS) or met, ' +
|
|
186
|
-
'current_profile (NDBC). Empty when the station reports no data capability —
|
|
318
|
+
'current_profile, water_quality (NDBC). Empty when the station reports no data capability — ' +
|
|
319
|
+
'platform still identifies it.'),
|
|
320
|
+
prediction_class: z
|
|
321
|
+
.string()
|
|
322
|
+
.optional()
|
|
323
|
+
.describe('CO-OPS TIDE-prediction class: reference (predicted from the station\'s own harmonic analysis, serving both hilo and the 6-minute curve) or subordinate (high and low events derived as offsets from a reference station, hilo only — noaa_marine_get_tide_predictions rejects interval="6min" for it). A third axis beside type/capabilities (data products) and platform (NDBC physical class). Omitted for a station with no tide-prediction row; a current station carries its class per bin in bins[], where subordinate means something different. An unrecognized catalog code is passed through verbatim.'),
|
|
324
|
+
reference_id: z
|
|
325
|
+
.string()
|
|
326
|
+
.optional()
|
|
327
|
+
.describe('The reference station a subordinate tide station derives its offsets from — the station to request a 6-minute curve from. Omitted for a reference station and for any station with no tide-prediction row.'),
|
|
328
|
+
bins: z
|
|
329
|
+
.array(CurrentBinSchema)
|
|
330
|
+
.optional()
|
|
331
|
+
.describe('Depth bins this current station publishes predictions for, in the order CO-OPS publishes them. Each bin has its own depth and prediction class, and its bin number is what noaa_marine_get_currents takes as bin. Omitted for a station with no current-prediction rows.'),
|
|
187
332
|
})
|
|
188
333
|
.describe('A single station matching the search criteria.'))
|
|
189
|
-
.describe('Stations matching the search criteria, sorted by distance (if lat/lon provided) or name.'),
|
|
334
|
+
.describe('Stations matching the search criteria, sorted by distance (if lat/lon provided) or by exact ID match then name. Empty when nothing matched.'),
|
|
190
335
|
total_found: z
|
|
191
336
|
.number()
|
|
192
|
-
.describe('Total stations matching the filters before the limit was applied.'),
|
|
337
|
+
.describe('Total stations matching the filters before the limit was applied. Zero when nothing matched.'),
|
|
193
338
|
truncated: z
|
|
194
339
|
.boolean()
|
|
195
340
|
.optional()
|
|
196
341
|
.describe('True when total_found exceeds the limit and not all matching stations are returned. Increase limit or narrow filters to see more.'),
|
|
197
342
|
}),
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
343
|
+
enrichment: {
|
|
344
|
+
applied_search: AppliedSearchSchema.optional().describe('The narrowing dimensions this search applied, echoed when nothing matched so the caller can see which filter emptied the result.'),
|
|
345
|
+
notice: z
|
|
346
|
+
.string()
|
|
347
|
+
.optional()
|
|
348
|
+
.describe('Guidance about the result set: why a search matched nothing, which catalog did not answer, or that the list was capped.'),
|
|
349
|
+
sources: SourceReportSchema.optional().describe('Which station catalogs were attempted, answered, and failed. Present only when a catalog fetch rejected, so a partial result set is never read as a complete one.'),
|
|
350
|
+
},
|
|
351
|
+
enrichmentTrailer: {
|
|
352
|
+
applied_search: {
|
|
353
|
+
render: (v) => {
|
|
354
|
+
const parts = [
|
|
355
|
+
`source=${v.source}`,
|
|
356
|
+
`catalogs read: ${v.catalogs_read.join(', ') || 'none'}`,
|
|
357
|
+
];
|
|
358
|
+
if (v.state)
|
|
359
|
+
parts.push(`state=${v.state}`);
|
|
360
|
+
if (v.types)
|
|
361
|
+
parts.push(`types=[${v.types.join(', ')}]`);
|
|
362
|
+
if (v.query)
|
|
363
|
+
parts.push(`query="${v.query}"`);
|
|
364
|
+
if (v.center && v.radius_km !== undefined) {
|
|
365
|
+
parts.push(`within ${v.radius_km} km of ${v.center.latitude}, ${v.center.longitude}`);
|
|
366
|
+
}
|
|
367
|
+
return `**Applied search:** ${parts.join(' · ')}`;
|
|
368
|
+
},
|
|
369
|
+
},
|
|
370
|
+
sources: {
|
|
371
|
+
render: (v) => `**Sources:** attempted ${v.attempted.join(', ')} · answered ${v.answered.join(', ') || 'none'} · failed ${v.failed.join(', ') || 'none'}`,
|
|
204
372
|
},
|
|
373
|
+
},
|
|
374
|
+
errors: [
|
|
205
375
|
{
|
|
206
376
|
reason: 'incomplete_coordinates',
|
|
207
377
|
code: JsonRpcErrorCode.InvalidParams,
|
|
208
378
|
when: 'Only one of latitude/longitude was supplied — proximity search needs the pair.',
|
|
209
379
|
recovery: 'Supply both latitude and longitude to search by proximity, or drop both and search by query or state instead.',
|
|
210
380
|
},
|
|
381
|
+
{
|
|
382
|
+
reason: 'sources_unavailable',
|
|
383
|
+
code: JsonRpcErrorCode.ServiceUnavailable,
|
|
384
|
+
when: 'Every station catalog this search needed failed to load, so no station list could be searched.',
|
|
385
|
+
recovery: 'Retry the search in a few moments — a catalog is cached for six hours once a fetch succeeds.',
|
|
386
|
+
},
|
|
211
387
|
],
|
|
212
388
|
async handler(input, ctx) {
|
|
213
389
|
const coopsSvc = getCoopsService();
|
|
@@ -223,7 +399,7 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
223
399
|
const center = lat !== undefined && lon !== undefined ? { lat, lon } : undefined;
|
|
224
400
|
// Blank/whitespace-only queries carry no search intent — treat them as omitted
|
|
225
401
|
// rather than substring-matching station names that contain runs of spaces.
|
|
226
|
-
const query = input.query?.trim().toLowerCase();
|
|
402
|
+
const query = input.query?.trim().toLowerCase() || undefined;
|
|
227
403
|
// An empty types array means the same thing as no types array.
|
|
228
404
|
const typeFilter = input.types?.length ? input.types : undefined;
|
|
229
405
|
/**
|
|
@@ -233,6 +409,12 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
233
409
|
* capability — both flow through one predicate.
|
|
234
410
|
*/
|
|
235
411
|
const matchesTypeFilter = (tokens) => !typeFilter || typeFilter.some((t) => tokens.includes(t));
|
|
412
|
+
/**
|
|
413
|
+
* True when the station's name or ID carries the query substring. CO-OPS IDs are what tide
|
|
414
|
+
* tables and charts print, so an ID query must reach them the way it already reaches NDBC
|
|
415
|
+
* IDs — both sources run the same predicate so the two can't drift apart.
|
|
416
|
+
*/
|
|
417
|
+
const matchesQuery = (name, id) => !query || name.toLowerCase().includes(query) || id.toLowerCase().includes(query);
|
|
236
418
|
/**
|
|
237
419
|
* The data capability a row leads with — always drawn from `capabilities`, never the
|
|
238
420
|
* platform class. Under a capability filter this is the first requested capability the
|
|
@@ -242,6 +424,8 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
242
424
|
*/
|
|
243
425
|
const primaryTypeFor = (capabilities) => typeFilter?.find((t) => capabilities.includes(t)) ?? capabilities[0];
|
|
244
426
|
const results = [];
|
|
427
|
+
/** `source:id` of every row whose station ID equals the query exactly — these lead the list. */
|
|
428
|
+
const exactIdMatches = new Set();
|
|
245
429
|
// Fetch CO-OPS and NDBC lists in parallel.
|
|
246
430
|
// `state` is a CO-OPS-only filter — NDBC buoys carry no state, so a state-scoped
|
|
247
431
|
// search must exclude them (otherwise state-less global buoys flood the results).
|
|
@@ -257,6 +441,26 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
257
441
|
: Promise.resolve(null),
|
|
258
442
|
includeNdbc ? ndbcSvc.getActiveStations(ctx) : Promise.resolve(null),
|
|
259
443
|
]);
|
|
444
|
+
// A rejected leg is a source the caller never got to search. Record it rather than
|
|
445
|
+
// letting the surviving source's rows read as the whole catalog.
|
|
446
|
+
const attempted = [];
|
|
447
|
+
const failed = [];
|
|
448
|
+
if (includeCoops) {
|
|
449
|
+
attempted.push('coops');
|
|
450
|
+
if (coopsResults.status === 'rejected')
|
|
451
|
+
failed.push('coops');
|
|
452
|
+
}
|
|
453
|
+
if (includeNdbc) {
|
|
454
|
+
attempted.push('ndbc');
|
|
455
|
+
if (ndbcResult.status === 'rejected')
|
|
456
|
+
failed.push('ndbc');
|
|
457
|
+
}
|
|
458
|
+
const answered = attempted.filter((s) => !failed.includes(s));
|
|
459
|
+
// Every catalog the search needed is down. Zero rows here is an upstream failure, not an
|
|
460
|
+
// empty search, so it must not be reported as one.
|
|
461
|
+
if (attempted.length > 0 && answered.length === 0) {
|
|
462
|
+
throw ctx.fail('sources_unavailable', `The ${failed.join(' and ')} station ${failed.length > 1 ? 'catalogs' : 'catalog'} could not be read, so no station list was searched.`, { ...ctx.recoveryFor('sources_unavailable'), failed_sources: failed });
|
|
463
|
+
}
|
|
260
464
|
// Process CO-OPS stations
|
|
261
465
|
if (coopsResults.status === 'fulfilled' && coopsResults.value) {
|
|
262
466
|
const [tideStations, currentStations, waterLevelStations] = coopsResults.value;
|
|
@@ -274,12 +478,34 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
274
478
|
addCapability(tideStations, 'tide');
|
|
275
479
|
addCapability(currentStations, 'current');
|
|
276
480
|
addCapability(waterLevelStations, 'water_level');
|
|
481
|
+
// The prediction class sits on a different axis in each catalog, so each is read from
|
|
482
|
+
// its own rows rather than from whichever row landed in the merged map first.
|
|
483
|
+
const tideRowById = new Map(tideStations.map((s) => [s.id, s]));
|
|
484
|
+
// `currentpredictions` publishes one row per depth bin, so a multi-bin station appears
|
|
485
|
+
// several times. Collect the bins onto one row, each keeping its own depth and class —
|
|
486
|
+
// stations that mix classes across their bins have no single station-level class.
|
|
487
|
+
const binsById = new Map();
|
|
488
|
+
for (const s of currentStations) {
|
|
489
|
+
if (s.currbin === undefined)
|
|
490
|
+
continue;
|
|
491
|
+
const bin = { bin: s.currbin, depth: s.depth ?? null };
|
|
492
|
+
if (s.depthType)
|
|
493
|
+
bin.depth_type = s.depthType;
|
|
494
|
+
const binClass = currentPredictionClass(s.type);
|
|
495
|
+
if (binClass)
|
|
496
|
+
bin.prediction_class = binClass;
|
|
497
|
+
const bins = binsById.get(s.id);
|
|
498
|
+
if (bins)
|
|
499
|
+
bins.push(bin);
|
|
500
|
+
else
|
|
501
|
+
binsById.set(s.id, [bin]);
|
|
502
|
+
}
|
|
277
503
|
for (const s of allCoops.values()) {
|
|
278
504
|
if (!matchesTypeFilter(s.capabilities))
|
|
279
505
|
continue;
|
|
280
506
|
if (input.state && s.state !== input.state)
|
|
281
507
|
continue;
|
|
282
|
-
if (
|
|
508
|
+
if (!matchesQuery(s.name, s.id))
|
|
283
509
|
continue;
|
|
284
510
|
const entry = {
|
|
285
511
|
station_id: s.id,
|
|
@@ -294,12 +520,24 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
294
520
|
entry.type = coopsType;
|
|
295
521
|
if (s.state)
|
|
296
522
|
entry.state = s.state;
|
|
523
|
+
const tideRow = tideRowById.get(s.id);
|
|
524
|
+
const predictionClass = tidePredictionClass(tideRow?.type);
|
|
525
|
+
if (predictionClass)
|
|
526
|
+
entry.prediction_class = predictionClass;
|
|
527
|
+
// A reference station's row carries `reference_id` as an empty string.
|
|
528
|
+
if (tideRow?.reference_id)
|
|
529
|
+
entry.reference_id = tideRow.reference_id;
|
|
530
|
+
const bins = binsById.get(s.id);
|
|
531
|
+
if (bins && bins.length > 0)
|
|
532
|
+
entry.bins = bins;
|
|
297
533
|
if (center) {
|
|
298
534
|
const dist = haversineKm(center.lat, center.lon, s.lat, s.lng);
|
|
299
535
|
if (dist > input.radius_km)
|
|
300
536
|
continue;
|
|
301
537
|
entry.distance_km = Math.round(dist * 10) / 10;
|
|
302
538
|
}
|
|
539
|
+
if (query && s.id.toLowerCase() === query)
|
|
540
|
+
exactIdMatches.add(`coops:${s.id}`);
|
|
303
541
|
results.push(entry);
|
|
304
542
|
}
|
|
305
543
|
}
|
|
@@ -309,13 +547,16 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
309
547
|
// Data capabilities come only from the NDBC catalog flags — never the platform class.
|
|
310
548
|
// `current_profile` is NDBC observed ocean currents (the .adcp profile
|
|
311
549
|
// noaa_marine_get_current_profile reads), named apart from CO-OPS `current` (tidal-current
|
|
312
|
-
// predictions) so both stay filterable without a one-letter collision.
|
|
313
|
-
//
|
|
550
|
+
// predictions) so both stay filterable without a one-letter collision. `water_quality` is
|
|
551
|
+
// the sub-surface water-column flag noaa_marine_get_ocean_observations reads. When every
|
|
552
|
+
// flag is off the list stays empty — a bare platform is not a fabricated "buoy" capability (#13).
|
|
314
553
|
const capabilities = [];
|
|
315
554
|
if (s.hasMet)
|
|
316
555
|
capabilities.push('met');
|
|
317
556
|
if (s.hasCurrents)
|
|
318
557
|
capabilities.push('current_profile');
|
|
558
|
+
if (s.hasWaterQuality)
|
|
559
|
+
capabilities.push('water_quality');
|
|
319
560
|
// Platform class (buoy/fixed/oilrig/dart/tao/usv/other) is a separate axis. Fold it into
|
|
320
561
|
// the tokens the filter matches so a `buoy` platform filter reaches bare platforms; only
|
|
321
562
|
// platform values present in the `types` enum (currently just `buoy`) are ever requestable.
|
|
@@ -323,7 +564,7 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
323
564
|
const matchTokens = platform ? [...capabilities, platform] : capabilities;
|
|
324
565
|
if (!matchesTypeFilter(matchTokens))
|
|
325
566
|
continue;
|
|
326
|
-
if (
|
|
567
|
+
if (!matchesQuery(s.name, s.id))
|
|
327
568
|
continue;
|
|
328
569
|
const entry = {
|
|
329
570
|
station_id: s.id,
|
|
@@ -344,35 +585,77 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
344
585
|
continue;
|
|
345
586
|
entry.distance_km = Math.round(dist * 10) / 10;
|
|
346
587
|
}
|
|
588
|
+
if (query && s.id.toLowerCase() === query)
|
|
589
|
+
exactIdMatches.add(`ndbc:${s.id}`);
|
|
347
590
|
results.push(entry);
|
|
348
591
|
}
|
|
349
592
|
}
|
|
350
|
-
// Sort: by distance if lat/lon provided, otherwise by name
|
|
593
|
+
// Sort: by distance if lat/lon provided, otherwise exact ID matches first, then by name.
|
|
594
|
+
// NDBC mirrors CO-OPS gauges under names that start with the CO-OPS number, so a plain
|
|
595
|
+
// name sort puts the mirror ahead of the station that actually carries the queried ID.
|
|
351
596
|
if (center) {
|
|
352
597
|
results.sort((a, b) => (a.distance_km ?? 9999) - (b.distance_km ?? 9999));
|
|
353
598
|
}
|
|
354
599
|
else {
|
|
355
|
-
|
|
600
|
+
const idRank = (r) => exactIdMatches.has(`${r.source}:${r.station_id}`) ? 0 : 1;
|
|
601
|
+
results.sort((a, b) => idRank(a) - idRank(b) || a.name.localeCompare(b.name));
|
|
356
602
|
}
|
|
357
603
|
const total_found = results.length;
|
|
604
|
+
const stations = results.slice(0, input.limit);
|
|
605
|
+
const truncated = stations.length < total_found;
|
|
606
|
+
// One notice reaches the caller, so every source of guidance composes into it —
|
|
607
|
+
// ctx.enrich.truncated() writes `notice` last-wins and would otherwise erase the rest.
|
|
608
|
+
const notices = [];
|
|
609
|
+
if (failed.length > 0) {
|
|
610
|
+
const report = { answered, attempted, failed };
|
|
611
|
+
ctx.enrich({ sources: report });
|
|
612
|
+
notices.push(`The ${failed.join(' and ')} ${failed.length > 1 ? 'catalogs' : 'catalog'} could not be read, so these results cover ${answered.join(' and ')} only — a station carried only by ${failed.join(' or ')} is missing from them.`);
|
|
613
|
+
}
|
|
358
614
|
if (total_found === 0) {
|
|
359
|
-
|
|
360
|
-
|
|
615
|
+
const applied = {
|
|
616
|
+
catalogs_read: answered,
|
|
617
|
+
source: input.source,
|
|
618
|
+
...(center ? { center: { latitude: center.lat, longitude: center.lon } } : {}),
|
|
619
|
+
...(center ? { radius_km: input.radius_km } : {}),
|
|
620
|
+
...(query ? { query } : {}),
|
|
621
|
+
...(input.state ? { state: input.state } : {}),
|
|
622
|
+
...(typeFilter
|
|
623
|
+
? {
|
|
624
|
+
types: [...typeFilter],
|
|
625
|
+
types_by_source: {
|
|
626
|
+
coops: typeFilter.filter((t) => COOPS_FILTER_VALUES.includes(t)),
|
|
627
|
+
ndbc: typeFilter.filter((t) => NDBC_FILTER_VALUES.includes(t)),
|
|
628
|
+
},
|
|
629
|
+
}
|
|
630
|
+
: {}),
|
|
631
|
+
};
|
|
632
|
+
ctx.enrich({ applied_search: applied });
|
|
633
|
+
notices.push(describeEmptySearch(applied));
|
|
634
|
+
}
|
|
635
|
+
if (truncated) {
|
|
636
|
+
ctx.enrich.truncated({
|
|
637
|
+
shown: stations.length,
|
|
638
|
+
cap: input.limit,
|
|
639
|
+
ceiling: total_found,
|
|
640
|
+
guidance: [
|
|
641
|
+
`Showing ${stations.length} of ${total_found} matches — raise limit (max 200) or narrow the filters to reach the rest.`,
|
|
642
|
+
...notices,
|
|
643
|
+
].join(' '),
|
|
361
644
|
});
|
|
362
645
|
}
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
ctx.enrich.truncated({ shown: stations.length, cap: input.limit, ceiling: total_found });
|
|
646
|
+
else if (notices.length > 0) {
|
|
647
|
+
ctx.enrich.notice(notices.join(' '));
|
|
366
648
|
}
|
|
367
649
|
ctx.log.info('Station search complete', {
|
|
368
650
|
total_found,
|
|
369
651
|
returned: stations.length,
|
|
370
652
|
source: input.source,
|
|
653
|
+
failed_sources: failed,
|
|
371
654
|
});
|
|
372
655
|
return {
|
|
373
656
|
stations,
|
|
374
657
|
total_found,
|
|
375
|
-
...(
|
|
658
|
+
...(truncated ? { truncated: true } : {}),
|
|
376
659
|
};
|
|
377
660
|
},
|
|
378
661
|
format: (result) => {
|
|
@@ -385,7 +668,21 @@ export const noaaMarineFindStations = tool('noaa_marine_find_stations', {
|
|
|
385
668
|
const state = s.state ? ` · ${s.state}` : '';
|
|
386
669
|
const typeStr = s.type ? ` · **Type:** ${s.type}` : '';
|
|
387
670
|
const platformStr = s.platform ? ` · **Platform:** ${s.platform}` : '';
|
|
388
|
-
|
|
671
|
+
const classStr = s.prediction_class ? ` · **Prediction class:** ${s.prediction_class}` : '';
|
|
672
|
+
lines.push(`### ${s.name} (${s.station_id})`, `**Source:** ${s.source.toUpperCase()}${typeStr}${platformStr}${classStr}${dist}${state}`, `**Coordinates:** ${s.latitude}, ${s.longitude}`, `**Capabilities:** ${s.capabilities.length > 0 ? s.capabilities.join(', ') : 'none reported'}`);
|
|
673
|
+
if (s.bins && s.bins.length > 0) {
|
|
674
|
+
const bins = s.bins.map((b) => {
|
|
675
|
+
const depth = b.depth !== null ? `${b.depth} ft` : 'depth not published';
|
|
676
|
+
const depthType = b.depth_type ? `, ${b.depth_type}` : '';
|
|
677
|
+
const binClass = b.prediction_class ? `, ${b.prediction_class}` : '';
|
|
678
|
+
return `${b.bin} (${depth}${depthType}${binClass})`;
|
|
679
|
+
});
|
|
680
|
+
lines.push(`**Current bins:** ${bins.join(' · ')}`);
|
|
681
|
+
}
|
|
682
|
+
if (s.reference_id) {
|
|
683
|
+
lines.push(`**Reference station:** ${s.reference_id}`);
|
|
684
|
+
}
|
|
685
|
+
lines.push('');
|
|
389
686
|
}
|
|
390
687
|
return [{ type: 'text', text: lines.join('\n') }];
|
|
391
688
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noaa-marine-find-stations.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/noaa-marine-find-stations.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,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,0DAA0D;AAC1D,SAAS,WAAW,CAAC,IAAY,EAAE,IAAY,EAAE,IAAY,EAAE,IAAY;IACzE,MAAM,CAAC,GAAG,IAAI,CAAC;IACf,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC;IAC7C,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC;IAC7C,MAAM,CAAC,GACL,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC;QACvB,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;IAChG,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,WAAW,GAAG;IAClB,IAAI;IACJ,IAAI;IACJ,IAAI;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,CAAC;YACvD,MAAM,WAAW,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACvE,KAAK,CAAC,IAAI,CACR,OAAO,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,UAAU,GAAG,EACjC,eAAe,CAAC,CAAC,MAAM,CAAC,WAAW,EAAE,GAAG,OAAO,GAAG,WAAW,GAAG,IAAI,GAAG,KAAK,EAAE,EAC9E,oBAAoB,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,EAAE,EAChD,qBAAqB,CAAC,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,eAAe,EAAE,EAC9F,EAAE,CACH,CAAC;QACJ,CAAC;QACD,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACpD,CAAC;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"noaa-marine-find-stations.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/noaa-marine-find-stations.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,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,0DAA0D;AAC1D,SAAS,WAAW,CAAC,IAAY,EAAE,IAAY,EAAE,IAAY,EAAE,IAAY;IACzE,MAAM,CAA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