Skip to main content
Glama
AlexGreenUK

XS Shlink MCP

by AlexGreenUK

get_short_url

Read-onlyIdempotent

Retrieve the details for one Shlink short code by providing the short code and optional domain. Get metadata and configuration for any shortened URL.

Instructions

Get details for one Shlink short code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNoDomain when the short code is not on the default domain
shortCodeYesThe Shlink short code
Behavior3/5

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

The annotations already declare readOnlyHint=true and idempotentHint=true, which covers the safety profile. The description adds no additional behavioral context such as error behavior, authentication needs, or response format, but it does not contradict the annotations.

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 a single, front-loaded sentence with no redundant words. It conveys the essential purpose efficiently and earns every word.

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 simple read operation with only two parameters and clear annotations, the description is adequate. It does not explain the return format, but the absence of an output schema reduces the expectation. Minor gap: the word 'details' is vague about what fields are returned, but the tool's simplicity and sibling context make it sufficient.

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 input schema provides 100% description coverage for both parameters: 'shortCode' is explained as 'The Shlink short code' and 'domain' as the domain when non-default. The description adds no extra meaning beyond the schema, so the baseline of 3 is appropriate.

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 uses the specific verb 'Get' with a clear resource: 'details for one Shlink short code.' It explicitly scopes to a single short code, distinguishing it from sibling tools like list_short_urls (which lists all) and get_short_url_visits (which retrieves visits).

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?

The description clearly implies usage for retrieving details of a specific short code, contrasting with list_short_urls for multiple codes. However, it does not explicitly name alternative tools or state when not to use it, so it stops short of a 5.

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/AlexGreenUK/XS-Shlink-MCP'

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