Skip to main content
Glama

create_short_link

Generate trackable short URLs with click analytics for QR codes. Add custom codes and set expiration dates to monitor link performance.

Instructions

Create a tracked short link with click analytics. Use this to add tracking to QR codes — encode the short URL as the QR content. Supports custom codes and expiration dates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_urlYesThe destination URL that the short link redirects to
custom_codeNoOptional custom short code (3-32 alphanumeric chars). Auto-generated if omitted.
expires_atNoOptional expiration date in ISO 8601 format
Behavior2/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 behavioral disclosure. While it mentions tracking and analytics, it doesn't describe what permissions are needed, whether the operation is idempotent, what happens on failure, or what the response format looks like. For a creation tool with zero annotation coverage, this leaves significant behavioral gaps.

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 efficiently structured in two sentences with zero waste. The first sentence states the core purpose, and the second provides usage context and additional capabilities. Every word earns its place without redundancy.

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

Completeness2/5

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

For a creation tool with no annotations and no output schema, the description is incomplete. It doesn't explain what the tool returns (e.g., the short URL, analytics ID, or confirmation), error conditions, authentication requirements, or rate limits. The description provides good purpose clarity but lacks essential operational context.

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%, so the schema already documents all three parameters thoroughly. The description adds minimal value beyond the schema by mentioning 'custom codes and expiration dates' but doesn't provide additional syntax, format details, or constraints beyond what's already in the parameter descriptions.

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 clearly states the verb ('Create') and resource ('tracked short link with click analytics'), making the purpose explicit. It distinguishes this tool from siblings like 'generate_qr' (which creates QR codes) and 'update_link' (which modifies existing links) by focusing specifically on creation with tracking capabilities.

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 provides clear context for when to use this tool: 'Use this to add tracking to QR codes — encode the short URL as the QR content.' This gives a specific use case. However, it doesn't explicitly state when NOT to use it or mention alternatives like 'batch_generate' for multiple links or 'update_link' for modifications.

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/qr-maker-io/mcp-server'

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