Skip to main content
Glama

查單一模型 ID

models__get_ai_model
Read-onlyIdempotent

[AI 模型下架與替代日程]查單一模型 ID(如 gpt-4o-2024-05-13、claude-3-5-haiku-20241022、gemini-2.0-flash)的狀態、宣布淘汰日、下架日、剩幾天、官方建議替代與來源。

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": {
      "id": "<id>"
    },
    "name": "models__get_ai_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), so the description's added value is the enumeration of returned fields, which is genuinely useful given there is no output schema. It does not state data currency/update cadence or behavior for an unrecognized ID, which are the remaining behavioral gaps for an open-world lookup.

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

Conciseness5/5

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

A single sentence with a bracketed domain tag up front, then verb, resource, ID examples, and returned fields. No filler; every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one required parameter, no output schema, and full annotation coverage, the description supplies the missing pieces: valid ID shapes and the fields an agent will get back. Only edge-case behavior (unknown model ID, data freshness) is left unaddressed.

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?

The schema documents nothing (0% coverage, bare string 'id'), so the description must compensate — and it does by supplying three concrete ID format examples (gpt-4o-2024-05-13, claude-3-5-haiku-20241022, gemini-2.0-flash). It still does not say whether an exact-match or fuzzy/alias lookup is performed.

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?

The description gives a concrete verb and resource — look up a single model ID and return its lifecycle status — and enumerates the exact payload (status, announced retirement date, shutdown date, days remaining, official replacement, source). The word '單一' (single) plus the ID examples make it distinguishable from the batch/list siblings such as upcoming_ai_model_shutdowns, but no sibling is named explicitly.

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 only implied: an agent can infer it should call this when it already has one specific model ID in hand. There is no statement of when to prefer the calendar, list, or replacement-finder siblings instead, and no prerequisites (e.g., what happens if the ID is unknown).

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