Skip to main content
Glama

Get Deprecation Plan

get_deprecation_plan
Read-only

Check an endpoint's or published version's deprecation plan to see phase, sunset date, successor, and migration guide. Include usage data to confirm active callers before retiring it.

Instructions

Get the deprecation plan of one endpoint or published version, including its phase, sunset date, successor and migration guide. Returns null when nothing is deprecated. Set includeUsage to also see whether anyone still calls it — do that before retiring. Requires project context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
specIdYesPublic ID (GUID) of the API specification
entityIdYesPublic ID (GUID) of that endpoint or version
entityTypeYesWhat is deprecated: 'endpoint' or 'specVersion'
includeUsageNoAlso return recent traffic and top consumers (default false)
usageDaysBackNoHow many days of usage to look back (default 30)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.1.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true; the description adds real behavioral detail beyond that: it returns null when nothing is deprecated, and includeUsage surfaces recent traffic and top consumers. This shapes caller expectations about both the null case and the optional enrichment. No contradiction with the read-only annotation.

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?

Three sentences, front-loaded with the core purpose; each sentence contributes purpose, null behavior, usage flag, and prerequisite. No filler, though the second sentence packs the usage guidance into a slightly dense parenthetical style.

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 no output schema, the description compensates by naming the returned fields (phase, sunset date, successor, migration guide) and the null case. The entityType values are covered by the schema, and the readOnly annotation covers safety. It remains silent on project-context failure behavior, but nothing essential is missing for a read-only single-entity lookup.

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 all five parameters with descriptions and defaults. The description adds only marginal semantic value — framing includeUsage as a pre-retirement decision check — while usageDaysBack and the GUID fields are left entirely to the schema.

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 states a specific verb and resource ('Get the deprecation plan of one endpoint or published version') with a clear scope, and itemizes the payload (phase, sunset date, successor, migration guide). It is clearly scoped to a single entity, which implicitly distinguishes it from list_deprecations, but it never names that or get_deprecation_policy as siblings.

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?

The description provides actionable context: 'Set includeUsage to also see whether anyone still calls it — do that before retiring' tells the agent when the flag matters, and 'Requires project context' states a necessary precondition. It does not, however, state when NOT to use this tool or name alternative tools for listing many deprecations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/routebase-dev/routebase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server