Skip to main content
Glama

Magnetic connection to the Sun

get_magnetic_connection
Read-onlyIdempotent

Trace a spacecraft or Earth magnetic connection to the Sun, returning the photospheric footpoint, expansion factor, coronal-hole distance, and WSA solar-wind speed for source-region and SEP analysis.

Instructions

Get where a spacecraft or Earth connects magnetically to the Sun, from HelioField's daily PFSS product: Parker spiral to the source surface, then the field line down to its photospheric footpoint (Carrington lon/lat), with expansion factor, distance to the coronal-hole boundary and a WSA-type speed.

Use for source-region and solar-energetic-particle connectivity questions. The plain Parker-spiral footpoint, without the coronal field, is in get_position. Daily products cover roughly the last two months; other dates return links to the page, which computes any date since 2010-05-01. Model output, not an observation.

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

Input Schema

NameRequiredDescriptionDefault
bodyNoearth, psp, solo, bepi, sta, aditya, ace, wind, imap, swfo, or 'all'; names such as 'Parker' also work.all
dateNoUTC date (2026-11-19, or a full ISO time) or 'latest' for the newest daily product.latest
self_consistentNoPick, per body, the wind speed that matches its own WSA estimate.
solar_wind_km_sNoWind speed for the Parker spiral (km/s); ignored when self_consistent is true.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, open-world behavior, and the description adds genuinely new context: the result is model output rather than observation, the daily product window is about two months, and out-of-range dates return links to a page that computes from 2010-05-01. It also previews the returned quantities (expansion factor, coronal-hole boundary distance, WSA-type speed). It stops short of describing failure modes or latency, but the incremental value is substantial.

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?

Three short paragraphs, front-loaded with the purpose before provenance and date caveats; almost every clause carries information an agent needs. The density of model terminology (PFSS, source surface, Carrington lon/lat) makes it slightly heavy, but nothing is filler.

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?

An output schema exists, so the description need not document return fields, yet it still names key outputs. Data provenance, validity window, and the non-obvious fallback for old dates are all covered, leaving only minor gaps such as deprecation or rate-limit behavior.

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%, including the body name aliases, the date formats, and the note that solar_wind_km_s is ignored when self_consistent is true, so the schema does the heavy lifting. The description adds only indirect meaning by explaining that the pipeline uses a Parker spiral whose speed these parameters control; the baseline 3 is appropriate.

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 ('Get where a spacecraft or Earth connects magnetically to the Sun') and names the exact model chain (PFSS, Parker spiral, source surface, photospheric footpoint). It explicitly distinguishes itself from the sibling get_position, which returns the plain Parker-spiral footpoint without the coronal field.

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

Usage Guidelines5/5

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

Gives an explicit use case ('source-region and solar-energetic-particle connectivity questions') and routes the agent to get_position when the coronal field is not needed. It also states the freshness boundary (roughly the last two months) and what happens for older dates, so the agent knows when the call will degrade to links.

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