Servidor MCP

Youfiliate Smart Links

io.github.andrewmpierce/youfiliate-mcp

Qué hace este MCP

Creates geo-targeted affiliate smart links, manages redirects and deep links, provides click analytics, and migrates YouTube descriptions.

youfiliate_check_link_health
Trigger a health check for a specific smart link. Checks the default URL and all geo-rule URLs for availability. Returns the health status (healthy/broken/unknown). Rate limited to once per 5 minutes per link. Does NOT modify the link configuration. Common errors: - Rate limit: wait 5 minutes between health checks for the same link. - Smart link not found: check the ID.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'CheckLinkHealthInput': {'type': 'object', 'title': 'CheckLinkHealthInput', 'required': ['id'], 'properties': {'id': {'type': 'string', 'title': 'Id', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', 'description': 'Smart link UUID to check'}, 'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}}, 'description': 'Input for triggering a health check on a smart link.', 'additionalProperties': False}}, 'title': 'youfiliate_check_link_healthArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/CheckLinkHealthInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_check_link_healthOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_connect_youtube
Initiate YouTube OAuth connection. Returns a URL the user must open in their browser. The user must open the returned URL in their web browser to authorize Youfiliate to access their YouTube channel. The OAuth callback is handled in the browser — this tool only returns the authorization URL. Does NOT read or modify any YouTube data. The OAuth flow is completed in the user's browser. Common errors: - Already connected: disconnect first with `youfiliate_disconnect_youtube`.
Acceso externo
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'ConnectYouTubeInput': {'type': 'object', 'title': 'ConnectYouTubeInput', 'properties': {'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}}, 'description': 'Input for initiating YouTube OAuth connection.', 'additionalProperties': False}}, 'title': 'youfiliate_connect_youtubeArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/ConnectYouTubeInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_connect_youtubeOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_create_smart_link
Create a new geo-targeted smart link with an optional custom slug. Creates a smart link that redirects visitors to the destination URL. Optionally configure country-specific geo rules and deep linking for iOS/Android apps. Does NOT modify any existing links. Returns the created smart link details including its short URL (youfil.to/<slug>). Common errors: - Slug already taken: choose a different slug or omit for auto-generation. - Plan limit reached: upgrade your plan to create more links. - Invalid URL: ensure the destination URL is a valid HTTP/HTTPS URL.
Esquema de entrada
{'type': 'object', '$defs': {'GeoRuleInput': {'type': 'object', 'title': 'GeoRuleInput', 'required': ['country_code', 'destination_url'], 'properties': {'country_code': {'type': 'string', 'title': 'Country Code', 'pattern': '^[A-Z]{2}$', 'description': "ISO 3166-1 alpha-2 country code (e.g., 'GB', 'DE', 'JP')"}, 'destination_url': {'type': 'string', 'title': 'Destination Url', 'pattern': '^https?://.+', 'description': 'URL to redirect visitors from this country to'}}, 'description': 'Country-specific destination URL.', 'additionalProperties': False}, 'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'DeepLinkConfigInput': {'type': 'object', 'title': 'DeepLinkConfigInput', 'properties': {'ios_app_url': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Ios App Url', 'default': None, 'description': "iOS app deep link URL (e.g., 'amazon://...')"}, 'android_app_url': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Android App Url', 'default': None, 'description': 'Android app deep link URL'}, 'ios_fallback_url': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Ios Fallback Url', 'default': None, 'description': 'Fallback URL if iOS app is not installed'}, 'android_fallback_url': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Android Fallback Url', 'default': None, 'description': 'Fallback URL if Android app is not installed'}}, 'description': 'iOS/Android app-opening configuration.', 'additionalProperties': False}, 'CreateSmartLinkInput': {'type': 'object', 'title': 'CreateSmartLinkInput', 'required': ['default_url'], 'properties': {'slug': {'anyOf': [{'type': 'string', 'pattern': '^[a-z0-9-]+$', 'maxLength': 50}, {'type': 'null'}], 'title': 'Slug', 'default': None, 'description': 'Custom short URL slug (auto-generated if omitted). Lowercase alphanumeric + hyphens only.'}, 'title': {'anyOf': [{'type': 'string', 'maxLength': 200}, {'type': 'null'}], 'title': 'Title', 'default': None, 'description': 'Human-readable label for this link'}, 'geo_rules': {'anyOf': [{'type': 'array', 'items': {'$ref': '#/$defs/GeoRuleInput'}}, {'type': 'null'}], 'title': 'Geo Rules', 'default': None, 'description': 'Country-specific destination URLs for geo-targeting'}, 'default_url': {'type': 'string', 'title': 'Default Url', 'pattern': '^https?://.+', 'description': 'The destination URL for this smart link'}, 'redirect_type': {'enum': ['301', '302'], 'type': 'string', 'title': 'Redirect Type', 'default': '302', 'description': 'HTTP redirect type. Use 302 (default) for links that may change, 301 for permanent.'}, 'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}, 'deep_link_config': {'anyOf': [{'$ref': '#/$defs/DeepLinkConfigInput'}, {'type': 'null'}], 'default': None, 'description': 'iOS/Android app-opening configuration'}}, 'description': 'Input for creating a new smart link.', 'additionalProperties': False}}, 'title': 'youfiliate_create_smart_linkArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/CreateSmartLinkInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_create_smart_linkOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_delete_smart_link
Delete a smart link permanently. The short URL will stop working. IMPORTANT: Always confirm with the user before executing this action. The `confirm` parameter must be set to true. This is a destructive action that cannot be undone — the slug becomes available for reuse after a cooldown period. Does NOT affect other links or YouTube descriptions. Common errors: - Smart link not found: check the ID. - confirm=False: you must set confirm=True after getting user confirmation.
Destructivo Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'DeleteSmartLinkInput': {'type': 'object', 'title': 'DeleteSmartLinkInput', 'required': ['id'], 'properties': {'id': {'type': 'string', 'title': 'Id', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', 'description': 'Smart link UUID to delete'}, 'confirm': {'type': 'boolean', 'title': 'Confirm', 'default': False, 'description': 'Must be set to true to confirm deletion. IMPORTANT: Always confirm with the user before setting this to true.'}}, 'description': 'Input for deleting a smart link.', 'additionalProperties': False}}, 'title': 'youfiliate_delete_smart_linkArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/DeleteSmartLinkInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_delete_smart_linkOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_disconnect_youtube
Disconnect your YouTube account from Youfiliate. IMPORTANT: Always confirm with the user before executing this action. The `confirm` parameter must be set to true. This removes stored OAuth tokens. You will need to reconnect to use the auto-migration feature. Does NOT modify any YouTube data or video descriptions. Common errors: - Not connected: no YouTube account to disconnect. - confirm=False: you must set confirm=True after getting user confirmation.
Destructivo Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'DisconnectYouTubeInput': {'type': 'object', 'title': 'DisconnectYouTubeInput', 'properties': {'confirm': {'type': 'boolean', 'title': 'Confirm', 'default': False, 'description': 'Must be set to true to confirm disconnection. IMPORTANT: Always confirm with the user before setting this to true.'}}, 'description': 'Input for disconnecting YouTube account.', 'additionalProperties': False}}, 'title': 'youfiliate_disconnect_youtubeArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/DisconnectYouTubeInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_disconnect_youtubeOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_get_aggregate_stats
Get aggregate click analytics across all your smart links. Returns total clicks, top countries, devices, and referrers across your entire account for the specified period. Does NOT modify any data.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'GetAggregateStatsInput': {'type': 'object', 'title': 'GetAggregateStatsInput', 'properties': {'period': {'enum': ['7d', '30d', '90d', 'all'], 'type': 'string', 'title': 'Period', 'default': '30d', 'description': "Time period for stats: '7d', '30d', '90d', or 'all'"}, 'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}}, 'description': 'Input for getting aggregate analytics across all smart links.', 'additionalProperties': False}}, 'title': 'youfiliate_get_aggregate_statsArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/GetAggregateStatsInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_get_aggregate_statsOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_get_migration_status
Get the status and progress of a specific migration. Returns detailed status including videos processed, links created, and any errors. Does NOT modify any data. Common errors: - Migration not found: check the ID or use `youfiliate_list_migrations`.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'GetMigrationStatusInput': {'type': 'object', 'title': 'GetMigrationStatusInput', 'required': ['id'], 'properties': {'id': {'type': 'string', 'title': 'Id', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', 'description': 'Migration UUID'}, 'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}}, 'description': "Input for getting a specific migration's status.", 'additionalProperties': False}}, 'title': 'youfiliate_get_migration_statusArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/GetMigrationStatusInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_get_migration_statusOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_get_preferences
Get your current smart link preferences/defaults. Returns default settings applied to newly created smart links. Does NOT create or modify any data.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'GetPreferencesInput': {'type': 'object', 'title': 'GetPreferencesInput', 'properties': {'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}}, 'description': 'Input for getting user preferences.', 'additionalProperties': False}}, 'title': 'youfiliate_get_preferencesArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/GetPreferencesInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_get_preferencesOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_get_smart_link
Get full details of a single smart link by ID. Returns all configuration including geo rules, deep link config, and click stats. Does NOT modify the link. Common errors: - Smart link not found: check the ID or use `youfiliate_list_smart_links`.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'GetSmartLinkInput': {'type': 'object', 'title': 'GetSmartLinkInput', 'required': ['id'], 'properties': {'id': {'type': 'string', 'title': 'Id', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', 'description': 'Smart link UUID'}, 'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}}, 'description': 'Input for getting a single smart link.', 'additionalProperties': False}}, 'title': 'youfiliate_get_smart_linkArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/GetSmartLinkInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_get_smart_linkOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_get_smart_link_stats
Get click analytics for a specific smart link. Returns click counts broken down by country, device, referrer, and day for the specified period. Does NOT modify any data. Common errors: - Smart link not found: check the ID.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'GetSmartLinkStatsInput': {'type': 'object', 'title': 'GetSmartLinkStatsInput', 'required': ['id'], 'properties': {'id': {'type': 'string', 'title': 'Id', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', 'description': 'Smart link UUID'}, 'period': {'enum': ['7d', '30d', '90d', 'all'], 'type': 'string', 'title': 'Period', 'default': '30d', 'description': "Time period for stats: '7d', '30d', '90d', or 'all'"}, 'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}}, 'description': 'Input for getting click analytics for a single smart link.', 'additionalProperties': False}}, 'title': 'youfiliate_get_smart_link_statsArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/GetSmartLinkStatsInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_get_smart_link_statsOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_get_youtube_status
Check if your YouTube account is connected. Returns connection status, channel name, and scope information. Does NOT modify any data or initiate any connections. Common errors: - Not connected: use `youfiliate_connect_youtube` to connect.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'GetYouTubeStatusInput': {'type': 'object', 'title': 'GetYouTubeStatusInput', 'properties': {'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}}, 'description': 'Input for checking YouTube connection status.', 'additionalProperties': False}}, 'title': 'youfiliate_get_youtube_statusArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/GetYouTubeStatusInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_get_youtube_statusOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_list_migrations
List your YouTube description migrations with pagination. Returns a paginated list of all migrations. Does NOT modify any data.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'ListMigrationsInput': {'type': 'object', 'title': 'ListMigrationsInput', 'properties': {'limit': {'type': 'integer', 'title': 'Limit', 'default': 20, 'maximum': 100, 'minimum': 1, 'description': 'Maximum results to return (1-100, default 20)'}, 'offset': {'type': 'integer', 'title': 'Offset', 'default': 0, 'minimum': 0, 'description': 'Number of results to skip for pagination (default 0)'}, 'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' (default) or 'json'"}}, 'description': 'Input for listing migrations.', 'additionalProperties': False}}, 'title': 'youfiliate_list_migrationsArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/ListMigrationsInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_list_migrationsOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_list_smart_links
List your smart links with optional filtering, search, and pagination. Returns a paginated list of smart links. Use filters to narrow results. Does NOT create or modify any links. Args: params: Filters include health_status, search (title/URL), ordering, limit (1-100, default 20), and offset. Common errors: - No links found: you may not have created any links yet.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'ListSmartLinksInput': {'type': 'object', 'title': 'ListSmartLinksInput', 'properties': {'limit': {'type': 'integer', 'title': 'Limit', 'default': 20, 'maximum': 100, 'minimum': 1, 'description': 'Maximum results to return (1-100, default 20)'}, 'offset': {'type': 'integer', 'title': 'Offset', 'default': 0, 'minimum': 0, 'description': 'Number of results to skip for pagination (default 0)'}, 'search': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Search', 'default': None, 'description': 'Search by title or URL'}, 'ordering': {'anyOf': [{'enum': ['created_at', '-created_at', 'total_clicks', '-total_clicks', 'daily_clicks', '-daily_clicks', 'weekly_clicks', '-weekly_clicks', 'title', '-title'], 'type': 'string'}, {'type': 'null'}], 'title': 'Ordering', 'default': None, 'description': "Sort field (e.g., '-created_at', 'total_clicks', '-total_clicks')"}, 'health_status': {'anyOf': [{'enum': ['healthy', 'broken', 'unknown'], 'type': 'string'}, {'type': 'null'}], 'title': 'Health Status', 'default': None, 'description': 'Filter by health status'}, 'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' (default) or 'json'"}}, 'description': 'Input for listing smart links with optional filters.', 'additionalProperties': False}}, 'title': 'youfiliate_list_smart_linksArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/ListSmartLinksInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_list_smart_linksOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_preview_migration
Preview a YouTube description migration without making changes. Performs a dry-run analysis showing how many videos and links would be affected. Does NOT modify any data or YouTube descriptions. Requires a connected YouTube account. Common errors: - YouTube not connected: connect first with `youfiliate_connect_youtube`.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'PreviewMigrationInput': {'type': 'object', 'title': 'PreviewMigrationInput', 'properties': {'auto_geo_rules': {'type': 'boolean', 'title': 'Auto Geo Rules', 'default': True, 'description': 'Whether to auto-generate geo rules (e.g., Amazon international storefronts)'}, 'conversion_mode': {'enum': ['all', 'affiliate_only'], 'type': 'string', 'title': 'Conversion Mode', 'default': 'affiliate_only', 'description': "Which links to convert: 'all' converts every link, 'affiliate_only' only converts detected affiliate links"}, 'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}}, 'description': 'Input for previewing a YouTube description migration.', 'additionalProperties': False}}, 'title': 'youfiliate_preview_migrationArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/PreviewMigrationInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_preview_migrationOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_rollback_migration
Roll back a completed migration, restoring original YouTube descriptions. IMPORTANT: This modifies YouTube video descriptions. Always confirm with the user before executing. This reverts all video descriptions to their pre-migration state. The rollback runs asynchronously. Requires a connected YouTube account. Common errors: - Migration not found or not in a rollback-eligible state. - YouTube not connected: reconnect first. - confirm=False: must set confirm=True after user confirmation.
Destructivo Acceso externo
Esquema de entrada
{'type': 'object', '$defs': {'RollbackMigrationInput': {'type': 'object', 'title': 'RollbackMigrationInput', 'required': ['id'], 'properties': {'id': {'type': 'string', 'title': 'Id', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', 'description': 'Migration UUID to roll back'}, 'confirm': {'type': 'boolean', 'title': 'Confirm', 'default': False, 'description': 'Must be set to true to confirm rollback. IMPORTANT: This reverts YouTube video descriptions to their pre-migration state. Always confirm with the user before setting this to true.'}}, 'description': 'Input for rolling back a migration.', 'additionalProperties': False}}, 'title': 'youfiliate_rollback_migrationArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/RollbackMigrationInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_rollback_migrationOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_start_migration
Start a YouTube description migration to convert links to smart links. IMPORTANT: This modifies YouTube video descriptions. Always confirm with the user before executing. Describe the scope (number of videos/links affected from the preview) and ask for explicit confirmation. The migration runs asynchronously. Use `youfiliate_get_migration_status` to track progress. Requires a connected YouTube account. Common errors: - YouTube not connected: connect first. - Migration already in progress: wait for it to complete. - confirm=False: must set confirm=True after user confirmation.
Destructivo Acceso externo
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'StartMigrationInput': {'type': 'object', 'title': 'StartMigrationInput', 'properties': {'confirm': {'type': 'boolean', 'title': 'Confirm', 'default': False, 'description': 'Must be set to true to confirm migration. IMPORTANT: This modifies YouTube video descriptions. Always describe the scope (number of videos/links) and ask for explicit user confirmation before setting this to true.'}, 'auto_geo_rules': {'type': 'boolean', 'title': 'Auto Geo Rules', 'default': True, 'description': 'Whether to auto-generate geo rules'}, 'conversion_mode': {'enum': ['all', 'affiliate_only'], 'type': 'string', 'title': 'Conversion Mode', 'default': 'affiliate_only', 'description': 'Which links to convert'}, 'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}}, 'description': 'Input for starting a YouTube description migration.', 'additionalProperties': False}}, 'title': 'youfiliate_start_migrationArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/StartMigrationInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_start_migrationOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_update_preferences
Update your smart link preferences/defaults. Changes apply to newly created links only — existing links are not affected. Does NOT delete any data. Common errors: - Invalid redirect_type: must be '301' or '302'.
Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'UpdatePreferencesInput': {'type': 'object', 'title': 'UpdatePreferencesInput', 'properties': {'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}, 'default_redirect_type': {'anyOf': [{'enum': ['301', '302'], 'type': 'string'}, {'type': 'null'}], 'title': 'Default Redirect Type', 'default': None, 'description': 'Default redirect type for new smart links'}, 'default_geo_rules_enabled': {'anyOf': [{'type': 'boolean'}, {'type': 'null'}], 'title': 'Default Geo Rules Enabled', 'default': None, 'description': 'Whether geo-targeting is enabled by default for new links'}, 'default_deep_linking_enabled': {'anyOf': [{'type': 'boolean'}, {'type': 'null'}], 'title': 'Default Deep Linking Enabled', 'default': None, 'description': 'Whether deep linking is enabled by default for new links'}}, 'description': 'Input for updating user preferences.', 'additionalProperties': False}}, 'title': 'youfiliate_update_preferencesArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/UpdatePreferencesInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_update_preferencesOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
youfiliate_update_smart_link
Update an existing smart link (partial update — only provided fields change). You can update the destination URL, slug, title, redirect type, geo rules, or deep link config. Geo rules are replaced entirely (not merged). Does NOT delete the link. Common errors: - Smart link not found: check the ID. - Slug already taken: choose a different slug.
Idempotente
Esquema de entrada
{'type': 'object', '$defs': {'GeoRuleInput': {'type': 'object', 'title': 'GeoRuleInput', 'required': ['country_code', 'destination_url'], 'properties': {'country_code': {'type': 'string', 'title': 'Country Code', 'pattern': '^[A-Z]{2}$', 'description': "ISO 3166-1 alpha-2 country code (e.g., 'GB', 'DE', 'JP')"}, 'destination_url': {'type': 'string', 'title': 'Destination Url', 'pattern': '^https?://.+', 'description': 'URL to redirect visitors from this country to'}}, 'description': 'Country-specific destination URL.', 'additionalProperties': False}, 'ResponseFormat': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'ResponseFormat', 'description': 'Output format for tool responses.'}, 'DeepLinkConfigInput': {'type': 'object', 'title': 'DeepLinkConfigInput', 'properties': {'ios_app_url': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Ios App Url', 'default': None, 'description': "iOS app deep link URL (e.g., 'amazon://...')"}, 'android_app_url': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Android App Url', 'default': None, 'description': 'Android app deep link URL'}, 'ios_fallback_url': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Ios Fallback Url', 'default': None, 'description': 'Fallback URL if iOS app is not installed'}, 'android_fallback_url': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Android Fallback Url', 'default': None, 'description': 'Fallback URL if Android app is not installed'}}, 'description': 'iOS/Android app-opening configuration.', 'additionalProperties': False}, 'UpdateSmartLinkInput': {'type': 'object', 'title': 'UpdateSmartLinkInput', 'required': ['id'], 'properties': {'id': {'type': 'string', 'title': 'Id', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', 'description': 'Smart link UUID to update'}, 'slug': {'anyOf': [{'type': 'string', 'pattern': '^[a-z0-9-]+$', 'maxLength': 50}, {'type': 'null'}], 'title': 'Slug', 'default': None, 'description': 'New custom slug'}, 'title': {'anyOf': [{'type': 'string', 'maxLength': 200}, {'type': 'null'}], 'title': 'Title', 'default': None, 'description': 'New title/label'}, 'geo_rules': {'anyOf': [{'type': 'array', 'items': {'$ref': '#/$defs/GeoRuleInput'}}, {'type': 'null'}], 'title': 'Geo Rules', 'default': None, 'description': 'Replace geo rules (full replacement, not merge)'}, 'default_url': {'anyOf': [{'type': 'string', 'pattern': '^https?://.+'}, {'type': 'null'}], 'title': 'Default Url', 'default': None, 'description': 'New destination URL'}, 'redirect_type': {'anyOf': [{'enum': ['301', '302'], 'type': 'string'}, {'type': 'null'}], 'title': 'Redirect Type', 'default': None, 'description': 'New redirect type'}, 'response_format': {'$ref': '#/$defs/ResponseFormat', 'default': 'markdown', 'description': "Output format: 'markdown' or 'json'"}, 'deep_link_config': {'anyOf': [{'$ref': '#/$defs/DeepLinkConfigInput'}, {'type': 'null'}], 'default': None, 'description': 'Replace deep link config'}}, 'description': 'Input for updating a smart link (partial update).', 'additionalProperties': False}}, 'title': 'youfiliate_update_smart_linkArguments', 'required': ['params'], 'properties': {'params': {'$ref': '#/$defs/UpdateSmartLinkInput'}}}
Esquema de salida
{'type': 'object', 'title': 'youfiliate_update_smart_linkOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
Añadido
youfiliate_rollback_migration
17 de September de 2026 a las 12:40
Añadido
youfiliate_list_migrations
17 de September de 2026 a las 12:40
Añadido
youfiliate_get_migration_status
17 de September de 2026 a las 12:40
Añadido
youfiliate_start_migration
17 de September de 2026 a las 12:40
Añadido
youfiliate_preview_migration
17 de September de 2026 a las 12:40
Añadido
youfiliate_disconnect_youtube
17 de September de 2026 a las 12:40
Añadido
youfiliate_connect_youtube
17 de September de 2026 a las 12:40
Añadido
youfiliate_get_youtube_status
17 de September de 2026 a las 12:40
Añadido
youfiliate_update_preferences
17 de September de 2026 a las 12:40
Añadido
youfiliate_get_preferences
17 de September de 2026 a las 12:40
Añadido
youfiliate_check_link_health
17 de September de 2026 a las 12:40
Añadido
youfiliate_get_aggregate_stats
17 de September de 2026 a las 12:40
Añadido
youfiliate_get_smart_link_stats
17 de September de 2026 a las 12:40
Añadido
youfiliate_delete_smart_link
17 de September de 2026 a las 12:40
Añadido
youfiliate_update_smart_link
17 de September de 2026 a las 12:40
Añadido
youfiliate_get_smart_link
17 de September de 2026 a las 12:40
Añadido
youfiliate_list_smart_links
17 de September de 2026 a las 12:40
Añadido
youfiliate_create_smart_link
17 de September de 2026 a las 12:40