Skip to main content
Glama

MiniURL shorten_url

shorten_url

Create a MiniURL short link for a supplied HTTP or HTTPS destination. Use when the user asks to shorten a URL or generate a MiniURL link. This is an additive external write; do not fetch or open the destination. If no authentication is supplied, MiniURL automatically starts a guest flow. Reuse idempotency_key when retrying the same logical request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe HTTP or HTTPS destination URL to shorten.
aliasNoOptional custom alias. Call check_alias before creating it. Requires a registered account; miniurl.com aliases must be at least 4 characters.
domainNoOptional domain. Requires a registered account with an active custom domain.
dry_runNoValidate the destination and show the planned link without creating it. Agent tokens only.
passwordNoOptional password. Requires Pro.
expirationNoOptional ISO 8601 expiration datetime. Requires Pro.
activated_atNoOptional ISO 8601 activation datetime. Requires Pro.
idempotency_keyNoOptional idempotency key. Reusing it with the same payload safely replays the original result.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
metaNo
errorNo
successYes
approvalNo
retryableNo
request_idYes
retry_afterNo
next_actionsNo
required_scopeNo
user_action_requiredNo

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description adds valuable behavioral context: it is an 'additive external write' (clarifies the side effect), it explicitly says 'do not fetch or open the destination' (prevents accidental network calls), and it explains guest-flow behavior when no auth is supplied. The idempotency-key guidance also goes beyond the schema annotations. No contradictions with readOnlyHint=false, destructiveHint=false.

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

Conciseness5/5

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

Three sentences, front-loaded with the primary action, followed by usage trigger, safety note, auth caveat, and retry guidance. Every sentence earns its place; no fluff or repetition.

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

Completeness5/5

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

Given the tool has 8 parameters, full schema descriptions, an output schema, and annotations, the description adds the missing behavioral and usage context: it clarifies the external write nature, guest-flow, and not to fetch the destination. It also points to idempotency handling. This is complete for the tool's complexity.

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?

The input schema already provides 100% descriptive coverage for all 8 parameters, so the baseline is 3. The description mentions the idempotency key and HTTP/HTTPS url, but these are already covered in the schema. The description does not add new parameter-level semantics beyond what the schema provides, so no score above baseline.

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

Purpose5/5

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

The description opens with a specific verb+resource: 'Create a MiniURL short link for a supplied HTTP or HTTPS destination.' It clearly distinguishes from siblings by focusing on single-URL shortening, rather than bulk operations like bulk_create_links or alias checks like check_alias. The second sentence reinforces the exact trigger condition.

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

Usage Guidelines4/5

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

The description gives an explicit 'Use when' condition: 'when the user asks to shorten a URL or generate a MiniURL link.' It also provides contextual warnings about not fetching the destination and the guest-flow fallback when authentication is missing. It stops short of naming alternative tools for exclusions, so it earns a 4 not a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool targets a clearly distinct resource and action: links, domains, tags, auth, and account status are all separate concerns. Even similar tools like shorten_url and bulk_create_links are differentiated by single vs. batch creation, and check_alias is distinct from get_link by checking availability before creation.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., add_domain, delete_link, list_tags, verify_registration_code). Mixed verb styles like tag/untag and shorten_url are still predictable and fit the established convention.

Tool Count3/5

At 23 tools, the set is on the heavy side and falls in the 16-25 borderline range. The number is somewhat justified by the broad scope (links, domains, tags, auth, analytics), but it approaches the upper limit where an agent may have difficulty selecting between many options.

Completeness5/5

The tool surface covers the full lifecycle of short links (create, read, update, delete, list, stats), domain management (add, delete, verify, list), tags (create, list, delete, tag/untag), and account/auth flows (guest tokens, registration, pro upgrade). It is hard to identify any critical missing operation for the stated purpose.

Resources