Skip to main content
Glama

Get Migraine Barometric Pressure Risk

get_migraine_pressure_risk
Read-onlyIdempotent

Returns current and upcoming 72-hour barometric pressure-drop migraine risk (low/moderate/elevated/critical), peak 6-hour drop velocity (Δ6h), onset window, sea-level MSL + high-elevation ambient surface pressure, localized US AQI / Canadian AQHI, and active NOAA NWS alerts for any global city or 5-digit US ZIP code.

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": {
      "location": "<location>"
    },
    "name": "get_migraine_pressure_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNoOptional display unit override. Defaults to inHg for US locations and hPa for Canada, UK, Australia, and international cities.
locationYesCity name, city + state/country, or 5-digit US ZIP code (e.g. "London", "Denver, CO", "Toronto, ON", "80202").
threshold_hpaNoOptional custom migraine sensitivity threshold in hPa over 6 hours (default 4.5 hPa / 0.13 inHg).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior1/5

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

The annotations declare openWorldHint=false, but the description states the tool returns active NOAA NWS alerts and localized AQI/AQHI for any global city, implying interaction with an open world of external live data. This is a direct contradiction of the openWorldHint annotation.

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

Conciseness4/5

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

The description is a single front-loaded sentence that packs in the core value and output list with no wasted words. It is dense and could be split for readability, but every clause contributes useful information.

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

Completeness4/5

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

With no output schema, the description carries the burden of describing return values and does so thoroughly by listing risk tiers, Δ6h drop velocity, onset window, pressure types, AQI/AQHI, and NOAA alerts. It doesn't cover refresh cadence or error behavior, but it is otherwise complete for a read-only weather-risk lookup.

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 100%, so the schema already documents all three parameters. The description repeats accepted location formats (global city or 5-digit US ZIP) and lists output fields, but adds no new meaning beyond the schema for unit or threshold_hpa.

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 uses a specific verb ('Returns') and resource ('migraine barometric pressure risk'), and details the output dimensions and location scope. It does not explicitly distinguish this tool from the sibling get_72h_pressure_drops, which likely returns raw pressure drops, so it misses full sibling differentiation.

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 implies it is for any global city or 5-digit US ZIP code, but offers no explicit guidance on when to use this tool versus alternatives such as get_72h_pressure_drops. No when-not-to-use or prerequisite information is provided.

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.

Resources