Skip to main content
Glama

Kp history

get_kp_history
Read-onlyIdempotent

Answers "were there magnetic storms yesterday / this week / this month?", "what was the strongest storm lately?". What the planetary K index did over the last 24 hours (hourly peaks of the NOAA estimate), 7 days (three-hourly values) or 30 days (daily peaks), in the asker's time zone, with the maximum and how many values reached a storm. Gaps are null, not zero. Geophysical data only; no health information.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_kp_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNo24h: hourly peaks; 7d: three-hourly values; 30d: daily peaks. Defaults to 24h. The service keeps 30 days.
timeZoneNoIANA time zone of the person asking, such as Europe/Moscow or America/New_York. Local times and days use it. Defaults to UTC.

Output Schema

NameRequiredDescriptionDefault
maxYesThe highest value of the period and when.
staleYes
periodYes
valuesYesOldest first.
sourcesYesWhere the data comes from and on what terms.
timeZoneYes
resolutionYesHow long each value covers.
stormCountYesHow many of the values reached a storm, G1 or above.
generatedAtYes
missingCountYesHow many of the values have nothing measured.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the read-only/idempotent annotations: it discloses the aggregation granularity per period (hourly peaks, three-hourly values, daily peaks), that results are converted to the asker's time zone, that gaps are null rather than zero, and that data is retained for only 30 days. The 'geophysical data only; no health information' line also bounds the domain, which prevents misuse.

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?

Front-loaded with the user questions it answers, then the behavioral detail. Dense but nearly every clause carries information; the scope disclaimer at the end is short enough to justify itself.

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

Completeness5/5

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

For a read-only historical data tool with a full input schema and an output schema, the description covers granularity, time-zone handling, null semantics, retention window, and domain scope. Nothing an agent needs in order to call it or interpret results is missing.

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 coverage is 100% and the schema already spells out what each period value means and what timeZone does, so the description's period/time-zone remarks are largely restatements. The baseline 3 applies; the description adds only the retention hint, which is also present in the schema.

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?

Names the exact resource (planetary K index) and what it returns historically per period, framed by the concrete questions it answers. The word 'history' plus the past-tense framing separates it from forecast siblings like get_kp_forecast_3day without needing to name them.

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?

The opening question examples ('were there magnetic storms yesterday / this week / this month?', 'what was the strongest storm lately?') give a clear picture of when to reach for this tool. It stops short of naming an alternative or stating when not to use it, so it sits just below the top band.

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