Skip to main content
Glama

Get redirect

get_redirect
Read-onlyIdempotent

Get a single redirect by ID. Requires manageBlog permission on the target blog. Blog-scoped API keys are supported.

Input Schema

NameRequiredDescriptionDefault
blogIdYesBlog ID. Use list_blogs to discover available blog IDs.
redirectIdYesRedirect ID.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new context — the required manageBlog permission and that blog-scoped API keys work — which an agent cannot learn from the structured 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?

Three short sentences, no filler, and the core action is front-loaded ahead of the permission caveat. Every sentence contributes a distinct fact.

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?

With an output schema present, return values need no explanation, and annotations plus the permission note cover behavior. The only mild gap is not stating what happens on a missing or cross-blog redirectId, which would help an agent interpret errors.

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 blogId's schema text even routes to list_blogs for discovery, so the schema carries the parameter burden. The description adds nothing about the two IDs beyond what the schema states; baseline 3 applies.

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?

"Get a single redirect by ID" names a specific verb (get) and resource (redirect) and the singular scope distinguishes it implicitly from list_redirects and update_redirect. It stops short of naming a sibling explicitly, so it's clear but not maximally differentiated.

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?

The description supplies a prerequisite (manageBlog permission on the target blog) and notes blog-scoped key support, which helps an agent decide whether the call can succeed. It does not say when to reach for this versus list_redirects or get_blog, leaving the choice to inference from the name.

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