Skip to content
Eden Engine

Portugal 5-Day Weather Forecast by Location (IPMA)

ipma/forecast

The IPMA daily forecast for one Portuguese location (a locationId from the locations tool, for example 1110600 for Lisbon): for each of about five days the minimum and maximum temperature in degrees Celsius, the probability of precipitation in percent, the precipitation intensity class (0 none, 1 weak, 2 moderate, 3 strong; only on some days), the predominant wind direction, the wind speed class (1 weak, 2 moderate, 3 strong, 4 very strong) and the weather type id (described by the weather-types tool), plus the location's latitude and longitude and the update time as published. Values IPMA marks as not available are null. Source: IPMA, Instituto Português do Mar e da Atmosfera, open data. Modified by Eden Engine (fields renamed, numbers converted, sentinel values removed). Served by Eden Engine; not an official IPMA service.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

IPMA

Source: IPMA, Instituto Português do Mar e da Atmosfera (https://www.ipma.pt), open data. Modified by Eden Engine (fields renamed, numbers converted, sentinel values removed). Served by Eden Engine; not an official IPMA service.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "ipma/forecast" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "ipma/forecast" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "ipma/forecast", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "ipma/forecast", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "locationId"
  ],
  "properties": {
    "locationId": {
      "type": "integer",
      "maximum": 9999999,
      "minimum": 1000000,
      "description": "IPMA location code from the locations tool, for example 1110600 (Lisbon) or 1131200 (Porto)."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "locationId",
    "days"
  ],
  "properties": {
    "days": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "date"
        ],
        "properties": {
          "date": {
            "type": [
              "string",
              "null"
            ],
            "description": "Forecast date, YYYY-MM-DD."
          },
          "weatherTypeId": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Weather type id; the weather-types tool gives the description."
          },
          "windDirection": {
            "type": [
              "string",
              "null"
            ],
            "description": "Predominant wind direction as a compass abbreviation, for example N, NW."
          },
          "windSpeedClass": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Wind speed class: 1 weak, 2 moderate, 3 strong, 4 very strong."
          },
          "maxTemperatureC": {
            "type": [
              "number",
              "null"
            ],
            "description": "Maximum air temperature in degrees Celsius."
          },
          "minTemperatureC": {
            "type": [
              "number",
              "null"
            ],
            "description": "Minimum air temperature in degrees Celsius."
          },
          "precipitationIntensityClass": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Precipitation intensity class: 0 none, 1 weak, 2 moderate, 3 strong. Null when IPMA gives none for the day."
          },
          "precipitationProbabilityPercent": {
            "type": [
              "number",
              "null"
            ],
            "description": "Probability of precipitation in percent (0 to 100)."
          }
        },
        "additionalProperties": false
      },
      "description": "One entry per forecast day, in date order."
    },
    "latitude": {
      "type": [
        "number",
        "null"
      ],
      "description": "Latitude in degrees (WGS84)."
    },
    "longitude": {
      "type": [
        "number",
        "null"
      ],
      "description": "Longitude in degrees (WGS84)."
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "When IPMA last updated the forecast, as published (local time, no zone offset)."
    },
    "locationId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The location code."
    }
  },
  "additionalProperties": false
}