Skip to main content
Glama

Check model retirements

check_model_retirements
Read-only

Shows admins when the AI models they use will stop being served, based on provider-published retirement dates, so they can test replacements and switch before disruptions.

Instructions

Admins only: the models in use and when their providers stop serving them, from the providers' own model lists (OpenAI, Anthropic, the AI Gateway, OpenRouter). Returns { retiring, worst, models: [{ model, uses, retirement: { retiresAt, status: retired|soon|scheduled|deprecated, daysLeft } | null, published, error }] }. published: false = the provider publishes no dates (unknown, not safe). Check a replacement with test_model, then switch under Settings → System → Models.

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": "check_model_retirements"
  }
}

Input Schema

NameRequiredDescriptionDefault
refreshNotrue = ask the providers again instead of the answer from the last few hours

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.56.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the description is not burdened with safety disclosure, yet it still adds real value: an admin-only access requirement, the provenance of the data (providers' own model lists), and the crucial interpretation that published:false means unknown rather than safe. That caveat prevents a plausible misread of the output.

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-loads the access restriction and the purpose, then the return shape, then the follow-up action — a sensible order. The inline return-shape notation is dense but earns its place given there is no output schema; only minor tightening is possible.

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?

With no output schema, the description supplies the return structure, enumerates the status values, and explains the ambiguous published field. Combined with the admin gating and the next-step routing, an agent has everything needed to call and interpret this tool.

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?

There is a single optional parameter with 100% schema description coverage, so the schema already explains refresh and its caching behavior. The description adds nothing further about the parameter, which is acceptable at this coverage level.

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?

States a specific resource (models in use) and the exact fact it reports (when providers stop serving them), plus the data sources (OpenAI, Anthropic, AI Gateway, OpenRouter). It is clearly distinguishable from the sibling test_model, which it names as the replacement-validation tool.

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?

Gives a concrete prerequisite (admins only) and a follow-up workflow: check a replacement with test_model, then switch under Settings → System → Models. It does not explicitly state when not to call it, but the context is unambiguous.

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