Skip to main content
Glama

BRAINIAC Aviation & Airport Operations Intelligence

Check aviation document expiry

aviation-intelligence_document-expiry-check
Read-onlyIdempotent

Compare caller-supplied document expiry dates to asOf and flag expired or soon-expiring items. Regulatory compliance is not determined. Price $0.03 USDC. POST /api/v1/aviation-intelligence/document-expiry-check. An unpaid call returns the x402 payment terms and does not run.

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": "aviation-intelligence_document-expiry-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNocsv, string, length 0 to 200000. Optional.
asOfNoasOf, string, length 0 to 40. Optional.
fileNofile, object. Optional.
jsonNojson, string, length 0 to 200000. Optional.
textNotext, string, length 0 to 200000. Optional.
filesNofiles, array. Optional.
flightsNoflights, array. Optional.
openSkyNoopenSky, object. Optional.
documentsNodocuments, array. Optional.
diversionsNodiversions, array. Optional.
connectionsNoconnections, array. Optional.
groundTimesNogroundTimes, array. Optional.
registrationsNoregistrations, array. Optional.
emissionFactorsNoemissionFactors, array. Optional.
maintenanceLogsNomaintenanceLogs, array. Optional.
expiryWarningDaysNoexpiryWarningDays, number, from 0 to 3650. Optional.

Output Schema

