Skip to main content
Glama

Check model IDs for retirement

check_models
Read-onlyIdempotent

Look up AI model IDs across providers to verify retirement status, retirement date, days left, and replacement before using or keeping an ID in code.

Instructions

Look up OpenAI, Anthropic, Google, Mistral, xAI, Cohere, DeepSeek and Groq model IDs (and Amazon Bedrock, Vertex AI and Azure) and return, for each one, its retirement status, retirement date, days left and replacement. Use it before writing, changing or keeping a model ID in code, or when the user asks whether a model still works. To find the IDs inside a codebase use scan_project instead; to list everything retiring soon use upcoming_retirements. Read-only. Data comes from the providers' official deprecation pages, re-checked daily at aidriftline.com (fetched with a 4 s timeout, falling back to the copy in the package when offline). IDs not in the registry return status "unknown": no retirement is published for them, which does not prove the ID exists. Up to 100 IDs per call; extra IDs are ignored.

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": {
      "ids": "<ids>"
    },
    "name": "check_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesModel IDs exactly as written in code, e.g. ["gpt-4o", "claude-sonnet-4-5", "models/gemini-2.5-pro"]. Provider prefixes (openai/, models/), Bedrock, Vertex and OpenRouter spellings and Claude short names are accepted and normalized.

Output Schema

