Skip to main content
Glama

Shorten URL

shorten_url

Shorten a URL with wx93.me and return the short link. Works without an account (free links open through a short ad page for people; bots and previews get the direct redirect). Signed-in Pro and Automation links redirect directly and can have aliases.

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": {
      "url": "<url>"
    },
    "name": "shorten_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe long http(s) URL to shorten.
aliasNoCustom short code (Pro and up), 3-64 of A-Z a-z 0-9 - _.
titleNo
domainNoWhich host the short link uses: wx93.me (default), or a verified custom domain of yours (Automation).
expires_inNoLifetime like 90m, 12h, 7d, 2w, 1y. Omit for never.
redirect_typeNoPro and up. Default 302.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false); the description adds genuinely non-obvious behavior — free links pass through an ad interstitial for humans while bots get a direct redirect, and Pro/Automation links redirect directly. It stops short of saying whether the created link is persisted to the account or subject to rate limits.

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?

Three compact sentences, front-loaded with what the tool does and the returned value, followed by the tier/behavior nuances. No filler, though the tier caveat mildly duplicates what the schema already says.

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?

For a six-parameter write tool with no output schema, the description covers the return value, account requirements, and the visible behavioral difference between free and paid links. It could still say whether links are saved (listable via list_links) and what happens on invalid or duplicate aliases, but nothing essential is missing for a correct call.

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 83%, so the schema already documents url, alias, domain, expires_in, and redirect_type. The description's mentions of aliases and domain tiers largely restate the schema's own '(Pro and up)' and '(Automation)' notes, adding framing rather than new semantics; `title` remains unexplained in both places.

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?

States a specific verb and resource ('Shorten a URL with wx93.me and return the short link'), so the agent knows both the action and that a short link value comes back. It does not explicitly distinguish itself from the sibling bulk_shorten, leaving the singular-vs-bulk distinction to inference from names.

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 useful tier context (works without an account; aliases and direct redirect need Pro or Automation), which helps set expectations. However, it never states when to pick this over bulk_shorten, expand_link, or create_qr_code, so alternative selection is only implied by the singular framing.

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