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 Safe Browsing. Requires a ShareCut API key (Business plan).

Input Schema

TableJSON 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 10 characters. Fails if already taken — check_short_code tests one first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of disclosing side effects and preconditions. It discloses the requirement of a ShareCut API key (Business plan), the Google Safe Browsing screening, the ability to later change destinations via update_link, and the fact that scans are counted. It does not explicitly state that the operation is stateful or irreversible, but its behavioral details go well beyond a generic 'create' and meaningfully inform an agent.

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 compact and front-loaded: it opens with the core action and key deliverable, then flows naturally through QR behavior, analytics, safety screening, and the API key requirement. Every sentence earns its place, and nothing is redundant with the schema or annotations.

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?

Given the tool's moderate complexity (4 params, nested object, no output schema), the description covers the action, the key preconditions, the post-creation behavior, and the relevant sibling tools for verification and follow-up. It omits explicit details about the response shape or failure modes, but the absence of an output schema and the rich behavioral context keep this strong — just short of fully complete.

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?

The schema already covers all parameters (100% coverage), so the baseline is 3. The description adds useful context about UTM handling ('The stored destination stays clean'), title visibility, and customCode constraints/conflicts, which enriches understanding without repeating the schema verbatim. It doesn't fully compensate with extra field semantics, but it does add some value, matching the baseline-3 expectation.

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 verb and resource ('Create a ShareCut short link for a URL'), and clearly differentiates this tool from siblings by emphasizing the bundled QR code and analytics. It also adds the unique behavioral fact that the QR points at the short link (so update_link can retarget it) and mentions safety screening — distinguishing it from alternatives like create_qr or shorten_urls_bulk.

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?

The description explains when to use this tool versus alternatives by noting the QR code and counted-scan benefits ('every scan is counted'), and explicitly names update_link as the follow-up tool for changing destinations. It also instructs that customCode failures should be pre-checked via check_short_code, giving clear routing guidance. A 'when not to use' statement is absent, but context signals and the explicit alternative references make the usage guidance strong.

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.