NameRequiredDescriptionDefault
modelsYes
all_datesNo
next_stepNoPresent when a model has to move: how to test prompts on the replacement first
registry_sourceYeslive = aidriftline.com/models.json; bundled = the copy shipped in the package (used offline)
registry_checkedYesDate the registry was last checked against the provider pages

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.11.7
    • addedOutput schema / properties / models / items / properties / migration
      Added value: +{
      +  "description": "Whether moving to the replacement is just a new model name (drop_in true) or needs more: change = rename | settings | params | api | re-embed | choose, with a note and the provider's guide",
      +  "properties": {
      +    "change": {
      +      "type": "string"
      +    },
      +    "drop_in": {
      +      "type": "boolean"
      +    },
      +    "guide": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / models / items / properties / note
      Added value: +{
      +  "description": "A fact from the provider's page beyond date and replacement, e.g. access already limited to existing users, or routed calls billed at the replacement's rates",
      +  "type": "string"
      +}
    • addedOutput schema / properties / models / items / properties / previous_replacement
      Added value: +{
      +  "description": "The replacement the provider recommended before it changed its advice",
      +  "type": "string"
      +}
    • addedOutput schema / properties / models / items / properties / replacement_alt
      Added value: +{
      +  "description": "A second replacement the provider names (\"X or Y\"); which one fits depends on how the model is used",
      +  "type": "string"
      +}
    • addedOutput schema / properties / models / items / properties / replacement_changed
      Added value: +{
      +  "description": "YYYY-MM-DD: when the change was seen on the provider's page",
      +  "type": "string"
      +}
    • addedOutput schema / properties / models / items / properties / replacement_note
      Added value: +{
      +  "description": "Extra instruction the provider gives with the replacement (e.g. a setting or API to use). Without it, switching the model name alone is not enough",
      +  "type": "string"
      +}
    • addedOutput schema / properties / models / items / properties / under_review
      Added value: +{
      +  "description": "Present when the provider's page no longer matches this entry and Driftline is updating it: since (date), what (date, replacement or listing), page (source to check)",
      +  "properties": {
      +    "page": {
      +      "type": "string"
      +    },
      +    "since": {
      +      "type": "string"
      +    },
      +    "what": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed3 schema fields changedv0.1.1
    • changedInput schema / properties / ids / description
      Previous value: -"Model IDs, e.g. [\"gpt-4o\", \"claude-sonnet-4-5\"]"New value: +"Model IDs exactly as written in code, e.g. [\"gpt-4o\", \"claude-sonnet-4-5\", \"models/gemini-2.5-pro\"]. Provider prefixes (openai/, models/), Bedrock, Vertex and OpenRouter spellings and Claude short names are accepted and normalized."
    • addedInput schema / properties / ids / maxItems
      Added value: +100
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "all_dates": {
      +      "type": "string"
      +    },
      +    "models": {
      +      "items": {
      +        "properties": {
      +          "advice": {
      +            "description": "One plain sentence to pass on to the user",
      +            "type": "string"
      +          },
      +          "alias_of": {
      +            "type": "string"
      +          },
      +          "days_left": {
      +            "description": "Days until the date; 0 or negative when it has passed",
      +            "type": "number"
      +          },
      +          "id": {
      +            "description": "The ID as given",
      +            "type": "string"
      +          },
      +          "normalized": {
      +            "description": "The ID after removing provider prefixes such as models/ or openai/",
      +            "type": "string"
      +          },
      +          "page": {
      +            "description": "aidriftline.com page with the source for this date",
      +            "type": "string"
      +          },
      +          "provider": {
      +            "type": "string"
      +          },
      +          "qualifier": {
      +            "description": "exact date, earliest possible shutdown (Google), or not before this date (Anthropic)",
      +            "enum": [
      +              "exact",
      +              "earliest",
      +              "not-before"
      +            ],
      +            "type": "string"
      +          },
      +          "replacement": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "retires": {
      +            "description": "YYYY-MM-DD",
      +            "type": "string"
      +          },
      +          "routes": {
      +            "description": "true: after the date the provider answers with the replacement model instead of failing",
      +            "type": "boolean"
      +          },
      +          "status": {
      +            "description": "retired = calls fail (or are re-routed) now; at-risk = retires within 90 days; deprecated = retirement announced, further out; active = announced as active; unknown = no retirement published",
      +            "enum": [
      +              "retired",
      +              "at-risk",
      +              "deprecated",
      +              "active",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "status",
      +          "advice"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "next_step": {
      +      "description": "Present when a model has to move: how to test prompts on the replacement first",
      +      "type": "string"
      +    },
      +    "registry_checked": {
      +      "description": "Date the registry was last checked against the provider pages",
      +      "type": "string"
      +    },
      +    "registry_source": {
      +      "description": "live = aidriftline.com/models.json; bundled = the copy shipped in the package (used offline)",
      +      "enum": [
      +        "live",
      +        "bundled"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "models",
      +    "registry_checked",
      +    "registry_source"
      +  ],
      +  "type": "object"
      +}
  3. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the supplied annotations (readOnly, openWorld, idempotent, non-destructive), it discloses provenance (official deprecation pages, re-checked daily), network behavior (aidriftline.com fetch with a 4s timeout), an offline fallback to a bundled copy, silent truncation at 100 IDs, and crucially the meaning of an 'unknown' status including its false-negative risk. That is exactly the kind of behavior an agent cannot get from structured fields.

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?

The first sentence front-loads scope and return shape, and the alternative-tool routing follows immediately. It is a dense single paragraph with a minor redundancy ('Read-only' restates readOnlyHint) and the data-source/offline clause is long, but every sentence carries operational information.

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?

For a single-parameter lookup with a full output schema, everything an agent needs is present: what it does, when to call it or a sibling, the 100-ID cap, offline/auth-free operation, and how to interpret 'unknown'. No relevant gap remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% so the baseline is 3; the description earns an extra point by stating that IDs beyond 100 are silently ignored (the schema's maxItems alone would suggest a validation error rather than silent dropping). Most of the normalization detail (prefixes, Bedrock/Vertex/OpenRouter spellings) already lives in the schema, so it adds nothing new there.

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?

The description states a specific verb ('look up') and resource (model IDs across eight named providers plus Bedrock/Vertex/Azure), and enumerates exactly what is returned per ID: retirement status, date, days left, replacement. It is clearly distinguishable from scan_project (codebase search) and upcoming_retirements (bulk upcoming list).

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?

It gives explicit trigger conditions — before writing, changing or keeping a model ID in code, or when a user asks whether a model still works — and names both alternatives with the condition that selects each (scan_project to find IDs in code, upcoming_retirements to list soon-retiring models). Nothing about routing is left to inference.

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

Deploy Server

Other Tools