Skip to main content
Glama
RyanCardin15

LocalTides MCP Server

get_high_tide_flooding_seasonal

Retrieve seasonal high tide flooding data for a specific station, including flood counts, threshold levels, and time periods, in JSON, XML, or CSV format.

Instructions

Get high tide flooding seasonal count data for a station

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
begin_dateNoStart date (YYYYMMDD format)
datumNoDatum reference for DPAPI
end_dateNoEnd date (YYYYMMDD format)
formatNoOutput format (json, xml, csv)
season_monthsNoSeason months (DJF-Winter, MAM-Spring, JJA-Summer, SON-Fall)
stationYesStation ID
thresholdNoFlood threshold level
yearNoYear for analysis (YYYY format)

Implementation Reference

  • Registers the MCP tool 'get_high_tide_flooding_seasonal' with FastMCP server, including description, input schema, and a thin handler that calls the DpapiService and returns JSON.
    server.addTool({
      name: 'get_high_tide_flooding_seasonal',
      description: 'Get high tide flooding seasonal count data for a station',
      parameters: HighTideFloodingSeasonalSchema,
      execute: async (params) => {
        try {
          const result = await dpapiService.getHighTideFloodingSeasonal(params);
          return JSON.stringify(result);
        } catch (error) {
          if (error instanceof Error) {
            throw new Error(`Failed to get high tide flooding seasonal data: ${error.message}`);
          }
          throw new Error('Failed to get high tide flooding seasonal data');
        }
      }
    });
  • Defines the Zod input validation schema for the tool's parameters, including station, format, datum, threshold, season, and date filters.
    export const HighTideFloodingSeasonalSchema = z.object({
      station: StationSchema,
      format: FormatSchema,
      datum: DpapiDatumSchema,
      threshold: ThresholdSchema,
      season_months: SeasonSchema,
      begin_date: z.string().optional().describe('Start date (YYYYMMDD format)'),
      end_date: z.string().optional().describe('End date (YYYYMMDD format)'),
      year: YearSchema
    }).describe('Get high tide flooding seasonal count data');
  • Service method that handles the core API call to NOAA's Derived Product API endpoint '/htf/seasonal' for seasonal high tide flooding data.
    async getHighTideFloodingSeasonal(params: Record<string, any>): Promise<any> {
      const { station, format = 'json', ...rest } = params;
      
      return this.fetchDpapi('/htf/seasonal', {
        station,
        format,
        ...rest
      });
    }
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. While 'Get' implies a read operation, it doesn't address important behavioral aspects: whether authentication is required, rate limits, error handling, response format details, or data freshness. For a tool with 8 parameters and no output schema, this leaves significant gaps in understanding how the tool behaves.

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

Conciseness5/5

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

The description is perfectly concise - a single sentence that directly states the tool's purpose without any unnecessary words. It's front-loaded with the core functionality and wastes no space on redundant information. Every word earns its place in this efficient formulation.

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

Completeness2/5

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

For a tool with 8 parameters, no annotations, and no output schema, the description is insufficiently complete. It doesn't explain what 'seasonal count data' means in practice, how the results are structured, or provide any context about the data source or limitations. The agent must rely entirely on the input schema for parameter understanding and has no guidance about output format or content.

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?

The description adds minimal value beyond what the schema already provides. With 100% schema description coverage, all parameters are well-documented in the schema itself. The description mentions 'seasonal count data' which hints at the 'season_months' parameter's purpose, but doesn't provide additional context about parameter interactions or usage patterns beyond what's in the schema descriptions.

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

Purpose4/5

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

The description clearly states the tool's purpose: 'Get high tide flooding seasonal count data for a station'. It specifies the verb ('get'), resource ('high tide flooding seasonal count data'), and scope ('for a station'), making it easy to understand what the tool does. However, it doesn't explicitly differentiate from sibling tools like 'get_high_tide_flooding_annual' or 'get_high_tide_flooding_monthly', which prevents a perfect score.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. With multiple sibling tools for high tide flooding data (annual, daily, monthly, likelihoods, projections), the agent receives no help in selecting this seasonal count tool over others. There's no mention of use cases, prerequisites, or comparative context.

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

Install Server

Other Tools

Related Tools

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