Skip to main content
Glama

Retire a hosted page

retire-hosted-page
Destructive

Take a live page off the customer's domain. Without a redirect the URL answers 410, which tells an answer engine it is gone rather than missing. With one it 301s to another page that is already live. Requires the account owner.

Input Schema

NameRequiredDescriptionDefault
page_idYesHosted page ID
redirect_to_slugNoSlug of a page already live on the same domain

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?

Beyond the destructiveHint=true annotation, it discloses the exact HTTP outcomes (410 vs 301) that make this a deliberate removal rather than an accidental 404, and that the redirect target must already be live. The account-owner permission requirement is context the annotations do not carry.

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?

Three tightly packed sentences: the action first, then the two behavioral branches, then the prerequisite. The 'answer engine' rationale justifies the 410 choice rather than padding.

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?

For a destructive, no-output-schema mutation, it covers effect, permission, and both branches. It does not say whether retirement is reversible (republish?) or what happens to existing links, which is the only material gap.

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 coverage is 100%, and the schema already describes both page_id and redirect_to_slug, including the pattern constraint. The description only reinforces 'already live on the same domain', which the schema already states, so it adds little beyond the baseline.

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?

A concrete verb and resource ('Take a live page off the customer's domain') make the operation unambiguous. It does not name the nearest sibling (reject-hosted-page) or explain how it differs, so sibling differentiation depends on the agent inferring from names.

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?

It gives a clear decision rule: no redirect = 410, redirect = 301 to an already-live page, plus the 'requires the account owner' prerequisite. It stops short of stating when NOT to use it versus reject-hosted-page or archiving.

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