Skip to main content
Glama

get_high_tide_flooding_projections

Generate high tide flooding projections for specific decades based on sea level rise scenarios, flood thresholds, and station data. Output available in JSON, XML, or CSV formats.

Instructions

Get high tide flooding decadal projections for sea level rise scenarios

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datumNoDatum reference for DPAPI
decadeNoDecade for projections (e.g., "2050")
formatNoOutput format (json, xml, csv)
scenarioNoSea level rise scenario
stationYesStation ID
thresholdNoFlood threshold level

Implementation Reference

  • Core handler function implementing the tool logic by calling the NOAA DPAPI /htf/projections endpoint with processed parameters.
    async getHighTideFloodingProjections(params: Record<string, any>): Promise<any> { const { station, scenario = 'all', format = 'json', ...rest } = params; return this.fetchDpapi('/htf/projections', { station, scenario, format, ...rest }); }
  • Zod schema for input validation of the get_high_tide_flooding_projections tool parameters.
    export const HighTideFloodingProjectionsSchema = z.object({ station: StationSchema, format: FormatSchema, scenario: ScenarioSchema, datum: DpapiDatumSchema, threshold: ThresholdSchema, decade: DecadeSchema }).describe('Get high tide flooding decadal projections');
  • MCP tool registration including name, description, schema reference, and thin execute wrapper delegating to the service handler.
    server.addTool({ name: 'get_high_tide_flooding_projections', description: 'Get high tide flooding decadal projections for sea level rise scenarios', parameters: HighTideFloodingProjectionsSchema, execute: async (params) => { try { const result = await dpapiService.getHighTideFloodingProjections(params); return JSON.stringify(result); } catch (error) { if (error instanceof Error) { throw new Error(`Failed to get high tide flooding projections: ${error.message}`); } throw new Error('Failed to get high tide flooding projections'); } } });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RyanCardin15/NOAA-TidesAndCurrents-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server