Skip to main content
Glama

Preflight

Check the versions pinned in a Dockerfile, compose file, package.json, pyproject or CI workflow (live end-of-life and Docker tags)

ripe_check_file
Read-onlyIdempotent

Use when a Dockerfile, docker-compose/compose.yaml, Kubernetes manifest, GitHub Actions workflow, package.json, pyproject.toml, requirements.txt, go.mod, global.json, .nvmrc, .python-version, .tool-versions, mise.toml, Gemfile, composer.json or Terraform file has just been written or edited, or the user asks whether the versions in it are current (signals: "write a Dockerfile", "FROM node:18", "python:3.9-slim", "is this base image outdated", "end of life", "EOL", "upgrade the runtime", "which Node version", "does this tag exist", "manifest unknown", "engines", "requires-python"). Reads every version pin with its line (FROM and image: references with build-arg defaults, engines/volta/packageManager, requires-python, go and toolchain directives, sdk.version, setup-* versions and matrices, and well-known frameworks such as Next.js, React, Django, Rails, Laravel), then checks each one live: support status on today's date from endoflife.date (supported, security fixes only, end of life, not released, no such version), the end-of-life date and days left, the latest patch in that line, the newest supported line and the oldest one still supported; for container images it also checks the base OS in the tag (alpine3.18, bookworm, jammy), deprecated official images, and that the tag really exists on its registry (Docker Hub, ghcr.io, mcr.microsoft.com, quay.io and others), and proposes a replacement tag that it confirmed exists. Returns findings with severity, line, message and fix, plus a fix_message. Example: {"filename":"Dockerfile","content":"FROM node:18-alpine3.18\nRUN npm ci\nFROM python:3.9-slim-buster"}. Does not build images, resolve npm or PyPI dependency trees (packages are checked only when endoflife.date tracks them), or see private registries. Up to 100000 characters.

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": {
      "content": "<content>"
    },
    "name": "ripe_check_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoFile type; default auto (from filename, then content).
as_ofNoJudge support status on this date (YYYY-MM-DD). Default: today (UTC).
contentYesThe text of the file.
filenameNoFile name or path, used to tell the file type: "Dockerfile", "compose.yaml", ".github/workflows/ci.yml", "package.json", "pyproject.toml", "go.mod", ".nvmrc"... Optional when kind is given or the content makes it obvious.
warn_daysNoWarn when end of life is this many days away or less. Default 180.
check_tagsNoCheck Docker image tags exist on their registry (and verify the suggested replacement tag). Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description adds substantial context beyond them: it makes live network calls to endoflife.date and registries, proposes only replacement tags it confirmed exist, cannot reach private registries, and caps input at 100000 characters. It also discloses the return shape (findings with severity, line, message, fix, plus fix_message).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with a clear 'Use when...' clause, which helps, but the body is a dense single block with very long enumerations of file types, version sources, and frameworks. Most content earns its place, yet the structure makes it harder to scan than a short bulleted list of supported inputs and outputs.

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?

Covers triggers, what it reads, what it checks live per pin, the container-specific extras, the returned fields, and explicit limitations, all with no output schema to rely on. An agent can decide to call it and form expectations about the result without opening anything else.

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 the schema already documents kind, content, filename, as_of, warn_days, and check_tags. The description adds little per-parameter meaning beyond an inline example payload with filename and content, and does not explain the as_of backdating or warn_days default beyond what the schema states. Baseline 3 is appropriate.

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?

States a specific verb+resource: reads every version pin in a named set of files and checks each one live against endoflife.date and container registries, including tag existence and replacement proposals. It is highly specific about scope and outputs. It never mentions the sibling ripe_check_versions, so an agent cannot tell from this text alone how the two differ.

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?

Explicit trigger conditions ('has just been written or edited', or the user asks whether versions are current) plus concrete signal phrases such as 'FROM node:18', 'EOL', 'manifest unknown', and 'requires-python'. It also states exclusions: it does not build images, resolve npm/PyPI dependency trees, or see private registries. Only missing piece is a named alternative when the sibling is the better fit.

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