Skip to main content
Glama

Update redirect

update_redirect
Destructive

Update a redirect source, destination, status code, or active state. Requires owner or admin access through account-level OAuth or a user-scoped API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
activeNoWhether this redirect should be applied.
blogIdYesBlog ID. Use list_blogs to discover available blog IDs.
redirectIdYesRedirect ID.
destinationNoUpdated destination site path or absolute HTTP(S) URL.
source_pathNoUpdated incoming site path, starting with a single /.
status_codeNoUpdated HTTP redirect status code.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already indicate destructive and read-write behavior, and the description adds meaningful context by specifying owner or admin access through account-level OAuth or a user-scoped API key. It does not contradict the annotations, though it does not describe potential side effects beyond updating the listed fields.

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 with no filler. The first sentence anchors the action and fields, and the second provides the essential auth requirement. Information is front-loaded and every word earns its place.

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?

The schema and output schema cover parameter details and return values, and the description supplies the authorization context. It is slightly incomplete because it does not explicitly note that at least one updatable field should be provided, nor does it point to list_redirects or list_blogs for discovering the required IDs.

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?

All six parameters are fully described in the schema, so the description needs only to summarize the key fields, which it does by naming source, destination, status code, and active state. It adds no new constraints or format details beyond what the schema already provides.

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 clearly specifies a concrete action ('Update') and target resource ('redirect'), and enumerates the four mutable attributes: source, destination, status code, and active state. This differentiates it from create_redirect and delete_redirect purely by the verb and resource scope.

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?

There is no explicit statement of when to use this tool versus create_redirect or delete_redirect. The update verb only implies the tool applies to existing redirects, and the auth prerequisite is useful but does not provide alternative-routing guidance.

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