Skip to main content
Glama

ShareCut QR & Short Links

Shorten a URL

shorten_url

Create a ShareCut short link for a URL and get a matching QR code. Unlike a static QR, this one points at the short link, so update_link can change where it goes after it has been printed, and every scan is counted (country, device, referrer). Destinations are screened with Google Web Risk. Requires a ShareCut API key (Business plan).

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 http(s) destination to shorten.
utmNoOptional UTM parameters appended to the destination at redirect time: source, medium, campaign, term, content. The stored destination stays clean.
titleNoOptional label for the link, shown in the owner dashboard. Not visible to visitors.
customCodeNoOptional custom short code: lowercase letters, digits and hyphens, up to 30 characters. Fails if already taken — check_short_code tests one first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / customCode / description
      Previous value: -"Optional custom short code: lowercase letters, digits and hyphens, up to 10 characters. Fails if already taken — check_short_code tests one first."New value: +"Optional custom short code: lowercase letters, digits and hyphens, up to 30 characters. Fails if already taken — check_short_code tests one first."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations the description carries the full burden and does well: it discloses the dynamism of the link, that scans are counted with country/device/referrer, that destinations are screened via Google Web Risk (implying possible rejection), and that a Business-plan API key is required. It omits failure behavior, rate limits, and response shape.

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 sentences, front-loaded with the action and output, then differentiation, then consequences, then prerequisite. No filler and nothing repeated from structured fields.

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 mutating tool with no annotations and no output schema, it covers the important unknowns: dynamic redirects, analytics capture, screening, and auth tier. The one remaining gap is that it never says what the call returns (short URL string? QR image?), which matters because there is no output schema.

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 description coverage is 100% and the descriptions already explain utm, title, and customCode including the check_short_code prerequisite, so the baseline applies. The tool description adds no parameter meaning beyond the schema.

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 ('Create a ShareCut short link') and adds the secondary output (matching QR code), which lets an agent separate it from create_qr and shorten_urls_bulk 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 Guidelines4/5

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

Establishes context for use: single URL, dynamic link that must survive printing, and scan attribution. It explicitly points at update_link as the follow-up for changing destinations, but never states when to prefer a static QR, create_qr, or the bulk variant.

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.