Skip to main content
Glama

Remove a website redirect

delete_redirect

Delete a redirect rule from a website. Get the redirectId from list_redirects. Once removed, the old path stops redirecting and will 404 unless a page exists there. Redirect rules take effect when the site is next published; publishing is a separate step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteIdYesThe website these redirects belong to (id from list_sites).
redirectIdYesThe rule to delete (redirectId from list_redirects).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYes
siteIdYes
deletedYesAlways true here: a delete that matched nothing is an error result, not a success with deleted:false.
redirectIdYes

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only indicate readOnlyHint=false, so the description carries the burden of disclosing effects. It clearly states that the old path stops redirecting and may 404, and that changes apply on next publish—valuable behavioral context beyond the schema.

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?

The description is two sentences, front-loaded with purpose, and includes only necessary details about consequences and timing. No wasted words.

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 simple delete operation with two well-documented parameters, the description covers purpose, prerequisite, effect, and timing. It lacks potential edge cases (e.g., non-existent redirect) but the output schema likely addresses that. Overall sufficient.

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 both parameters already have descriptions including source (id from list_sites, redirectId from list_redirects). The description repeats 'Get the redirectId from list_redirects' without adding new semantic information, so it meets the baseline without exceeding it.

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 'Delete a redirect rule from a website' with a specific verb and resource, and distinguishes from siblings like create_redirect and list_redirects. It also clarifies that the redirectId comes from list_redirects.

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 provides a prerequisite ('Get the redirectId from list_redirects') and explains the consequence (404 unless a page exists) and timing (takes effect on next publish). This gives clear context for when to use the tool, though it doesn't explicitly mention alternatives.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a distinct purpose, with clear differentiation between creating standalone pages vs. adding to sites, and separate analytics for pages, sites, and workspaces.

Naming Consistency4/5

Mostly follows verb_noun pattern, but uses both 'add' and 'create' for similar actions, and 'delete' vs 'remove' inconsistently.

Tool Count4/5

20 tools cover a broad range of functionality (pages, sites, redirects, scripts, webhooks, analytics, leads), which is reasonable but slightly on the higher side.

Completeness3/5

Covers CRUD for most entities, but lacks delete operations for pages, sites, scripts, and webhooks (except redirects), leaving notable gaps.

Resources