TinyURL MCP by usefulapi

v1.28.0
io.usefulapi/tinyurl Checked 1 day ago Published 12 hours ago

Create and manage TinyURL short links: aliases, destinations, tags, archive, click analytics.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

tinyurl_get_analytics Get click analytics

Aggregated click analytics for the account, or for one link (alias) or one tag, from a start date. report: timeline (clicks over time; interval minute/hour/day/week/month), general (browsers, operating systems, devices), weekday and hour (popularity), top_sources (referrers), top_languages, location (countries, or the regions of one country via region = ISO 3166 alpha-2 code). Which reports are available depends on the account's TinyURL plan. Visitor-level raw logs are not exposed. GET /analytics/*.

ParameterTypeDescription
from *stringStart of the report, ISO 8601 date or date-time (required).
report *stringWhich analytics report.
aliasstringOnly this short link, written domain/alias, e.g. tinyurl.com/myalias.
intervalstringBucket size, timeline report only.
regionstringlocation report only: world (default, lists countries) or a country code such as US (lists its regions).
tagstringOnly links with this tag.
tostringEnd of the report (default: now).

tinyurl_change_destination Change a short link's destination URL

WRITE: point an existing short link at a new destination. DESTRUCTIVE: everyone who opens the short link is sent to the new URL from now on and the old destination is overwritten. The new URL must be http(s). PATCH /change.

ParameterTypeDescription
alias *stringThe link's alias.
url *stringThe new destination URL (absolute, http:// or https://).
domainstringThe short link's domain: tinyurl.com (default) or one of the account's branded domains.