Skip to main content
Glama
sklivvz

TinyURL MCP

by sklivvz

tinyurl_set_expiration

Set or clear a TinyURL link's expiration date and verify the updated expiry, so you can control when individual short links stop working.

Instructions

Set or clear one exact TinyURL expiration through PATCH /update using new_expires_at, then verify the returned or re-read expiry. Requires alias and new_expires_at (string or null). Token permission: Update TinyURL.

Input Schema

NameRequiredDescriptionDefault
aliasYesExact alias: 1-30 letters, digits, underscore or hyphen.
domainNoFixed tinyurl.com domain.
new_expires_atYesISO 8601 date-time or duration accepted by TinyURL, or null for never.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It usefully discloses the endpoint (PATCH /update), required token permission ('Update TinyURL'), and a verification step after the write. However, it does not describe mutation side effects, error behavior if the alias is missing, or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded and efficient, using two sentences with no wasted framing. There is minor redundancy in restating required parameters already covered by the schema, but overall it stays concise.

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

Completeness3/5

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

There is no output schema and no annotations, so the description must compensate. It explains the operation and verification step but does not describe the return payload or error cases, leaving gaps for an agent invoking a mutation tool.

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. The description repeats the two required parameters but adds no extra semantics, and it does not mention the domain parameter at all beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: setting or clearing TinyURL expiration via PATCH /update. It is clearly about expiration rather than general update, though it does not explicitly distinguish itself from the sibling tinyurl_update tool beyond the expiration focus.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is used when setting or clearing an expiration, but it does not explicitly state when to use this versus tinyurl_update or other sibling tools. No exclusions or alternative routing are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.