Skip to main content
Glama

Which base images in this Dockerfile are out of support?

Which base images in this Dockerfile are out of support?

check_dockerfile
Read-only

Paste a whole Dockerfile. Covers releases of Alpine Linux, Debian, Go, Node.js, PostgreSQL, Python and Ubuntu. Returns every FROM line whose base image is one this register holds, with that release's end-of-active-support and end-of-security-support dates, whether it is past either one today, and a verbatim quote of the vendor's own published line. Every FROM line it could NOT answer for — another product, a latest, floating or build-argument tag, a bare digest, an earlier build stage — comes back in not_in_our_records or unresolvable with the reason in words, and is counted in images_unresolved. An empty out_of_support list with a non-zero images_unresolved does NOT mean the file is clean.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dockerfile": "<dockerfile>"
    },
    "name": "check_dockerfile"
  }
}

Input Schema

NameRequiredDescriptionDefault
dockerfileYesThe Dockerfile text. Multi-stage files, `--platform` flags, `AS` stage names, comments, registry prefixes and digest pins are all handled; nothing else in the file is read.

Output Schema

NameRequiredDescriptionDefault
verdictYesOne sentence. Always says how many lines were not checked.
coverageYes
registerNo
supportedNoChecked images inside both windows.
from_linesYesFROM lines found in the file.
unresolvableYesFROM lines this tool could not answer for. Read this before reporting a Dockerfile clean: these lines were NOT checked, which is not the same as being in support.
images_checkedYesFROM lines matched to a release in this register.
out_of_supportYesChecked images past end of security support, soonest-expired first.
images_unresolvedYesFROM lines not checked. See not_in_our_records and unresolvable.
not_in_our_recordsYesFROM lines this tool could not answer for. Read this before reporting a Dockerfile clean: these lines were NOT checked, which is not the same as being in support.
past_active_supportNoChecked images still getting security fixes but no longer bug fixes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / out_of_support / items / properties / smallest_step_up_we_hold
      Added value: +{
      +  "description": "OURS, computed from these records: the LOWEST release above this one that is still getting free security fixes — usually the cheaper move, and not always the newest. It can be a release whose ACTIVE support has already ended, so read `status` and `end_of_security_support` before offering it: security fixes only is a shorter runway than full support. Absent when there is nothing above this release to move to, or when the only thing above it is the release already named in newest_supported_release_we_hold.",
      +  "properties": {
      +    "end_of_security_support": {
      +      "description": "The date free security fixes for the step up stop, verbatim from the source.",
      +      "type": "string"
      +    },
      +    "note": {
      +      "description": "What this answer is and what it is not, in words.",
      +      "type": "string"
      +    },
      +    "record_id": {
      +      "type": "string"
      +    },
      +    "release": {
      +      "description": "The release label as the source writes it.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "This step up's own status today: \"supported\" or \"past end of active support\".",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed3 schema fields changed
    • addedOutput schema / properties / out_of_support / items / properties / release / properties / under_review
      Added value: +{
      +  "description": "PRESENT ONLY when a re-reading of this record's own source page states a different value from the one published here. Each named field's value is unsettled and must be cited as disputed, not as the publisher's current position. Absent means no correction is on file for this record — it is never returned empty.",
      +  "properties": {
      +    "fields": {
      +      "items": {
      +        "properties": {
      +          "field": {
      +            "type": "string"
      +          },
      +          "published_value": {},
      +          "reported_on": {
      +            "description": "The date we re-read the page.",
      +            "type": "string"
      +          },
      +          "reported_source_quote": {
      +            "description": "The publisher's own newer sentence.",
      +            "type": "string"
      +          },
      +          "reported_source_url": {
      +            "type": "string"
      +          },
      +          "reported_value": {},
      +          "reported_value_found_in_that_quote": {
      +            "description": "Whether the NEW value was found verbatim inside the new quote. False means the re-reading is not itself quote-confirmed.",
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "says": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / past_active_support / items / properties / release / properties / under_review
      Added value: +{
      +  "description": "PRESENT ONLY when a re-reading of this record's own source page states a different value from the one published here. Each named field's value is unsettled and must be cited as disputed, not as the publisher's current position. Absent means no correction is on file for this record — it is never returned empty.",
      +  "properties": {
      +    "fields": {
      +      "items": {
      +        "properties": {
      +          "field": {
      +            "type": "string"
      +          },
      +          "published_value": {},
      +          "reported_on": {
      +            "description": "The date we re-read the page.",
      +            "type": "string"
      +          },
      +          "reported_source_quote": {
      +            "description": "The publisher's own newer sentence.",
      +            "type": "string"
      +          },
      +          "reported_source_url": {
      +            "type": "string"
      +          },
      +          "reported_value": {},
      +          "reported_value_found_in_that_quote": {
      +            "description": "Whether the NEW value was found verbatim inside the new quote. False means the re-reading is not itself quote-confirmed.",
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "says": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / supported / items / properties / release / properties / under_review
      Added value: +{
      +  "description": "PRESENT ONLY when a re-reading of this record's own source page states a different value from the one published here. Each named field's value is unsettled and must be cited as disputed, not as the publisher's current position. Absent means no correction is on file for this record — it is never returned empty.",
      +  "properties": {
      +    "fields": {
      +      "items": {
      +        "properties": {
      +          "field": {
      +            "type": "string"
      +          },
      +          "published_value": {},
      +          "reported_on": {
      +            "description": "The date we re-read the page.",
      +            "type": "string"
      +          },
      +          "reported_source_quote": {
      +            "description": "The publisher's own newer sentence.",
      +            "type": "string"
      +          },
      +          "reported_source_url": {
      +            "type": "string"
      +          },
      +          "reported_value": {},
      +          "reported_value_found_in_that_quote": {
      +            "description": "Whether the NEW value was found verbatim inside the new quote. False means the re-reading is not itself quote-confirmed.",
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "says": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed18 schema fields changed
    • changedOutput schema / properties / out_of_support / items / properties / release / properties / covered_by_paid_extended_support / description
      Previous value: -"OURS, computed: true when free security support has ended but the paid Ubuntu Pro window has not. A caller without Ubuntu Pro should read this as unsupported."New value: +"OURS, computed: true when free security support has ended but the paid extended window (Ubuntu Pro, Debian ELTS) has not. A caller without that subscription should read this as unsupported."
    • addedOutput schema / properties / out_of_support / items / properties / release / properties / end_of_support_date_published
      Added value: +{
      +  "description": "Whether the source prints an end-of-support date for this release at all. False where the source only marks the release ended (Node.js 1 to 3, PostgreSQL 6.0 to 6.2) or still maintained (Go's two newest majors), so \"supported\" with no date can be told from \"supported until a stated date\".",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / out_of_support / items / properties / release / properties / extended_security_maintenance / description
      Previous value: -"Ubuntu only: the source's eoesFrom date, verbatim. Expanded Security Maintenance needs a paid Ubuntu Pro subscription, so it is NOT treated as support when computing the status."New value: +"Ubuntu and Debian only: the source's eoesFrom date, verbatim. This is cover that has to be bought or comes from somebody other than the publisher — Ubuntu Pro's Expanded Security Maintenance, Debian's ELTS — so it is NOT treated as support when computing the status."
    • changedOutput schema / properties / out_of_support / items / properties / release / properties / product / description
      Previous value: -"The product name as the source writes it: \"Python\", \"Node.js\" or \"Ubuntu\"."New value: +"The product name as the source writes it: one of Alpine Linux, Debian, Go, Node.js, PostgreSQL, Python and Ubuntu."
    • changedOutput schema / properties / out_of_support / items / properties / release / properties / release / description
      Previous value: -"The release label exactly as the source writes it, e.g. \"3.11\", \"24.04 'Noble Numbat' (LTS)\"."New value: +"The release label exactly as the source writes it, e.g. \"3.11\", \"24.04 'Noble Numbat' (LTS)\", \"12 (Bookworm)\", \"22 (LTS)\"."
    • changedOutput schema / properties / out_of_support / items / properties / release / properties / status_basis / description
      Previous value: -"OURS: which date the status was read from, \"eol\" or \"eoas\"."New value: +"OURS: what the status was read from — \"eol\", \"eoas\", or, for a release the source prints no end date for, which of its own flags said the release had ended or was still maintained."
    • changedOutput schema / properties / past_active_support / items / properties / release / properties / covered_by_paid_extended_support / description
      Previous value: -"OURS, computed: true when free security support has ended but the paid Ubuntu Pro window has not. A caller without Ubuntu Pro should read this as unsupported."New value: +"OURS, computed: true when free security support has ended but the paid extended window (Ubuntu Pro, Debian ELTS) has not. A caller without that subscription should read this as unsupported."
    • addedOutput schema / properties / past_active_support / items / properties / release / properties / end_of_support_date_published
      Added value: +{
      +  "description": "Whether the source prints an end-of-support date for this release at all. False where the source only marks the release ended (Node.js 1 to 3, PostgreSQL 6.0 to 6.2) or still maintained (Go's two newest majors), so \"supported\" with no date can be told from \"supported until a stated date\".",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / past_active_support / items / properties / release / properties / extended_security_maintenance / description
      Previous value: -"Ubuntu only: the source's eoesFrom date, verbatim. Expanded Security Maintenance needs a paid Ubuntu Pro subscription, so it is NOT treated as support when computing the status."New value: +"Ubuntu and Debian only: the source's eoesFrom date, verbatim. This is cover that has to be bought or comes from somebody other than the publisher — Ubuntu Pro's Expanded Security Maintenance, Debian's ELTS — so it is NOT treated as support when computing the status."
    • changedOutput schema / properties / past_active_support / items / properties / release / properties / product / description
      Previous value: -"The product name as the source writes it: \"Python\", \"Node.js\" or \"Ubuntu\"."New value: +"The product name as the source writes it: one of Alpine Linux, Debian, Go, Node.js, PostgreSQL, Python and Ubuntu."
    • changedOutput schema / properties / past_active_support / items / properties / release / properties / release / description
      Previous value: -"The release label exactly as the source writes it, e.g. \"3.11\", \"24.04 'Noble Numbat' (LTS)\"."New value: +"The release label exactly as the source writes it, e.g. \"3.11\", \"24.04 'Noble Numbat' (LTS)\", \"12 (Bookworm)\", \"22 (LTS)\"."
    • changedOutput schema / properties / past_active_support / items / properties / release / properties / status_basis / description
      Previous value: -"OURS: which date the status was read from, \"eol\" or \"eoas\"."New value: +"OURS: what the status was read from — \"eol\", \"eoas\", or, for a release the source prints no end date for, which of its own flags said the release had ended or was still maintained."
    • changedOutput schema / properties / supported / items / properties / release / properties / covered_by_paid_extended_support / description
      Previous value: -"OURS, computed: true when free security support has ended but the paid Ubuntu Pro window has not. A caller without Ubuntu Pro should read this as unsupported."New value: +"OURS, computed: true when free security support has ended but the paid extended window (Ubuntu Pro, Debian ELTS) has not. A caller without that subscription should read this as unsupported."
    • addedOutput schema / properties / supported / items / properties / release / properties / end_of_support_date_published
      Added value: +{
      +  "description": "Whether the source prints an end-of-support date for this release at all. False where the source only marks the release ended (Node.js 1 to 3, PostgreSQL 6.0 to 6.2) or still maintained (Go's two newest majors), so \"supported\" with no date can be told from \"supported until a stated date\".",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / supported / items / properties / release / properties / extended_security_maintenance / description
      Previous value: -"Ubuntu only: the source's eoesFrom date, verbatim. Expanded Security Maintenance needs a paid Ubuntu Pro subscription, so it is NOT treated as support when computing the status."New value: +"Ubuntu and Debian only: the source's eoesFrom date, verbatim. This is cover that has to be bought or comes from somebody other than the publisher — Ubuntu Pro's Expanded Security Maintenance, Debian's ELTS — so it is NOT treated as support when computing the status."
    • changedOutput schema / properties / supported / items / properties / release / properties / product / description
      Previous value: -"The product name as the source writes it: \"Python\", \"Node.js\" or \"Ubuntu\"."New value: +"The product name as the source writes it: one of Alpine Linux, Debian, Go, Node.js, PostgreSQL, Python and Ubuntu."
    • changedOutput schema / properties / supported / items / properties / release / properties / release / description
      Previous value: -"The release label exactly as the source writes it, e.g. \"3.11\", \"24.04 'Noble Numbat' (LTS)\"."New value: +"The release label exactly as the source writes it, e.g. \"3.11\", \"24.04 'Noble Numbat' (LTS)\", \"12 (Bookworm)\", \"22 (LTS)\"."
    • changedOutput schema / properties / supported / items / properties / release / properties / status_basis / description
      Previous value: -"OURS: which date the status was read from, \"eol\" or \"eoas\"."New value: +"OURS: what the status was read from — \"eol\", \"eoas\", or, for a release the source prints no end date for, which of its own flags said the release had ended or was still maintained."
  4. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover the safety profile (read-only, non-destructive, closed-world), yet the description still adds substantial behavior: which return keys carry unresolved images, why a line lands in not_in_our_records vs unresolvable, and an explicit warning that an empty out_of_support with a non-zero images_unresolved is not a clean bill of health. That last sentence directly prevents a likely misread of the result.

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 action and the covered products, then moves into return shape and failure modes in a logical order. The list of unresolvable cases is slightly long, but each item carries real information, so there is little fat.

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?

An output schema exists, so return values could have been left to it, yet the description still supplies the interpretive context an agent needs — notably the trap where unresolved images coexist with an empty out-of-support list. Nothing material is missing for calling this correctly or reading its result.

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?

With one parameter and 100% schema description coverage, the schema already explains that multi-stage files, --platform, AS names, comments, registry prefixes and digest pins are handled. The description reinforces that the whole file is expected ('Paste a whole Dockerfile'), but adds no syntax or format meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb and resource: it takes a whole Dockerfile and returns every FROM line whose base image is past end-of-support, naming the seven covered products. Very clear what it does, but it never mentions the sibling release_support_status, so the agent gets no explicit signal about which of the two to reach for on a single product release.

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

Usage Guidelines3/5

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

Usage is implied by 'Paste a whole Dockerfile' and the enumerated product coverage, which tells the agent this is a batch, file-level check. However, there is no explicit when-not guidance and no pointer to release_support_status for single-release lookups, leaving the choice between siblings to inference.

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