Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging level | INFO |
| ACEDATACLOUD_API_TOKEN | Yes | API token from AceDataCloud | |
| SHORTURL_REQUEST_TIMEOUT | No | Request timeout in seconds | 30 |
| ACEDATACLOUD_API_BASE_URL | No | API base URL | https://api.acedata.cloud |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| shorturl_get_usage_guide | Get a comprehensive guide for using the ShortURL tools. Provides detailed information on how to use the ShortURL tools effectively, including parameters, examples, and best practices. Returns: Complete usage guide for ShortURL tools. |
| shorturl_get_api_info | Get information about the ShortURL API service. Returns details about the API endpoint, pricing, and service capabilities. Returns: API information and service details. |
| shorturl_create | Create a short URL from a long URL. Converts a long URL into a short, easy-to-share URL using the ShortURL API. The short URL redirects to the original long URL when visited. This is useful for:
Args: url: The long URL to shorten. Must be a valid HTTP or HTTPS URL. Returns: JSON response containing the shortened URL. Example: shorturl_create(url="https://platform.acedata.cloud/documents/a2303356-6672-4eb8-9778-75f55c998fe9") |
| shorturl_batch_create | 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"]) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| shorturl_guide | Guide for choosing the right ShortURL tool for URL shortening tasks. |
| shorturl_workflow_examples | Common workflow examples for ShortURL tasks. |
| shorturl_best_practices | Best practices for URL shortening. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |