Skip to main content
Glama

generate_epw

Start an actual-year (AMY) EPW + DDY + STAT for any point, 1990 to last year. 1 credit; +2 with urban_street_level (53 US cities: hourly street-level air temperature from citizen stations). station_id (from get_nearest_stations) builds the year from that station instead of the nearest usable one. Returns a job_id; poll with get_job_result.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lat": "<lat>",
      "lon": "<lon>",
      "year": "<year>",
      "api_key": "<api_key>"
    },
    "name": "generate_epw"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes
yearYes
api_keyYes
dc_editionNo2025
station_idNo
data_sourceNomerra2
location_nameNoSite
urban_street_levelNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / station_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Station Id"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, and idempotentHint=false, so the safety profile is covered. The description adds real value beyond that: a credit cost model, the +2 surcharge condition, the async job_id return, and the required follow-up poll with get_job_result. It doesn't mention failure modes or how long jobs take, keeping it below a 5.

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?

Four tightly packed sentences, front-loaded with what the tool produces and its time range. Parentheticals carry cost and coverage constraints without waste, and the async handoff is stated last where an agent needs it.

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

Completeness3/5

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

For a 9-parameter async generation tool this covers the essentials: cost, job polling, year range, and the station/urban options, and an output schema exists so return shape needn't be spelled out. The gap is the undocumented data_source and dc_edition parameters, where an agent has no idea what values are legal or what changing them does.

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?

Schema description coverage is 0% across 9 parameters, so the description carries the burden. It explains station_id (builds the year from that station), urban_street_level (street-level air temperature, 53 US cities, +2 credits), and year bounds (1990 to last year), and implies lat/lon via 'any point'. However data_source, dc_edition, location_name, and api_key get no semantics at all, leaving key defaults and valid values undocumented.

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

Purpose5/5

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

States a specific verb and resource set ('Start an actual-year (AMY) EPW + DDY + STAT for any point, 1990 to last year'), which distinguishes it from neighbors like generate_tmy, generate_forecast, and generate_future_climate. An agent can tell what artifact it produces and for which time model without opening the schema.

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

Usage Guidelines4/5

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

Gives clear operational context: credit cost ('1 credit; +2 with urban_street_level'), the 53 US city restriction, and the station_id alternative sourced from get_nearest_stations. It also says to poll with get_job_result. It stops short of explicitly contrasting when to choose this over generate_tmy or generate_forecast, so it's clear but not fully exclusive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.