YOURLS-MCP
YOURLS-MCP
Ein Model Control Protocol (MCP)-Server zur Integration der YOURLS-URL-Verkürzung in Claude Desktop.
Autor: Martin Kessler
Überblick
YOURLS-MCP bildet eine Brücke zwischen Claude Desktop und Ihrer selbst gehosteten YOURLS -URL-Shortener-Instanz. Nach der Konfiguration ermöglicht es Claude, URLs mithilfe Ihrer persönlichen YOURLS-Installation automatisch zu kürzen.
Related MCP server: NotePlan MCP Server
Merkmale
Kürzen Sie URLs mit Ihrer YOURLS-Instanz
Erstellen Sie benutzerdefinierte Kurz-URLs mit bestimmten Schlüsselwörtern
Umgang mit doppelten URLs: Erstellen Sie mehrere Kurz-URLs für dieselbe Ziel-URL (eindeutig für YOURLS-MCP).
Erweiterte URL-Informationen und Statistiken
Datenbankstatistiken
Intelligente Fallbacks für Plugins
Umfassende Dokumentation und Testtools
Schnellstart
Installation
# Clone the repository
git clone https://github.com/kesslerio/yourls-mcp.git
cd yourls-mcp
# Install dependencies
npm installKonfiguration
Erstellen Sie eine Claude Desktop-Konfigurationsdatei, die auf Ihre YOURLS-MCP-Installation verweist:
{
"mcpServers": {
"yourls": {
"command": "node",
"args": [
"/full/path/to/yourls-mcp/yourls-mcp.js"
],
"env": {
"YOURLS_API_URL": "https://your-yourls-domain.com/yourls-api.php",
"YOURLS_AUTH_METHOD": "signature",
"YOURLS_SIGNATURE_TOKEN": "your-secret-signature-token"
}
}
}
}Speichern Sie diese Datei in Ihrem Claude Desktop-Konfigurationsverzeichnis. Normalerweise ist das:
macOS:
~/Library/Application Support/Claude/config.jsonWindows:
%APPDATA%\Claude\config.jsonLinux:
~/.config/Claude/config.json
Merkmale
Nahtlose Integration mit Claude Desktop über MCP
URLs direkt über Claude kürzen
Erweitern Sie verkürzte URLs, um ihr Ziel anzuzeigen
Abrufen von Klickstatistiken für Ihre Links
Unterstützung benutzerdefinierter Schlüsselwörter
Sichere signaturbasierte Authentifizierung
Konfiguration der Umgebungsvariablen
Konfigurationsoptionen
Die folgenden Umgebungsvariablen können in der Claude Desktop-Konfiguration festgelegt werden:
Variable | Beschreibung | Standard | Erforderlich |
| URL zu Ihrem YOURLS-API-Endpunkt | - | Ja |
| Authentifizierungsmethode ( |
| NEIN |
| Geheimes Token für signaturbasierte Authentifizierung | - | Ja (bei Verwendung der Signaturauthentifizierung) |
| Benutzername für passwortbasierte Authentifizierung | - | Ja (bei Verwendung der Kennwortauthentifizierung) |
| Passwort für passwortbasierte Authentifizierung | - | Ja (bei Verwendung der Kennwortauthentifizierung) |
| Time-to-Live für Signaturen in Sekunden | 43200 (12 Stunden) | NEIN |
Verfügbare MCP-Tools
YOURLS-MCP stellt Claude die folgenden Tools zur Verfügung:
Kernwerkzeuge
1. URL verkürzen
Verkürzt eine lange URL mithilfe Ihrer YOURLS-Instanz.
Parameter:
url(erforderlich): Die lange URL, die gekürzt werden sollkeyword(optional): Benutzerdefiniertes Schlüsselwort für die Kurz-URLtitle(optional): Titel für die URL
2. expand_url
Erweitert eine kurze URL, um die ursprüngliche lange URL zu erhalten.
Parameter:
shorturl(erforderlich): Die kurze URL oder das Schlüsselwort zum Erweitern
3. url_stats
Ruft Statistiken für eine verkürzte URL ab.
Parameter:
shorturl(erforderlich): Die kurze URL oder das Schlüsselwort, für das Statistiken abgerufen werden sollen
4. db_stats
Ruft globale Statistiken für Ihre YOURLS-Instanz ab.
Parameter: Keine
5. benutzerdefinierte URL erstellen
Erstellt eine benutzerdefinierte Kurz-URL mit einem bestimmten Schlüsselwort, auch für URLs, die bereits in der Datenbank vorhanden sind.
Parameter:
url(erforderlich): Die zu kürzende Ziel-URLkeyword(erforderlich): Das benutzerdefinierte Schlüsselwort für die Kurz-URL (z. B. „Web“ für bysha.pe/web)title(optional): Titel für die URLbypass_shortshort(optional): Ob das ShortShort-Plugin umgangen werden soll, das das Kürzen bereits gekürzter URLs verhindert (Standard: false)force_url_modification(optional): Ob die Verwendung der URL-Änderungsmethode zum Erstellen mehrerer Kurz-URLs für dasselbe Ziel erzwungen werden soll (Standard: „false“)
6. Verkürzen mit Analytics
Verkürzt eine lange URL mit Google Analytics UTM-Parametern.
Parameter:
url(erforderlich): Die zu kürzende URLsource(erforderlich): UTM-Quellparameter – identifiziert die Quelle des Datenverkehrs (z. B. „Google“, „Newsletter“, „Twitter“)medium(erforderlich): UTM-Mediumparameter – identifiziert das Marketingmedium (z. B. „CPC“, „Soziales“, „E-Mail“)campaign(erforderlich): UTM-Kampagnenparameter – identifiziert die spezifische Kampagne (z. B. „summer_sale“, „product_launch“)term(optional): UTM-Term-Parameter – identifiziert bezahlte Suchbegriffecontent(optional): UTM-Inhaltsparameter - unterscheidet Anzeigen oder Links, die auf dieselbe URL verweisenkeyword(optional): Benutzerdefiniertes Schlüsselwort für die Kurz-URLtitle(optional): Titel für die URL
Plugin-basierte Tools
7. url_analytics
Ruft detaillierte Klickanalysen für eine Kurz-URL innerhalb eines bestimmten Zeitraums ab. Erfordert die Installation des API ShortURL Analytics-Plugins.
Parameter:
shorturl(erforderlich): Die kurze URL oder das Schlüsselwort, für das Analysen abgerufen werden sollendate(erforderlich): Startdatum für die Analyse im Format JJJJ-MM-TTdate_end(optional): Enddatum für die Analyse im Format JJJJ-MM-TT (standardmäßig das Startdatum, falls nicht angegeben)
8. Vertrags-URL
Prüft, ob eine URL bereits gekürzt wurde, ohne eine neue Kurz-URL zu erstellen. Erfordert die Installation des API Contract-Plugins.
Parameter:
url(erforderlich): Die URL, um zu überprüfen, ob sie gekürzt wurde
9. URL aktualisieren
Aktualisieren Sie eine vorhandene Kurz-URL, sodass sie auf eine andere Ziel-URL verweist. Dazu muss das API-Plugin „URL bearbeiten“ installiert sein.
Parameter:
shorturl(erforderlich): Die zu aktualisierende Kurz-URL oder das Schlüsselworturl(erforderlich): Die neue Ziel-URLtitle(optional): Optionaler neuer Titel („behalten“, um den vorhandenen beizubehalten, „auto“, um ihn von der URL abzurufen)
10. Schlüsselwort ändern
Ändern Sie das Schlüsselwort einer bestehenden Kurz-URL. Dazu muss das API-Plugin „URL bearbeiten“ installiert sein.
Parameter:
oldshorturl(erforderlich): Die vorhandene Kurz-URL oder das Schlüsselwortnewshorturl(erforderlich): Das neue zu verwendende Schlüsselworturl(optional): Optionale URL (falls nicht angegeben, wird die URL von oldshorturl verwendet)title(optional): Optionaler neuer Titel („behalten“, um den vorhandenen beizubehalten, „auto“, um ihn von der URL abzurufen)
11. URL-Schlüsselwort abrufen
Holen Sie sich die Schlüsselwörter für eine lange URL. Dazu muss das API-Plugin „URL bearbeiten“ installiert sein.
Parameter:
url(erforderlich): Die lange URL zum Nachschlagenexactly_one(optional): Wenn false, werden alle Schlüsselwörter für diese URL zurückgegeben (Standard: true)
12. URL löschen
Löscht eine Kurz-URL. Dazu muss das Plugin „API Delete“ installiert sein.
Parameter:
shorturl(erforderlich): Die zu löschende Kurz-URL oder das Schlüsselwort
13. list_urls
Erhalten Sie eine Liste von URLs mit Sortier-, Paginierungs- und Filteroptionen. Erfordert die Installation des Plugins „API List Extended“.
Parameter:
sortby(optional): Feld zum Sortieren nach (Schlüsselwort, URL, Titel, IP, Zeitstempel, Klicks) (Standard: Zeitstempel)sortorder(optional): Sortierreihenfolge (ASC oder DESC) (Standard: DESC)offset(optional): Paginierungsoffset (Standard: 0)perpage(optional): Anzahl der Ergebnisse pro Seite (Standard: 50)query(optional): Optionale Suchabfrage zum Filtern nach Schlüsselwörternfields(optional): Zurückzugebende Felder (Schlüsselwort, URL, Titel, Zeitstempel, IP, Klicks) (Standard: alle Felder)
14. QR-Code generieren
Generieren Sie einen QR-Code für eine verkürzte URL. Erfordert die Installation des Plugins YOURLS-IQRCodes.
Parameter:
shorturl(erforderlich): Die kurze URL oder das Schlüsselwort zum Generieren eines QR-Codes fürsize(optional): QR-Code-Größe in Pixelnborder(optional): Rahmenbreite um den QR-Codeecc(optional): Fehlerkorrekturstufe: L (niedrig), M (mittel), Q (Quartil) oder H (hoch)format(optional): Bildformat (png, jpg, svg usw.)
Anwendungsbeispiele
Nach der Konfiguration kann Claude die YOURLS-Tools mit Eingabeaufforderungen wie den folgenden verwenden:
Beispiele für Kernfunktionen
„Kürzen Sie diese URL für mich: https://example.com/sehr-lange-url-die-gekürzt-werden-muss “
„Erstellen Sie eine kurze URL mit dem Schlüsselwort ‚docs‘ für https://example.com/documentation “
„Richten Sie eine benutzerdefinierte URL bysha.pe/web ein, die auf shapescale.com verweist.“
„Erstellen Sie eine benutzerdefinierte Kurz-URL für unsere Dokumentation mit dem Schlüsselwort ‚docs‘.“
„Erstellen Sie mehrere Schlüsselwörter (docs, docs2, docs3) für dieselbe Dokumentations-URL.“
„Erstellen Sie eine kurze URL für unsere Kampagne mit UTM-Tracking-Parametern“
„Kürzen Sie diese Marketing-URL mit Google Analytics-Tracking: Quelle=Newsletter, Medium=E-Mail, Kampagne=Sommerstart“
"Erweitern Sie diese kurze URL: https://IhreDomain.com/abc "
„Wie viele Klicks hat meine Kurz-URL https://yourdomain.com/abc ?“
„Zeigen Sie mir die Statistiken für meine YOURLS-Instanz“
Beispiele für Plugin-basierte Funktionen
„Geben Sie mir detaillierte Analysen für die Kurz-URL ‚abc‘ für Januar 2025.“
„Zeigen Sie mir die Klickstatistiken für bysha.pe/abc vom 01.01.2025 bis zum 31.01.2025“
„Wie hoch war der tägliche Datenverkehr für meine Kurz-URL ‚Web‘ im letzten Monat?“
„Überprüfen Sie, ob diese URL bereits gekürzt wurde: https://example.com/page “
„Hat jemand bereits eine Kurz-URL für https://example.com/page erstellt?“
„Aktualisieren Sie das Ziel der Kurz-URL ‚docs‘, sodass es auf https://example.com/new-documentation verweist.“
„Ändern Sie, wohin das Schlüsselwort ‚docs‘ verweist.“
„Benennen Sie die Kurz-URL ‚docs‘ in ‚documentation‘ um.“
„Ändern Sie das Schlüsselwort meiner Kurz-URL von ‚docs‘ in ‚documentation‘.“
„Was ist das Schlüsselwort für diese lange URL: https://example.com/page ?“
"Liste alle Kurz-URLs für https://example.com/page auf"
„Löschen Sie die Kurz-URL ‚docs‘“
„Entfernen Sie das Schlüsselwort ‚docs‘ aus meiner YOURLS-Instanz.“
„Zeigen Sie mir die aktuellsten 10 Kurz-URLs in meiner YOURLS-Datenbank“
"Liste alle Kurz-URLs sortiert nach der Anzahl der Klicks auf"
„Suchen Sie nach kurzen URLs, die ‚Produkt‘ enthalten.“
„Generieren Sie einen QR-Code für meine Kurz-URL ‚docs‘“
„Erstellen Sie einen QR-Code für bysha.pe/web“
„Geben Sie mir einen QR-Code für meine Produktseite mit hoher Fehlerkorrektur“
„Ich brauche einen größeren QR-Code für die ‚Landing‘-Kurz-URL, also 300 Pixel.“
„Generieren Sie einen SVG-QR-Code für unseren Dokumentationslink.“
Entwicklung
# Clone the repository
git clone https://github.com/kesslerio/yourls-mcp.git
cd yourls-mcp
# Install dependencies
npm install
# For local testing, create a claude-local-config.json file:
{
"mcpServers": {
"yourls": {
"command": "node",
"args": [
"/full/path/to/yourls-mcp/yourls-mcp.js"
],
"env": {
"YOURLS_API_URL": "https://your-yourls-domain.com/yourls-api.php",
"YOURLS_AUTH_METHOD": "signature",
"YOURLS_SIGNATURE_TOKEN": "your-secret-signature-token"
}
}
}
}
# Start the server directly (for testing)
node yourls-mcp.jsWie es funktioniert
YOURLS-MCP fungiert als Brücke zwischen Claude Desktop und Ihrer YOURLS-Instanz:
Claude Desktop startet den YOURLS-MCP-Server bei Bedarf
Der Server liest die Konfiguration aus Umgebungsvariablen
Wenn Claude ein Tool aufruft, führt der Server die entsprechenden API-Aufrufe an Ihre YOURLS-Instanz durch
Die Ergebnisse werden Claude in einem strukturierten Format zurückgegeben
Der Server verwendet den Model Context Protocol (MCP)-Standard zur Kommunikation mit Claude Desktop und ermöglicht so eine nahtlose Integration und natürliche Sprachinteraktion mit Ihrem URL-Shortener.
Umgang mit doppelten URLs
YOURLS-MCP bietet die einzigartige Möglichkeit, mehrere Kurz-URLs für dieselbe Ziel-URL zu erstellen. Diese Funktion wird von YOURLS nicht nativ unterstützt. Ausführliche Informationen zu dieser Funktion finden Sie in der Dokumentation zur Handhabung doppelter URLs .
Es werden zwei Ansätze unterstützt:
Plugin-Ansatz (empfohlen): Verwendet das enthaltene Plugin „Force Allow Duplicates“, um echte doppelte URLs zu erstellen
URL-Modifikationsansatz (Fallback): Fügt Zeitstempelparameter hinzu, um jede URL technisch eindeutig zu machen und gleichzeitig die Funktionalität zu erhalten
Das System wählt automatisch den geeigneten Ansatz basierend auf Ihrem YOURLS-Setup.
Kompatibilität mit YOURLS-Plugins
YOURLS-MCP ist so konzipiert, dass es sowohl mit Standard-YOURLS-Installationen als auch mit verschiedenen Plugins funktioniert, mit integrierten Fallbacks, wenn Plugins nicht verfügbar sind:
Unterstützte Plugins mit Fallbacks
YOURLS-MCP enthält intelligente Fallbacks für erweiterte Funktionen, wenn keine Plugins installiert sind:
API ShortURL Analytics : Für detaillierte Klickstatistiken mit Datumsbereichen
Fallback-Verhalten : Bietet grundlegende Klickstatistiken über die YOURLS-Kern-API, wenn das Plugin nicht verfügbar ist
API-Vertrag : Um zu prüfen, ob URLs vorhanden sind, ohne sie zu erstellen
Fallback-Verhalten : Verwendet die Kern-API von YOURLS Stats, um mit Filterung nach vorhandenen URLs zu suchen
API-URL bearbeiten : Zum Aktualisieren kurzer URLs und Ändern von Schlüsselwörtern
Fallback-Verhalten :
Zum Aktualisieren von URLs: Versuche, die URL mit demselben Schlüsselwort neu zu erstellen
Zum Ändern von Schlüsselwörtern: Erstellt eine neue Kurz-URL mit dem neuen Schlüsselwort (die alte bleibt erhalten, da zum Löschen das API Delete-Plugin erforderlich ist)
Zum Abrufen von URL-Schlüsselwörtern: Verwendet die Kern-API YOURLS-Statistiken mit Filterung
API Delete : Zum Entfernen kurzer URLs
Fallback-Verhalten : Eingeschränkt – bietet Informationen darüber, dass zum Löschen das Plugin erforderlich ist, da die Kern-API von YOURLS das Löschen nicht unterstützt
API-Liste erweitert : Für eine erweiterte URL-Auflistung mit Sortierung und Filterung
Fallback-Verhalten : Verwendet die Kern-API von YOURLS-Statistiken mit clientseitiger Sortierung und Paginierung
YOURLS-IQRCodes : Zum Generieren von QR-Codes aus Kurz-URLs
Fallback-Verhalten : Keines – erfordert die Installation des Plugins
ShortShort : Behandelt den Fehler ordnungsgemäß, wenn versucht wird, eine bereits gekürzte URL zu kürzen
Kompatibilität : Die Fehlerbehandlung funktioniert unabhängig davon, ob das Plugin installiert ist
Vorhandene URLs zulassen : Ändert, wie YOURLS mit doppelten URLs umgeht
Plugin-URL : https://github.com/elder-oss/yourls-allow-existing-urls
Hinweis : Dieses Plugin ändert Fehlerantworten in Erfolgsantworten, erstellt aber keine neuen Kurz-URLs für bestehende Ziel-URLs.
Unsere Lösung : YOURLS-MCP implementiert einen URL-Modifikationsansatz, der einen Zeitstempelparameter hinzufügt, um URLs in der Datenbank eindeutig zu machen und gleichzeitig die Benutzererfahrung zu erhalten
Installation : Optional – unser Ansatz zur URL-Änderung funktioniert mit oder ohne installiertes Plugin
Duplikate zulassen erzwingen : Ermöglicht das Erstellen mehrerer kurzer URLs für dieselbe Ziel-URL.
Plugin-Repository : https://github.com/kesslerio/yourls-force-allow-duplicates (in Kürze verfügbar)
Beschreibung : Benutzerdefiniertes Plugin, das die eindeutige URL-Einschränkung von YOURLS umgeht
Verwendung : Fügen Sie
force=1zu Ihren API-Anfragen hinzu oder verwenden Sieforce_url_modification=falsemit dem Toolcreate_custom_urlInstallation :
Download aus dem Plugin-Repository
Kopieren Sie den Ordner
force-allow-duplicatesin Ihr VerzeichnisYOURLS/user/plugins/Aktivieren Sie das Plugin in Ihrer YOURLS-Admin-Oberfläche
Fallback-Mechanismus
Wenn eine Plugin-abhängige Funktion verwendet wird, das Plugin aber nicht installiert ist, führt YOURLS-MCP Folgendes aus:
Erkennt automatisch fehlende Plugins
Bietet, soweit möglich, entsprechende Fallback-Funktionen
Enthält ein
fallback_used: trueAttribut in Antworten, wenn Fallbacks aktiviert sindFügt
fallback_limitations-Informationen hinzu, wenn die Fallback-Funktionalität eingeschränkt istGibt bei vollständig nicht unterstützten Vorgängen informative Fehlermeldungen zurück
Dieser Ansatz stellt sicher, dass YOURLS-MCP mit möglichst vielen YOURLS-Installationen funktioniert und gleichzeitig klare Informationen über die mit Plugins verfügbaren erweiterten Funktionen bereitstellt.
Entwicklung und Tests
Testskripte
Das Projekt enthält verschiedene Testskripte im Verzeichnis tests/integration/ :
URL-Verkürzungstests :
test-custom-url.js: Tests zum Erstellen benutzerdefinierter URLs mit bestimmten Schlüsselwörterntest-url-modification.js: Testet den URL-Änderungsansatz für den Umgang mit doppelten URLstest-plugin-behavior.js: Testet das Verhalten des Plugins „Vorhandene URLs zulassen“
Plugin-Tests :
test-duplicate-urls.js: Testet das Erstellen doppelter URLs mit unterschiedlichen Schlüsselwörterntest-plugin-approach.js: Testet den direkten Plugin-Ansatz zur Handhabung von Duplikaten
Laufende Tests :
# Run a specific test node tests/integration/test-custom-url.js
Hilfsskripte
Das Verzeichnis scripts/ enthält Dienstprogrammskripte für allgemeine Vorgänge:
create-random.js: Erstellt eine zufällige Kurz-URL für ein angegebenes ZielAndere Skripte für bestimmte Aufgaben zur URL-Erstellung
Lizenz
MIT
Um
YOURLS-MCP wurde von Martin Kessler entwickelt, um YOURLS über das Model Context Protocol (MCP) mit Claude Desktop und anderen Claude-Angeboten zu integrieren.
Das Plugin „Force Allow Duplicates“ wurde entwickelt, um das Problem der Erstellung mehrerer Kurz-URLs für dasselbe Ziel zu lösen, was in YOURLS nicht nativ unterstützt wird.
Für Support, Probleme oder Funktionsanfragen:
YOURLS-MCP: https://github.com/kesslerio/yourls-mcp/issues
Plugin „Force Allow Duplicates“: https://github.com/kesslerio/yourls-force-allow-duplicates/issues (sobald das Repository erstellt ist)
Available Tools
14 toolschange_keywordC
Change the keyword of an existing short URL
| Name | Required | Description | Default |
|---|---|---|---|
| newshorturl | Yes | The new keyword to use | |
| oldshorturl | Yes | The existing short URL or keyword | |
| title | No | Optional new title |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It implies a mutation ('change') but doesn't specify permissions needed, whether changes are reversible, rate limits, or error handling. This is inadequate for a tool that modifies existing data without structured safety hints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core action without unnecessary words. Every part earns its place by directly stating the tool's function, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool performs a mutation with no annotations and no output schema, the description is insufficient. It doesn't explain what happens on success (e.g., returns updated URL), error cases, or how it fits among siblings like 'update_url'. For a 3-parameter tool that alters data, more context is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so parameters are well-documented in the schema. The description adds no additional meaning beyond implying 'oldshorturl' and 'newshorturl' relate to keywords, but doesn't clarify format or constraints. This meets the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('change') and resource ('keyword of an existing short URL'), making the purpose immediately understandable. However, it doesn't differentiate from sibling tools like 'update_url' or 'get_url_keyword', which could handle similar operations, so it doesn't reach the highest score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'update_url' or 'create_custom_url'. It lacks context about prerequisites (e.g., needing an existing short URL) or exclusions, leaving the agent to infer usage from the name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
contract_urlA
Check if a URL has already been shortened without creating a new short URL
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to check if it exists in the database |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses the tool's read-only behavior by stating it checks without creating, but lacks details on error handling, response format, or database interaction specifics, leaving gaps in behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the purpose and usage, with zero wasted words, making it highly concise and well-structured for quick understanding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations and no output schema, the description is adequate for a simple lookup tool but incomplete in explaining return values or potential errors, which could hinder agent usage in more complex scenarios.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 the 'url' parameter. The description adds minimal semantic context by implying the URL is checked against a database, but does not provide additional syntax or format details beyond what the schema covers.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Check if a URL has already been shortened') and the resource ('URL'), distinguishing it from sibling tools like 'shorten_url' or 'expand_url' by emphasizing it does not create new short URLs.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly states when to use this tool ('Check if a URL has already been shortened') and when not to ('without creating a new short URL'), providing clear alternatives by contrasting with sibling tools like 'shorten_url' for creation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_custom_urlA
Create a custom short URL with a specific keyword, even for URLs that already exist in the database
| Name | Required | Description | Default |
|---|---|---|---|
| force_url_modification | No | Whether to force URL modification to allow duplicates | |
| keyword | Yes | The custom keyword for the short URL | |
| title | No | Optional title for the URL | |
| url | Yes | The URL to shorten |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses the key behavioral trait about handling existing URLs, which is valuable. However, it doesn't mention permission requirements, rate limits, whether the operation is idempotent, or what happens on failure - significant gaps for a creation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that communicates the core purpose and key differentiator without any wasted words. It's appropriately sized and front-loaded with the main action.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a creation tool with no annotations and no output schema, the description provides the essential purpose but lacks important context about permissions, error conditions, return values, and system constraints. The 100% schema coverage helps, but behavioral aspects remain underspecified.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema descriptions. This meets the baseline expectation when schema coverage is complete.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Create a custom short URL'), identifies the resource ('with a specific keyword'), and distinguishes it from siblings by mentioning 'even for URLs that already exist in the database' - which differentiates it from tools like 'shorten_url' that might not handle duplicates.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context about when to use this tool ('for URLs that already exist in the database'), but doesn't explicitly mention when NOT to use it or name specific alternatives among the many sibling tools. It implies this is for custom keyword creation with duplicate handling.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
db_statsB
Get global statistics for the YOURLS instance
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden for behavioral disclosure. While 'Get' implies a read operation, it doesn't specify whether this requires authentication, what format the statistics are returned in, whether there are rate limits, or if the data is cached. For a statistics tool with zero annotation coverage, this leaves significant gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that gets straight to the point without any unnecessary words. It's perfectly front-loaded with the core functionality, making it easy for an AI agent to quickly understand what the tool does.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that this is a statistics tool with no annotations and no output schema, the description is insufficient. It doesn't explain what kind of statistics are returned (e.g., total URLs, clicks, users), the format of the response, or any behavioral characteristics. For a tool that presumably returns structured data, more context is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, and schema description coverage is 100%, so there are no parameters to document. The description appropriately doesn't waste space discussing nonexistent parameters, earning a baseline score of 4 for this dimension.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Get') and target resource ('global statistics for the YOURLS instance'), making the tool's purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'url_stats' or 'url_analytics', which also provide statistical data but for different scopes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. With siblings like 'url_stats' and 'url_analytics' that also provide statistics, there's no indication whether this tool should be used for system-wide metrics versus URL-specific data, or any prerequisites for its use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
delete_urlC
Delete a short URL
| Name | Required | Description | Default |
|---|---|---|---|
| shorturl | Yes | The short URL or keyword to delete |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. 'Delete' implies a destructive mutation, but the description doesn't specify whether this action is reversible, what permissions are required, or what the response looks like. It lacks details on side effects or error conditions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste. It's front-loaded and appropriately sized for a simple tool, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive mutation tool with no annotations and no output schema, the description is incomplete. It doesn't explain what 'delete' entails (e.g., permanent removal, effects on analytics), return values, or error handling, leaving significant gaps for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with the parameter 'shorturl' documented as 'The short URL or keyword to delete'. The description adds no additional meaning beyond this, so it meets the baseline of 3 where the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Delete a short URL' clearly states the action (delete) and resource (short URL). It distinguishes from siblings like 'update_url' or 'change_keyword' by specifying deletion rather than modification, though it doesn't explicitly contrast with all alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives like 'update_url' or 'change_keyword'. The description states what it does but offers no context about prerequisites, when deletion is appropriate, or what happens after deletion.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
expand_urlA
Expand a short URL to its original long URL
| Name | Required | Description | Default |
|---|---|---|---|
| shorturl | Yes | The short URL or keyword to expand |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It states the basic function but lacks details on behavioral traits such as error handling (e.g., invalid URLs), rate limits, authentication needs, or whether it follows redirects. This is a significant gap for a tool with no annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no wasted words. It is front-loaded with the core purpose and efficiently communicates the tool's function.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (one parameter, no output schema, no annotations), the description is minimally adequate. However, it lacks completeness in behavioral aspects like error cases or output format, which would be helpful for an agent to use it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds meaning by clarifying that the 'shorturl' parameter can be a 'short URL or keyword', which provides context beyond the schema's generic description. With 100% schema description coverage, the baseline is 3, but this extra semantic detail justifies a higher score.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'expand' and the resource 'short URL', specifying the action of converting a short URL to its original long URL. It distinguishes itself from sibling tools like 'shorten_url' and 'contract_url' by focusing on the reverse operation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when needing to resolve a short URL, but does not explicitly state when to use this tool versus alternatives like 'get_url_keyword' or 'url_analytics'. No guidance on exclusions or prerequisites is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_qr_codeC
Generate a QR code for a shortened URL
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Image format (png, svg, etc.) | |
| margin | No | Margin size | |
| shorturl | Yes | The short URL to generate a QR code for | |
| size | No | Size of the QR code in pixels |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states what the tool does but doesn't cover key aspects like whether it's a read-only or mutation operation, authentication requirements, rate limits, or error handling. This is inadequate for a tool that likely involves external resources.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded and appropriately sized, making it easy to understand at a glance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (generating QR codes with multiple parameters) and lack of annotations and output schema, the description is incomplete. It doesn't explain what the output looks like (e.g., image data or URL), potential side effects, or how it integrates with sibling tools, leaving significant gaps for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description implies the 'shorturl' parameter is required, but doesn't add meaning beyond the input schema, which has 100% coverage and already describes all parameters clearly. Since schema coverage is high, the baseline score of 3 is appropriate, as the description doesn't compensate with extra details.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'generate' and the resource 'QR code', specifying it's for a 'shortened URL'. This distinguishes it from general QR code generators, though it doesn't explicitly differentiate from sibling tools like 'shorten_url' or 'url_analytics' that might also involve URLs.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, such as whether it's for generating QR codes specifically for URLs shortened by this service or any shortened URL. It lacks context on prerequisites or exclusions, leaving usage ambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_url_keywordC
Get the keyword(s) for a long URL
| Name | Required | Description | Default |
|---|---|---|---|
| exactly_one | No | Whether to return only one result (default: false) | |
| url | Yes | The URL to find keywords for |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states what the tool does but lacks details on how it works (e.g., how keywords are extracted, any rate limits, error handling, or response format). This is a significant gap for a tool with no structured safety or behavioral hints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without any wasted words. It is appropriately sized and front-loaded, making it easy for an agent to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations and no output schema, the description is incomplete. It does not explain what the return value looks like (e.g., format of keywords, potential errors), and with siblings like 'url_analytics', more context on use cases would be helpful. The tool's complexity is low, but the description lacks necessary behavioral details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the input schema already documents both parameters ('url' and 'exactly_one') with clear descriptions. The description does not add any meaning beyond this, such as examples or edge cases, but the schema provides adequate baseline information.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Get' and the resource 'keyword(s) for a long URL', making the purpose understandable. However, it does not explicitly differentiate this tool from siblings like 'url_analytics' or 'url_stats', which might also involve URL analysis, so it falls short of a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. With siblings like 'url_analytics' or 'list_urls', there is no indication of context, prerequisites, or exclusions, leaving the agent to guess based on tool names alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_urlsC
Get a list of URLs with sorting, pagination, and filtering options
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| perpage | No | Number of results per page | |
| search | No | Search term to filter results | |
| sortby | No | Field to sort by (e.g., "clicks", "timestamp") | |
| sortorder | No | Sort order ("asc" or "desc") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the tool's capabilities (sorting, pagination, filtering) but doesn't describe what the tool returns (e.g., format, fields), error conditions, rate limits, or authentication requirements. For a list operation with no annotation coverage, this leaves significant gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core purpose ('Get a list of URLs') followed by key capabilities. Every word earns its place with zero waste or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 5 parameters, no annotations, and no output schema, the description is incomplete. It doesn't explain what the returned list contains, how results are structured, or any behavioral aspects beyond basic capabilities. Given the complexity and lack of structured data, more context is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 5 parameters thoroughly. The description adds minimal value by mentioning 'sorting, pagination, and filtering' which aligns with parameters like sortby/sortorder, page/perpage, and search, but doesn't provide additional semantic context beyond what's in the schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Get' and resource 'list of URLs', making the purpose understandable. However, it doesn't distinguish this tool from potential siblings like 'url_stats' or 'url_analytics' that might also provide URL-related information, so it doesn't reach the highest score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description mentions 'sorting, pagination, and filtering options' which implies when to use this tool, but provides no explicit guidance on when to choose this over alternatives like 'url_stats' or 'url_analytics'. There's no mention of prerequisites, exclusions, or specific contexts for use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
shorten_urlC
Shorten a long URL using YOURLS
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | No | Optional custom keyword for the short URL | |
| title | No | Optional title for the URL | |
| url | Yes | The URL to shorten |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the service ('YOURLS') but doesn't describe whether this is a read-only or mutating operation, what permissions are required, rate limits, error handling, or what the output looks like. For a tool that likely creates a new short URL, this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It is front-loaded with the core action and resource, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of a URL shortening tool with no annotations and no output schema, the description is incomplete. It doesn't explain the return value (e.g., the shortened URL), error conditions, or behavioral traits like whether it's idempotent or requires authentication. This leaves gaps for an agent to understand how to use it effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, clearly documenting all three parameters (url, keyword, title) with their types and optionality. The description adds no additional parameter semantics beyond what the schema provides, so it meets the baseline of 3 for adequate but not enhanced coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('shorten') and resource ('a long URL'), and specifies the service used ('using YOURLS'). It distinguishes from siblings like 'expand_url' or 'generate_qr_code' by focusing on shortening. However, it doesn't explicitly differentiate from 'shorten_with_analytics' or 'contract_url', which might offer similar functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'shorten_with_analytics', 'contract_url', or 'create_custom_url'. It lacks context about use cases, prerequisites, or exclusions, leaving the agent to infer usage from the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
shorten_with_analyticsC
Shorten a long URL with Google Analytics UTM parameters
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | No | Optional custom keyword for the short URL | |
| title | No | Optional title for the URL | |
| url | Yes | The URL to shorten | |
| utm_campaign | No | UTM campaign parameter | |
| utm_content | No | UTM content parameter | |
| utm_medium | Yes | UTM medium parameter | |
| utm_source | Yes | UTM source parameter | |
| utm_term | No | UTM term parameter |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden but only states what the tool does, not how it behaves. It doesn't disclose whether this creates a permanent short URL, requires authentication, has rate limits, returns a specific format, or what happens on failure. For a write operation with zero annotation coverage, this is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, zero waste. Every word earns its place by conveying the core functionality efficiently. No fluff or redundant information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a write operation (URL shortening with analytics) with no annotations and no output schema, the description is incomplete. It doesn't explain what gets returned (e.g., short URL format), error conditions, or behavioral aspects. Given the complexity and lack of structured data, more context is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 8 parameters thoroughly. The description adds no additional parameter information beyond implying UTM parameters are included. Baseline 3 is appropriate when schema does the heavy lifting, though the description doesn't compensate with any extra context.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('shorten') and resource ('a long URL') with the specific feature of adding Google Analytics UTM parameters. It distinguishes from sibling 'shorten_url' by mentioning analytics parameters, but doesn't explicitly contrast them. The purpose is specific and actionable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like 'shorten_url' (which presumably doesn't include UTM parameters) or 'create_custom_url'. The description implies usage for tracking purposes but doesn't provide explicit when/when-not scenarios or mention sibling tools as alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
update_urlB
Update an existing short URL to point to a different destination URL
| Name | Required | Description | Default |
|---|---|---|---|
| shorturl | Yes | The short URL or keyword to update | |
| title | No | Optional new title for the URL | |
| url | Yes | The new destination URL |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool updates a short URL but does not mention permissions required, whether changes are reversible, rate limits, or error handling. This leaves significant gaps for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core action ('update an existing short URL') and specifies the purpose ('to point to a different destination URL'). There is no wasted text, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool is a mutation with no annotations and no output schema, the description is incomplete. It does not cover behavioral aspects like side effects, return values, or error conditions, which are critical for safe and effective use in this context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, so the schema already documents all parameters. The description adds no additional meaning beyond implying the 'url' parameter is the new destination, which is already clear from the schema. This meets the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'update' and the resource 'existing short URL', specifying the action of changing its destination. It distinguishes from siblings like 'create_custom_url' (creation) and 'delete_url' (deletion), making the purpose specific and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, such as 'change_keyword' (which might update keywords) or 'contract_url' (which could modify URLs differently). It lacks context on prerequisites or exclusions, offering only a basic functional statement.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
url_analyticsC
Get detailed click analytics for a shortened URL within a date range
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | The time period for analytics (e.g., "day", "week", "month") | |
| shorturl | Yes | The short URL to get analytics for |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool retrieves analytics (implying read-only) but doesn't mention authentication needs, rate limits, error conditions, or what 'detailed click analytics' includes (e.g., metrics like clicks, locations, devices). This leaves significant gaps for safe and effective use.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core purpose without unnecessary words. Every part earns its place by specifying the action, resource, and scope concisely.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of analytics tools, no annotations, and no output schema, the description is incomplete. It doesn't explain what data is returned, how to interpret results, or handle edge cases (e.g., invalid URLs, no data in range). For a tool with potential rich outputs, this leaves the agent under-informed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 both parameters ('shorturl' and 'period') adequately. The description adds minimal value beyond implying date-range filtering, but doesn't provide additional syntax, format examples, or constraints beyond what's in the schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Get detailed click analytics') and resource ('for a shortened URL within a date range'), making the purpose immediately understandable. However, it doesn't explicitly distinguish this tool from sibling tools like 'url_stats' or 'shorten_with_analytics', which likely have overlapping analytics functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'url_stats' or 'shorten_with_analytics'. It mentions a date range but doesn't specify prerequisites, exclusions, or comparative contexts with sibling tools, leaving the agent to guess based on tool names alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
url_statsC
Get statistics for a shortened URL
| Name | Required | Description | Default |
|---|---|---|---|
| shorturl | Yes | The short URL or keyword to get stats for |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action ('Get statistics') but fails to describe key traits like what statistics are returned, whether authentication is required, rate limits, or error handling. This leaves significant gaps for a tool that likely involves data retrieval.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It is front-loaded and appropriately sized, making it easy for an agent to parse quickly and understand the core functionality.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description is incomplete for a tool that retrieves statistics. It doesn't specify what statistics are included, the format of the response, or any behavioral nuances, leaving the agent with insufficient context to use the tool effectively beyond basic invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, clearly documenting the 'shorturl' parameter. The description adds no additional meaning beyond this, as it doesn't elaborate on parameter syntax, examples, or constraints. With high schema coverage, the baseline score of 3 is appropriate, as the schema handles the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Get') and resource ('statistics for a shortened URL'), making it immediately understandable. However, it doesn't differentiate from sibling tools like 'url_analytics' or 'shorten_with_analytics', which might offer similar statistical functionality, preventing a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. With sibling tools like 'url_analytics', 'db_stats', and 'shorten_with_analytics' potentially overlapping in functionality, the agent lacks explicit direction on selection criteria, such as specific use cases or data scope differences.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
14 tool updates
v1.0.0- First observed
change_keyword - First observed
contract_url - First observed
create_custom_url - First observed
db_stats - First observed
delete_url - First observed
expand_url - First observed
generate_qr_code - First observed
get_url_keyword - First observed
list_urls - First observed
shorten_url - First observed
shorten_with_analytics - First observed
update_url - First observed
url_analytics - First observed
url_stats
TDQS
Each tool has a clearly distinct purpose with no ambiguity. For example, 'shorten_url' creates a basic short URL, 'shorten_with_analytics' adds analytics parameters, 'contract_url' checks for existing URLs, and 'update_url' modifies destinations. The tools cover different aspects of URL management without overlap.
Tool names follow a consistent verb_noun pattern throughout, such as 'change_keyword', 'create_custom_url', 'delete_url', and 'expand_url'. All tools use snake_case with clear action-object naming, making them predictable and easy to understand.
With 14 tools, the server is well-scoped for URL shortening and management. Each tool serves a specific function in the YOURLS domain, from creation and deletion to analytics and utilities like QR code generation, without being excessive or insufficient.
The tool set provides complete CRUD and lifecycle coverage for URL management, including create, read, update, delete, analytics, and utilities. There are no obvious gaps; tools like 'update_url' and 'change_keyword' cover modifications, while 'url_analytics' and 'db_stats' handle monitoring, ensuring agents can perform all necessary operations.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
- sentinelOAuthio.rootstuff
Uptime, SSL, DNS and domain monitoring you can talk to from Claude or any MCP client.
Related MCP Servers
- AlicenseAqualityDmaintenanceModel Context Protocol server that enables Claude Desktop (or any MCP client) to fetch web content and process images appropriately.1170MIT
- AlicenseCqualityDmaintenanceA Message Control Protocol server that enables Claude Desktop to interact with NotePlan.co, allowing users to query, search, create, and update notes directly from Claude conversations.712MIT
- FlicenseAqualityDmaintenanceA Model Context Protocol server that enables Claude to interact with YouTube data and functionality through the Claude Desktop application.111-
- AlicenseNot gradedqualityDmaintenanceA Model Control Protocol (MCP) server that allows Claude to communicate with locally running LLM models via LM Studio.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kesslerio/yourls-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server