Skip to main content
Glama

dokploy_redirects

Create, update, remove, or retrieve Traefik URL redirect rules for an application, defining regex sources and replacement targets; redeploy the app for changes to take effect.

Instructions

Manage URL redirect rules on an application (Traefik regex/replacement). create: regex+replacement+permanent+applicationId. update: redirectId+regex+replacement+permanent. remove: redirectId. get: redirectId. A redeploy of the application is required for changes to take effect.

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": {
      "action": "<action>"
    },
    "name": "dokploy_redirects"
  }
}

Input Schema

NameRequiredDescriptionDefault
regexNoTraefik-compatible source regex (e.g. ^https?://old.example.com/(.*))
actionYes
permanentNotrue = 301, false = 302
redirectIdNo
replacementNoTarget URL template (e.g. https://new.example.com/$${1})
applicationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.11.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv1.8.3

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the burden. It does disclose one genuinely valuable behavioral trait – that a redeploy of the application is required for changes to take effect – but says nothing about permissions, reversibility of 'remove', or error conditions for an invalid regex.

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?

Extremely dense and front-loaded: purpose first, then per-action parameter requirements, then the redeploy caveat. Every clause carries information and there is no filler.

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

Completeness3/5

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

For a 4-action mutation tool with no annotations and no output schema, it covers the critical operational gotcha (redeploy) and action/param mapping, but leaves gaps on what 'get' returns, whether 'remove' is reversible, and the meaning of the two undocumented IDs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 6 parameters and only 50% schema description coverage, redirectId and applicationId have no meaning in either field. The description lists which params each action needs, which adds conditional structure, but it never explains what redirectId or applicationId actually refer to or how to obtain them.

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 names a specific resource ('URL redirect rules on an application') and implementation detail (Traefik regex/replacement), and enumerates the four supported operations. It does not explicitly differentiate itself from siblings like dokploy_domain, which is the only thing keeping it from a 5.

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 concrete per-action guidance by listing exactly which parameters each action ('create', 'update', 'remove', 'get') requires, which is effectively usage routing for a multi-action tool. It stops short of saying when to prefer this over a sibling such as dokploy_domain or when-not to use it.

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