Skip to main content
Glama

shorturl_batch_create

Shorten multiple long URLs simultaneously in a single batch operation. This tool processes up to 10 URLs at once, generating a mapping of original URLs to their shortened versions for bulk URL management tasks.

Instructions

Create short URLs for multiple long URLs in a single batch.

Shortens multiple URLs at once, returning a mapping of original URLs to their shortened versions. Useful for bulk URL shortening tasks.

Args: urls: A list of long URLs to shorten (max 10 per batch).

Returns: JSON response containing the mapping of original to shortened URLs.

Example: shorturl_batch_create(urls=["https://example.com/long-url-1", "https://example.com/long-url-2"])

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlsYesA list of long URLs to shorten. Each must be a valid HTTP or HTTPS URL. Maximum 10 URLs per batch.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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/AceDataCloud/MCPShortURL'

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