Skip to main content
Glama

Shopify SEO Expert: Digital Darts

Fix broken links in bulk

fix_broken_links
Destructive

Fix up to 100 broken links in one call, each its own way: "redirect" sends the old URL to a live page on this store (internal links only), "replace" points the link in the content at a new URL, "remove" takes the link out of the content and keeps its text or image, "dismiss" hides it from the list and changes nothing on the store. Use it when the merchant gives a list of old and new URLs, or wants a set of links handled the same way; for a single link, use create_redirect or replace_link. Show the merchant what will change and get their go-ahead first. One job runs per store at a time, in the background, so follow it with get_job_status.

Input Schema

NameRequiredDescriptionDefault
fixesYes

Output Schema

NameRequiredDescriptionDefault
okYes
jobIdNoPass to get_job_status
queuedYesFixes the job will run
messageYes
rejectedYesFixes that were not queued, each with why

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the destructiveHint/openWorldHint annotations by describing the concrete effect of each action — redirect only rewrites internal links to a live page, replace edits content, remove keeps the text or image, dismiss touches nothing on the store. It also discloses a non-obvious operational trait: one job per store at a time, runs in the background, follow it with get_job_status.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with capacity and the action taxonomy, then usage, then the safety/job caveat — a logical order with no filler. It is dense and slightly long-sentenced, but every clause carries decision-relevant information.

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?

Covers capacity limits, per-action semantics, approval workflow, mutual exclusion, async execution, and the follow-up tool for results, while the output schema and annotations handle return shape and safety hints. Nothing an agent needs to call this correctly is missing.

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?

The single 'fixes' array parameter is opaque from the schema alone (coverage reported as 0%), and the description supplies the crucial meaning: each entry carries its own action, and target's role differs per action. It stops short of naming brokenLinkId or restating the enum values per entry, relying on the schema for those.

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?

Names a specific verb and resource (fix broken links) and immediately bounds scope: up to 100 per call, with the four action variants defined inline. An agent can distinguish this from create_redirect, replace_link, and list_broken_links without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use it (merchant supplies a list of old/new URLs, or a set of links sharing one treatment) and when not to ('for a single link, use create_redirect or replace_link'), naming both alternatives. It also adds a workflow prerequisite: show the merchant what will change and get approval first.

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