Sports
US Sailplane IGC / XCscore / FAI Badge Flight Validator
Parse an FAI IGC flight-recorder file (A/H/I/C/B/F/L/G records) end to end and audit it like a badge secretary: takeoff/release/landing detection (ENL engine-noise or tow kinematics), total altitude gain, OLC/XCscore-style optimal free distance over the convex hull, best FAI triangle against the 28% shortest-side rule, out-and-return distance, pre-flight C-record declaration chain (declared-before-takeoff, task shape, FAI triangle check), loss-of-height rules, and the G-record security audit with signed-stream coverage reconstruction (H O/P and non-manufacturer L records excluded per the IGC specification). Evaluates Silver / Gold / Diamond badge elements and the 750 km + 250 km diploma ladder.
Quick start
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/us-sailplane-soaring-xcscore-flight-igc-fai-badge-declaration-validator' \
-H 'Content-Type: application/json' \
-d '{"source":"demo-silver-300-alpine","igcText":"AFLA123\r\nHFDTE240925\r\n...","claimTurnpoints":5}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
POST https://api.elysiatools.com/en/api/tools/us-sailplane-soaring-xcscore-flight-igc-fai-badge-declaration-validatorParameters
| Name | Type | Required | Description |
|---|---|---|---|
| source | select | No | — |
| igcText | textarea | No | — |
| claimTurnpoints | number | No | — |
Response format
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}MCP integration
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Server configuration
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-us-sailplane-soaring-xcscore-flight-igc-fai-badge-declaration-validator": {
"name": "us-sailplane-soaring-xcscore-flight-igc-fai-badge-declaration-validator",
"description": "Parse an FAI IGC flight-recorder file (A/H/I/C/B/F/L/G records) end to end and audit it like a badge secretary: takeoff/release/landing detection (ENL engine-noise or tow kinematics), total altitude gain, OLC/XCscore-style optimal free distance over the convex hull, best FAI triangle against the 28% shortest-side rule, out-and-return distance, pre-flight C-record declaration chain (declared-before-takeoff, task shape, FAI triangle check), loss-of-height rules, and the G-record security audit with signed-stream coverage reconstruction (H O/P and non-manufacturer L records excluded per the IGC specification). Evaluates Silver / Gold / Diamond badge elements and the 750 km + 250 km diploma ladder.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=us-sailplane-soaring-xcscore-flight-igc-fai-badge-declaration-validator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "us-sailplane-soaring-xcscore-flight-igc-fai-badge-declaration-validator",
"arguments": {
"source": "demo-silver-300-alpine",
"igcText": "AFLA123\r\nHFDTE240925\r\n...",
"claimTurnpoints": 5
}
}
}