Skip to main content
Glama

LKJ — four-digit short links for TV browsers

Create a short URL with a four-digit TV code

create_short_link
Idempotent

Shorten a public website for easy typing on a TV remote, console browser, phone or computer. Returns a short preview URL, four digits, 24-hour idle expiry and instructions. Free, no account or API key. Appropriate for temporary device handoff; not permanent bookmarks, private links, casting or sign-in transfer. Publishes the submitted URL behind a guessable code. Requires a fresh random UUID request_id; reuse the same URL and ID for retries. 20 new attempts per network daily, within 200 creation-check attempts daily shared with the website; do not evade limits.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>",
      "request_id": "<request_id>"
    },
    "name": "create_short_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe public website the user wants to share. Bare domains default to HTTPS. Never submit private URLs or access tokens.
request_idYesGenerate a fresh random UUID for a new logical request. Retain it and the exact URL for retries. This is a request identifier, not an API key.

Output Schema

NameRequiredDescriptionDefault
codeYes
tv_urlYes
short_urlYes
expires_atYes
safety_noteYes
tv_home_urlYes
instructionsYes
expiry_policyYes
expires_in_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: it discloses that the URL is published behind a guessable code, that links idle-expire in 24 hours, that no account/API key is needed, the exact numeric quotas (20 new attempts per network daily, 200 creation-check attempts daily shared with the website), and an explicit 'do not evade limits' instruction. It also explains retry semantics tied to request_id, which the idempotentHint annotation only implies obliquely.

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?

Front-loaded with the purpose, then exclusions, then safety and quota constraints, in descending order of decision value. Despite listing many constraints, every sentence carries an operational fact (expiry, privacy, quota, retry) with no filler or restated name.

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?

Return values need not be described because an output schema exists, and everything an agent must decide before calling — suitability, privacy risk, quota ceiling, retry protocol — is covered. For a two-parameter creation tool this leaves no material gap.

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 coverage is 100% and the url/request_id descriptions already cover HTTPS defaulting, privacy warnings, UUID freshness and retry retention, so the description mostly restates what is structured. It corroborates the retry rule ('reuse the same URL and ID for retries') but adds no format or constraint detail the schema lacks, making baseline 3 the right call.

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?

Opens with a specific verb+resource plus the actual use case: 'Shorten a public website for easy typing on a TV remote, console browser, phone or computer.' The adjacent sentence names the concrete artifact produced (short preview URL plus four digits), so an agent knows exactly what it gets without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit positive guidance ('Appropriate for temporary device handoff') and explicit exclusions ('not permanent bookmarks, private links, casting or sign-in transfer'). Since the only sibling is get_service_info, no alternative routing is needed, and the when/when-not pair is complete on its own.

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.

Resources