Skip to main content
Glama

DWZ Short URL MCP Server

by muleiwu

create_short_url

Create custom short URLs from long links using specified domains, titles, and optional codes with expiration settings for efficient link management.

Instructions

创建一个新的短网址。支持自定义域名、短代码、标题和描述信息。

Input Schema

NameRequiredDescriptionDefault
custom_codeNo自定义短代码(可选,如果不提供将自动生成)
descriptionNo短网址的描述信息(可选)
domainYes短网址使用的域名(必填)
expire_atNo过期时间(可选,ISO 8601格式,不填表示永不过期)
original_urlYes原始URL地址(要缩短的长链接)
titleYes短网址的标题(必填)

Input Schema (JSON Schema)

{ "properties": { "custom_code": { "description": "自定义短代码(可选,如果不提供将自动生成)", "examples": [ "abc123", "mylink", "promo2024" ], "pattern": "^[a-zA-Z0-9]{3,50}$", "type": "string" }, "description": { "description": "短网址的描述信息(可选)", "examples": [ "这是我们的新产品页面", "2024年春节促销活动" ], "maxLength": 500, "type": "string" }, "domain": { "description": "短网址使用的域名(必填)", "examples": [ "dwz.test", "link.example.com" ], "pattern": "^[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$", "type": "string" }, "expire_at": { "description": "过期时间(可选,ISO 8601格式,不填表示永不过期)", "examples": [ "2024-12-31T23:59:59Z", "2025-01-01T00:00:00+08:00" ], "format": "date-time", "type": "string" }, "original_url": { "description": "原始URL地址(要缩短的长链接)", "examples": [ "https://www.example.com/very/long/path", "https://github.com/user/repo" ], "format": "uri", "type": "string" }, "title": { "description": "短网址的标题(必填)", "examples": [ "产品官网", "活动页面", "技术文档" ], "maxLength": 200, "minLength": 1, "type": "string" } }, "required": [ "original_url", "domain", "title" ], "type": "object" }

Other Tools from DWZ Short URL MCP Server

Related Tools

    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/muleiwu/dwz-mcp'

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