NameRequiredDescriptionDefault
itemsNoitems. Array.
statusNostatus. String.
findingsNofindings. Array.
checkedAtNocheckedAt. String.
limitationsNolimitations. Array.
expiredCountNoexpiredCount. Number.
documentCountNodocumentCount. Number.
apiKeyRequiredNoapiKeyRequired. Boolean.
openSkyFetchedNoopenSkyFetched. Boolean.
paidProviderUsedNopaidProviderUsed. Boolean.
expiringSoonCountNoexpiringSoonCount. Number.
paidFlightTrackingUsedNopaidFlightTrackingUsed. Boolean.
authenticatedAirlineSystemUsedNoauthenticatedAirlineSystemUsed. Boolean.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed117 schema fields changed
    • addedInput schema / properties / asOf / description
      Added value: +"asOf, string, length 0 to 40. Optional."
    • addedInput schema / properties / connections / description
      Added value: +"connections, array. Optional."
    • addedInput schema / properties / connections / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / connections / items / properties / airport / description
      Added value: +"airport, string, length 0 to 8. Optional."
    • addedInput schema / properties / connections / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / connections / items / properties / inboundFlightId / description
      Added value: +"inboundFlightId, string, length 0 to 80. Optional."
    • addedInput schema / properties / connections / items / properties / minimumConnectMinutes / description
      Added value: +"minimumConnectMinutes, number, from 0 to 1440. Optional."
    • addedInput schema / properties / connections / items / properties / outboundFlightId / description
      Added value: +"outboundFlightId, string, length 0 to 80. Optional."
    • addedInput schema / properties / connections / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • removedInput schema / properties / connections / maxItems
      Removed value: -2000
    • addedInput schema / properties / csv / description
      Added value: +"csv, string, length 0 to 200000. Optional."
    • addedInput schema / properties / diversions / description
      Added value: +"diversions, array. Optional."
    • addedInput schema / properties / diversions / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / diversions / items / properties / diversionAirport / description
      Added value: +"diversionAirport, string, length 0 to 8. Optional."
    • addedInput schema / properties / diversions / items / properties / divertedAt / description
      Added value: +"divertedAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / diversions / items / properties / finalDestination / description
      Added value: +"finalDestination, string, length 0 to 8. Optional."
    • addedInput schema / properties / diversions / items / properties / flightId / description
      Added value: +"flightId, string, length 0 to 80. Optional."
    • addedInput schema / properties / diversions / items / properties / flightNumber / description
      Added value: +"flightNumber, string, length 0 to 20. Optional."
    • addedInput schema / properties / diversions / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / diversions / items / properties / plannedDestination / description
      Added value: +"plannedDestination, string, length 0 to 8. Optional."
    • addedInput schema / properties / diversions / items / properties / reason / description
      Added value: +"reason, string, length 0 to 200. Optional."
    • addedInput schema / properties / diversions / items / properties / resumedAt / description
      Added value: +"resumedAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / diversions / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • removedInput schema / properties / diversions / maxItems
      Removed value: -2000
    • addedInput schema / properties / documents / description
      Added value: +"documents, array. Optional."
    • addedInput schema / properties / documents / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / documents / items / properties / documentType / description
      Added value: +"documentType, string, length 0 to 80. Optional."
    • addedInput schema / properties / documents / items / properties / expiresAt / description
      Added value: +"expiresAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / documents / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / documents / items / properties / issuedAt / description
      Added value: +"issuedAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / documents / items / properties / registration / description
      Added value: +"registration, string, length 0 to 20. Optional."
    • addedInput schema / properties / documents / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • addedInput schema / properties / documents / items / properties / subject / description
      Added value: +"subject, string, length 0 to 160. Optional."
    • removedInput schema / properties / documents / maxItems
      Removed value: -2000
    • addedInput schema / properties / emissionFactors / description
      Added value: +"emissionFactors, array. Optional."
    • addedInput schema / properties / emissionFactors / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / emissionFactors / items / properties / aircraftType / description
      Added value: +"aircraftType, string, length 0 to 40. Optional."
    • addedInput schema / properties / emissionFactors / items / properties / kgCo2PerKm / description
      Added value: +"kgCo2PerKm, number, from 0 to 1000. Optional."
    • addedInput schema / properties / emissionFactors / items / properties / kgCo2PerPassengerKm / description
      Added value: +"kgCo2PerPassengerKm, number, from 0 to 10. Optional."
    • addedInput schema / properties / emissionFactors / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • removedInput schema / properties / emissionFactors / maxItems
      Removed value: -200
    • addedInput schema / properties / expiryWarningDays / description
      Added value: +"expiryWarningDays, number, from 0 to 3650. Optional."
    • addedInput schema / properties / file / description
      Added value: +"file, object. Optional."
    • addedInput schema / properties / file / properties / fileBase64 / description
      Added value: +"fileBase64, string, length 1 to 12000000. Required."
    • addedInput schema / properties / file / properties / filename / description
      Added value: +"filename, string, length 1 to 180. Optional."
    • addedInput schema / properties / file / properties / mediaType / description
      Added value: +"mediaType, string, one of text/plain, text/csv, application/json, application/octet-stream. Optional."
    • addedInput schema / properties / file / properties / role / description
      Added value: +"role, string, length 0 to 80. Optional."
    • addedInput schema / properties / files / description
      Added value: +"files, array. Optional."
    • addedInput schema / properties / files / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / files / items / properties / fileBase64 / description
      Added value: +"fileBase64, string, length 1 to 12000000. Required."
    • addedInput schema / properties / files / items / properties / filename / description
      Added value: +"filename, string, length 1 to 180. Optional."
    • addedInput schema / properties / files / items / properties / mediaType / description
      Added value: +"mediaType, string, one of text/plain, text/csv, application/json, application/octet-stream. Optional."
    • addedInput schema / properties / files / items / properties / role / description
      Added value: +"role, string, length 0 to 80. Optional."
    • removedInput schema / properties / files / maxItems
      Removed value: -20
    • addedInput schema / properties / flights / description
      Added value: +"flights, array. Optional."
    • addedInput schema / properties / flights / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / flights / items / properties / actualArrivalAt / description
      Added value: +"actualArrivalAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / flights / items / properties / actualDepartureAt / description
      Added value: +"actualDepartureAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / flights / items / properties / aircraftRegistration / description
      Added value: +"aircraftRegistration, string, length 0 to 20. Optional."
    • addedInput schema / properties / flights / items / properties / aircraftType / description
      Added value: +"aircraftType, string, length 0 to 40. Optional."
    • addedInput schema / properties / flights / items / properties / airline / description
      Added value: +"airline, string, length 0 to 120. Optional."
    • addedInput schema / properties / flights / items / properties / airlineIata / description
      Added value: +"airlineIata, string, length 0 to 8. Optional."
    • addedInput schema / properties / flights / items / properties / destination / description
      Added value: +"destination, string, length 0 to 8. Optional."
    • addedInput schema / properties / flights / items / properties / distanceKm / description
      Added value: +"distanceKm, number, from 0 to 40000. Optional."
    • addedInput schema / properties / flights / items / properties / flightNumber / description
      Added value: +"flightNumber, string, length 0 to 20. Optional."
    • addedInput schema / properties / flights / items / properties / fuelBurnKg / description
      Added value: +"fuelBurnKg, number, from 0 to 1000000. Optional."
    • addedInput schema / properties / flights / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / flights / items / properties / origin / description
      Added value: +"origin, string, length 0 to 8. Optional."
    • addedInput schema / properties / flights / items / properties / passengers / description
      Added value: +"passengers, number, from 0 to 1000. Optional."
    • addedInput schema / properties / flights / items / properties / scheduledArrivalAt / description
      Added value: +"scheduledArrivalAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / flights / items / properties / scheduledDepartureAt / description
      Added value: +"scheduledDepartureAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / flights / items / properties / seats / description
      Added value: +"seats, number, from 0 to 1000. Optional."
    • addedInput schema / properties / flights / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • addedInput schema / properties / flights / items / properties / status / description
      Added value: +"status, string, length 0 to 80. Optional."
    • removedInput schema / properties / flights / maxItems
      Removed value: -5000
    • addedInput schema / properties / groundTimes / description
      Added value: +"groundTimes, array. Optional."
    • addedInput schema / properties / groundTimes / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / groundTimes / items / properties / airport / description
      Added value: +"airport, string, length 0 to 8. Optional."
    • addedInput schema / properties / groundTimes / items / properties / arrivalAt / description
      Added value: +"arrivalAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / groundTimes / items / properties / departureAt / description
      Added value: +"departureAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / groundTimes / items / properties / flightNumber / description
      Added value: +"flightNumber, string, length 0 to 20. Optional."
    • addedInput schema / properties / groundTimes / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / groundTimes / items / properties / registration / description
      Added value: +"registration, string, length 0 to 20. Optional."
    • addedInput schema / properties / groundTimes / items / properties / scheduledGroundMinutes / description
      Added value: +"scheduledGroundMinutes, number, from 0 to 10000. Optional."
    • addedInput schema / properties / groundTimes / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • removedInput schema / properties / groundTimes / maxItems
      Removed value: -5000
    • addedInput schema / properties / json / description
      Added value: +"json, string, length 0 to 200000. Optional."
    • addedInput schema / properties / maintenanceLogs / description
      Added value: +"maintenanceLogs, array. Optional."
    • addedInput schema / properties / maintenanceLogs / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / maintenanceLogs / items / properties / at / description
      Added value: +"at, string, length 0 to 40. Optional."
    • addedInput schema / properties / maintenanceLogs / items / properties / cycles / description
      Added value: +"cycles, number, from 0 to 1000000. Optional."
    • addedInput schema / properties / maintenanceLogs / items / properties / description / description
      Added value: +"description, string, length 0 to 400. Optional."
    • addedInput schema / properties / maintenanceLogs / items / properties / hours / description
      Added value: +"hours, number, from 0 to 100000. Optional."
    • addedInput schema / properties / maintenanceLogs / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / maintenanceLogs / items / properties / registration / description
      Added value: +"registration, string, length 0 to 20. Optional."
    • addedInput schema / properties / maintenanceLogs / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • addedInput schema / properties / maintenanceLogs / items / properties / status / description
      Added value: +"status, string, length 0 to 80. Optional."
    • addedInput schema / properties / maintenanceLogs / items / properties / taskCode / description
      Added value: +"taskCode, string, length 0 to 80. Optional."
    • removedInput schema / properties / maintenanceLogs / maxItems
      Removed value: -5000
    • addedInput schema / properties / openSky / description
      Added value: +"openSky, object. Optional."
    • addedInput schema / properties / openSky / properties / icao24 / description
      Added value: +"icao24, string, length 1 to 12. Required."
    • addedInput schema / properties / registrations / description
      Added value: +"registrations, array. Optional."
    • addedInput schema / properties / registrations / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / registrations / items / properties / aircraftType / description
      Added value: +"aircraftType, string, length 0 to 40. Optional."
    • addedInput schema / properties / registrations / items / properties / country / description
      Added value: +"country, string, length 0 to 80. Optional."
    • addedInput schema / properties / registrations / items / properties / icao24 / description
      Added value: +"icao24, string, length 0 to 12. Optional."
    • addedInput schema / properties / registrations / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / registrations / items / properties / manufacturer / description
      Added value: +"manufacturer, string, length 0 to 120. Optional."
    • addedInput schema / properties / registrations / items / properties / model / description
      Added value: +"model, string, length 0 to 120. Optional."
    • addedInput schema / properties / registrations / items / properties / operator / description
      Added value: +"operator, string, length 0 to 160. Optional."
    • addedInput schema / properties / registrations / items / properties / owner / description
      Added value: +"owner, string, length 0 to 160. Optional."
    • addedInput schema / properties / registrations / items / properties / registration / description
      Added value: +"registration, string, length 0 to 20. Optional."
    • addedInput schema / properties / registrations / items / properties / serialNumber / description
      Added value: +"serialNumber, string, length 0 to 80. Optional."
    • addedInput schema / properties / registrations / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • removedInput schema / properties / registrations / maxItems
      Removed value: -2000
    • addedInput schema / properties / text / description
      Added value: +"text, string, length 0 to 200000. Optional."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "apiKeyRequired": {
      +      "description": "apiKeyRequired. Boolean.",
      +      "type": "boolean"
      +    },
      +    "authenticatedAirlineSystemUsed": {
      +      "description": "authenticatedAirlineSystemUsed. Boolean.",
      +      "type": "boolean"
      +    },
      +    "checkedAt": {
      +      "description": "checkedAt. String.",
      +      "type": "string"
      +    },
      +    "documentCount": {
      +      "description": "documentCount. Number.",
      +      "type": "number"
      +    },
      +    "expiredCount": {
      +      "description": "expiredCount. Number.",
      +      "type": "number"
      +    },
      +    "expiringSoonCount": {
      +      "description": "expiringSoonCount. Number.",
      +      "type": "number"
      +    },
      +    "findings": {
      +      "description": "findings. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "code": {
      +            "description": "code. String.",
      +            "type": "string"
      +          },
      +          "detail": {
      +            "description": "detail. String.",
      +            "type": "string"
      +          },
      +          "kind": {
      +            "description": "kind. String.",
      +            "type": "string"
      +          },
      +          "subject": {
      +            "description": "subject. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "items": {
      +      "description": "items. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "daysRemaining": {
      +            "description": "daysRemaining. Number.",
      +            "type": "number"
      +          },
      +          "daysRemainingSupplied": {
      +            "description": "daysRemainingSupplied. Boolean.",
      +            "type": "boolean"
      +          },
      +          "documentType": {
      +            "description": "documentType. String.",
      +            "type": "string"
      +          },
      +          "expiresAt": {
      +            "description": "expiresAt. String.",
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "id. String.",
      +            "type": "string"
      +          },
      +          "issuedAt": {
      +            "description": "issuedAt. String.",
      +            "type": "string"
      +          },
      +          "registration": {
      +            "description": "registration. String.",
      +            "type": "string"
      +          },
      +          "regulatoryComplianceDetermined": {
      +            "description": "regulatoryComplianceDetermined. Boolean.",
      +            "type": "boolean"
      +          },
      +          "source": {
      +            "description": "source. String.",
      +            "type": "string"
      +          },
      +          "status": {
      +            "description": "status. String.",
      +            "type": "string"
      +          },
      +          "subject": {
      +            "description": "subject. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "limitations": {
      +      "description": "limitations. Array.",
      +      "items": {
      +        "description": "Item. String.",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "openSkyFetched": {
      +      "description": "openSkyFetched. Boolean.",
      +      "type": "boolean"
      +    },
      +    "paidFlightTrackingUsed": {
      +      "description": "paidFlightTrackingUsed. Boolean.",
      +      "type": "boolean"
      +    },
      +    "paidProviderUsed": {
      +      "description": "paidProviderUsed. Boolean.",
      +      "type": "boolean"
      +    },
      +    "status": {
      +      "description": "status. String.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources