Skip to main content
Glama

Solar flares and X-rays

get_solar_flares
Read-onlyIdempotent

Answers "were there solar flares today?", "was there an X-class flare?", "is the Sun active?". The GOES X-ray level now (and whether it is current), the strongest X-ray flux of the last 24, 72 or 168 hours with its NOAA radio blackout level, and the solar flares NOAA recorded in that time: class, begin, peak and end, and whether one is in progress. Times in the asker's time zone. Data from NOAA SWPC.

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_solar_flares"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoHow far back to look: 24, 72 or 168 hours. Defaults to 24.
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
peakYesThe highest X-ray flux of the period; at is the start of its 5-minute bucket for 24 hours, its hour for longer periods.
hoursYes
staleYes
flaresYesFlares that began in the period, newest first.
sourcesYesWhere the data comes from and on what terms.
summaryYes
xrayNowYes
timeZoneYes
generatedAtYes
flaresTruncatedYesTrue when only the 100 most recent flares are listed and older ones in the period are left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the safety profile is covered. The description adds value by disclosing that the current X-ray level includes a 'whether it is current' freshness signal, that a flare may be 'in progress', that times are converted to the asker's time zone, and that the data is NOAA SWPC — details annotations cannot carry.

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?

It is front-loaded with the user questions, then enumerates the returned data in one dense but well-ordered sentence. Every clause maps to concrete output content (level, strongest flux, blackout level, class/begin/peak/end) with no filler.

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?

With an output schema present, the description needn't explain return values, yet it still sketches them (X-ray level, strongest flux, NOAA radio blackout level, flare timing), which is more than sufficient for a two-optional-parameter read tool whose annotations cover safety.

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 both parameters are already fully documented, which sets the baseline at 3. The description reinforces the allowed windows (24, 72, 168 hours) and the time-zone behavior, but adds no syntax or format detail beyond 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?

The description names a specific verb and resource (retrieving solar flares and GOES X-ray flux) and frames it with the exact questions it answers, such as 'were there solar flares today?' and 'was there an X-class flare?'. It also names the data source (NOAA SWPC), which no sibling in the list (geomagnetic, Kp, moon, outlook) covers, so the agent can distinguish it easily.

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 question-based framing gives clear implied context: use this for flare/activity/X-class questions, and the 'last 24, 72 or 168 hours' phrasing implies the intended time scales. What's missing is an explicit exclusion or a named alternative, though the sibling set doesn't appear to overlap in topic.

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