Skip to main content
Glama

Test where an old address goes

test_redirect
Read-onlyIdempotent

Say what the live site does with one address (a path like /about-us.php, or a full old URL like https://old-site.com/?p=12): which redirect matches and where it sends the visitor. Tracking parameters (utm_*, gclid…) are ignored for matching. Changes nothing.

Input Schema

NameRequiredDescriptionDefault
urlYesThe old address to test
site_idYesThe site, from list_sites
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / user_goal
      Added value: +{
      +  "description": "Optional: the user's goal behind this call, in one short sentence of plain words (e.g. \"add a page so customers can book tables\"). No names, emails or other personal details.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

With readOnlyHint and idempotentHint already set, the description still adds meaningful behavioral detail: tracking parameters are ignored for matching, and the operation changes nothing. It does not cover auth requirements or output structure, but the safety profile is well covered by annotations.

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 and front-loads the core action before adding examples and the tracking-parameter caveat. Every sentence adds useful information without repetition.

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

Completeness5/5

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

Without an output schema, the description still explains what the tool reports: the matching redirect and destination. Combined with the concise safety note and full parameter schema coverage, this is complete enough for an agent to call the tool correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds value beyond the schema's brief 'old address' label by showing accepted forms such as a path or full old URL and by explaining that utm_* and gclid tracking parameters are ignored during matching.

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 a specific diagnostic action: it tests what the live site does with one address, including which redirect matches and where it sends the visitor. The examples of accepted address formats make the purpose concrete and distinguish it from sibling redirect-management tools like list_redirects or update_redirect.

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 clearly implies when to use the tool: testing one old address to see its redirect outcome. However, it does not explicitly name alternatives such as list_redirects or map_old_site_links, nor does it state when not to use this tool.

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