Skip to main content
Glama
magnus919

mcp-shlink

by magnus919

create_short_url

Shorten a long URL with optional custom slug, tags, expiration, and visit limits.

Instructions

Create a new shortened URL in Shlink.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNo
long_urlYes
max_visitsNo
custom_slugNo
valid_untilNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoAssociated tags
long_urlYesThe original long URL
short_urlYesThe shortened URL
short_codeYesThe short code
date_createdYesCreation date in ISO 8601 format
visits_countYesNumber of visits
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It only mentions 'create', which implies mutation, but lacks details about permanence, reversibility, or any side effects. This is insufficient for an agent to understand the tool's behavior.

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

Conciseness2/5

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

The description is very short (8 words), but it sacrifices necessary information. Conciseness should retain key details; here, it omits parameter context and usage guidance. The single sentence is front-loaded but too terse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 5 parameters (one required) and an existing output schema, the description is severely incomplete. It does not mention parameters, output format, or any constraints. The agent lacks essential context to invoke this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 5 parameters with 0% description coverage, meaning the description does not clarify any parameter meanings. It only says 'Create a new shortened URL', which adds no semantic value beyond what the parameter names imply. The description fails to compensate for the lack of schema descriptions.

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?

The description clearly states the action ('Create') and the resource ('shortened URL'), with the context 'in Shlink'. It is specific enough to understand the tool's basic purpose, but does not differentiate from sibling tools like list_short_urls or delete_short_url.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, such as when to use get_short_url or list_short_urls. It simply states the action without context for selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/magnus919/mcp-shlink'

If you have feedback or need assistance with the MCP directory API, please join our Discord server