Skip to main content
Glama

Snip

Shorten a link

shorten_link

Turn a long web address into a short snip.link link, free, and get a QR code for it. Use this when the user wants a short link, a link they can change after printing, or click and scan counts. When the user is not signed in to Snip the link works at once and the answer includes a claim link the user can open to keep it in a free Snip account and see its clicks. When they are signed in (the account endpoint or an API key) the link is saved to their account, and a custom ending (snip.link/your-ending) is allowed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe http or https address to shorten.
titleNoA name for the link in the user's dashboard. Needs the user signed in to Snip.
domainNoOne of the user's own live domains (go.yourbrand.com, see list_domains) to put the link on instead of snip.link. Needs the user signed in on a plan with own domains.
endingNoCustom ending for snip.link/<ending>: letters, digits, dashes, underscores. Needs the user signed in to Snip.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, destructive=false, idempotent=false) by explaining the anonymous-vs-signed-in split: unsigned calls return a claim link and work immediately, signed-in calls save to the account and allow a custom ending. This auth/precondition detail is exactly the context the annotations cannot carry.

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-loads the core action in the first sentence and keeps behavioral detail in the following two. Slightly repetitive around the signed-in/not-signed-in distinction, but every sentence contributes and nothing is padding.

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 4-param creation tool with no output schema, it covers purpose, triggers, auth preconditions, and even the shape of the response (a claim link). Only the exact return payload beyond the claim link is left unstated, which is a minor gap.

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?

Schema coverage is 100%, so baseline is 3, but the description adds usage-level context for the optional parameters — title, domain, and ending all require a signed-in account (and domain requires a plan with own domains). That precondition framing is more useful than the terse per-field schema text.

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 ('Turn a long web address into a short snip.link link') and adds the QR-code byproduct. Clear enough to distinguish from list_links/delete_link, but it never explicitly differentiates itself from make_qr_code, which it partially overlaps with.

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?

Gives concrete triggers: 'when the user wants a short link, a link they can change after printing, or click and scan counts.' That is clear when-to-use context, though it names no alternative tool (e.g., update_link) and states no when-not-to-use condition.

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