{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "trendsfast.com",
    "site": "trendsfast.com",
    "addresses": [
      {
        "address": "216.198.79.1",
        "endpoints": 729,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.198.79.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "216.198.79.1"
        ],
        "first_seen": "2026-11-22T16:51:03.813Z",
        "last_seen": "2026-11-23T16:52:01.815Z",
        "checks": 2
      }
    ],
    "hosting": [
      {
        "value": "Vercel",
        "evidence": "Server header \"Vercel\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "trendsfast",
      "version": "trends-api-v3",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "Vercel",
      "strict-transport-security": "max-age=63072000; includeSubDomains; preload"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 728,
      "sample": [
        {
          "id": "6",
          "url": "https://ase.academy/mcp",
          "server_name": "academy.ase/periodic-system",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:32:00.942Z"
        },
        {
          "id": "24",
          "url": "https://genosys.ae/mcp",
          "server_name": "ae.genosys/genosys",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:32:01.851Z"
        },
        {
          "id": "54",
          "url": "https://state.1court.ai/api/mcp",
          "server_name": "ai.1court.state/court-directory",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:34:01.115Z"
        },
        {
          "id": "85",
          "url": "https://aeoengine.ai/mcp",
          "server_name": "ai.aeoengine/best-ai-search-agency-aeo-report",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:34:01.438Z"
        },
        {
          "id": "164",
          "url": "https://agentmash.ai/mcp",
          "server_name": "ai.agentmash/agentmash",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:34:02.056Z"
        },
        {
          "id": "170",
          "url": "https://agentsrank.ai/api/mcp",
          "server_name": "ai.agentsrank/agentsrank",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:34:02.171Z"
        },
        {
          "id": "406",
          "url": "https://boltclaw.ai/docs/mcp-server",
          "server_name": "ai.boltclaw/docs",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:42:02.029Z"
        },
        {
          "id": "474",
          "url": "https://catalystproject.ai/mcp",
          "server_name": "ai.catalystproject/evidence-graph",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:43:01.835Z"
        },
        {
          "id": "484",
          "url": "https://centralcity.ai/mcp/open",
          "server_name": "ai.centralcity/central-city",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:43:02.212Z"
        },
        {
          "id": "767",
          "url": "https://emergenttechnologies.ai/mcp",
          "server_name": "ai.emergenttechnologies/emergent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:49:02.409Z"
        },
        {
          "id": "1206",
          "url": "https://ihumane.ai/mcp",
          "server_name": "ai.ihumane/ihumane",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:57:03.520Z"
        },
        {
          "id": "1256",
          "url": "https://jawz.ai/api/mcp",
          "server_name": "ai.jawz/jawz",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T05:00:08.107Z"
        },
        {
          "id": "1403",
          "url": "https://lifescenario.ai/api/mcp",
          "server_name": "ai.lifescenario/info",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T05:02:02.584Z"
        },
        {
          "id": "2450",
          "url": "https://stackrate.ai/mcp",
          "server_name": "ai.stackrate/comparisons",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:51:01.541Z"
        },
        {
          "id": "2467",
          "url": "https://stimhaus.ai/mcp",
          "server_name": "ai.stimhaus/emma-for-agents",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:51:02.072Z"
        },
        {
          "id": "2543",
          "url": "https://tazilo.ai/mcp",
          "server_name": "ai.tazilo/profiles",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:52:13.892Z"
        },
        {
          "id": "2885",
          "url": "https://whichagent.ai/api/categories/beauty/mcp",
          "server_name": "ai.whichagent/beauty",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:55:04.610Z"
        },
        {
          "id": "2886",
          "url": "https://whichagent.ai/api/categories/car-rental/mcp",
          "server_name": "ai.whichagent/car-rental",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:56:12.703Z"
        },
        {
          "id": "3027",
          "url": "https://agenturo.app/mcp",
          "server_name": "app.agenturo/agenturo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:57:03.554Z"
        },
        {
          "id": "3159",
          "url": "https://catalantable.app/mcp",
          "server_name": "app.catalantable/recipes",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:59:02.006Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.trendsfast",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "17457",
    "server_name": "com.trendsfast/trends",
    "url": "https://trendsfast.com/api/mcp/v3",
    "host": "trendsfast.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T16:52:01.815Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "8f5bcc365f6084eadcf32c4be583cc011aab8442a2821431d2df418b6676c374",
    "first_listed_at": "2026-11-21T11:34:00.859Z",
    "created_at": "2026-11-21T07:00:04.961Z",
    "resolved_addresses": [
      "216.198.79.1"
    ]
  },
  "server": {
    "name": "com.trendsfast/trends",
    "title": "TrendsFast",
    "description": "Niche trend intelligence for agents: what is trending, what customers ask, with sources and dates.",
    "version": "3.0.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://trendsfast.com/mcp",
    "published_at": "2026-10-29T14:12:13.348Z",
    "updated_at": "2026-10-29T14:12:13.348Z",
    "first_seen": "2026-11-21T07:00:03.630Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:24:07.505Z"
  },
  "operator": {
    "key": "trendsfast.com",
    "name": "trendsfast.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1282,
    "first_check_in_window": "2026-11-21T11:34:00.859Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "8f5bcc365f6084eadcf32c4be583cc011aab8442a2821431d2df418b6676c374",
    "tools": 9,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T11:34:01.915Z",
    "tool_names": [
      "trendsfast_global_trends",
      "trendsfast_niche_trends",
      "trendsfast_discover_trends",
      "trendsfast_ask_trends",
      "trendsfast_video_outlier",
      "trendsfast_read_result",
      "trendsfast_community_brief",
      "trendsfast_project_context",
      "trendsfast_credit_balance"
    ],
    "declared": {
      "tools": [
        {
          "name": "trendsfast_global_trends",
          "title": "Global trends",
          "description": "Query the shared saved trend index without Product DNA. Maximum 1 credit(s); zero provider calls. Results rank explicit popularity or measured growth first, then US, UK, Canada and Australia, then Europe, alternating sources. data.brief groups the items into trending now, audience conversations, creative references, search demand and references, and names coverage gaps and next steps. Each item's evidence_class, uses and caution give what it supports and what it does not establish. Saves a result and debits credits when charged. The same request_id returns that saved result without a second charge; a new request_id is a new billable query.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "request_id",
              "max_credits",
              "input"
            ],
            "properties": {
              "input": {
                "type": "object",
                "properties": {
                  "limit": {
                    "type": "integer",
                    "default": 20,
                    "maximum": 100,
                    "minimum": 1
                  },
                  "region": {
                    "type": "string",
                    "maxLength": 100,
                    "minLength": 1
                  },
                  "country": {
                    "type": "string",
                    "pattern": "^[A-Z]{2}$"
                  },
                  "signals": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "POPULAR_NOW",
                        "RISING",
                        "EMERGING",
                        "RECURRING_PROBLEM",
                        "SEARCH_INTEREST",
                        "CREATIVE_PATTERN",
                        "NEW_DEVELOPMENT",
                        "INSUFFICIENT_EVIDENCE"
                      ],
                      "type": "string"
                    },
                    "maxItems": 8,
                    "minItems": 1
                  },
                  "language": {
                    "type": "string",
                    "pattern": "^[a-z]{2}(?:-[A-Z]{2})?$"
                  },
                  "platforms": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "TIKTOK",
                        "YOUTUBE",
                        "INSTAGRAM",
                        "FACEBOOK",
                        "X",
                        "REDDIT",
                        "GOOGLE",
                        "BING",
                        "AI_SEARCH",
                        "WEB",
                        "FORUM",
                        "GITHUB"
                      ],
                      "type": "string"
                    },
                    "maxItems": 11,
                    "minItems": 1
                  },
                  "categories": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "COFFEE_BREWING",
                        "CONTENT_CREATION",
                        "CUSTOMER_DISCOVERY",
                        "SOFTWARE_DEVELOPMENT",
                        "PRODUCTIVITY",
                        "FITNESS",
                        "GARDENING",
                        "COOKING",
                        "SKINCARE",
                        "TRAVEL",
                        "AI",
                        "ECOMMERCE",
                        "FINANCE",
                        "EDUCATION",
                        "ENTERTAINMENT",
                        "SUSTAINABILITY",
                        "MARKETING",
                        "SALES",
                        "HEALTHCARE",
                        "HEALTH_WELLNESS",
                        "HOME_SERVICES",
                        "REAL_ESTATE",
                        "FASHION",
                        "BEAUTY",
                        "PETS",
                        "GAMING",
                        "PARENTING",
                        "AUTOMOTIVE",
                        "LEGAL",
                        "RESTAURANTS",
                        "SPORTS",
                        "CRYPTO",
                        "CAREERS",
                        "HOME_DECOR",
                        "WEDDINGS",
                        "OUTDOORS",
                        "PHOTOGRAPHY",
                        "CRAFTS_DIY",
                        "CYBERSECURITY",
                        "NONPROFIT",
                        "MUSIC_CREATION",
                        "DRINKS",
                        "GENERAL"
                      ],
                      "type": "string"
                    },
                    "maxItems": 10,
                    "minItems": 1
                  },
                  "compare_to": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                  },
                  "observed_to": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                  },
                  "history_days": {
                    "type": "integer",
                    "maximum": 90,
                    "minimum": 1
                  },
                  "content_types": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "VIDEO",
                        "CONVERSATION",
                        "SEARCH",
                        "ARTICLE"
                      ],
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 1
                  },
                  "observed_from": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                  },
                  "lookback_hours": {
                    "type": "integer",
                    "default": 72,
                    "maximum": 720,
                    "minimum": 1
                  },
                  "observed_market": {
                    "type": "string",
                    "pattern": "^[A-Z]{2}$"
                  },
                  "evidence_quality": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "ATTRIBUTED_METADATA",
                        "PERMITTED_TEXT",
                        "INSPECTED_MEDIA"
                      ],
                      "type": "string"
                    },
                    "maxItems": 3,
                    "minItems": 1
                  }
                },
                "additionalProperties": false
              },
              "request_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "x-mcp-header": "request-id"
              },
              "max_credits": {
                "type": "integer",
                "maximum": 1000,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "required": [
                  "version",
                  "result_id",
                  "request_id",
                  "operation",
                  "generated_at",
                  "read_at",
                  "expires_at",
                  "new_research",
                  "usage",
                  "next_cursor",
                  "context",
                  "window",
                  "brief",
                  "items",
                  "excluded_count",
                  "truncated",
                  "coverage",
                  "communities",
                  "ai_answers",
                  "hook_types",
                  "answer",
                  "video_outlier",
                  "limitations"
                ],
                "properties": {
                  "brief": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "headline",
                          "sections",
                          "coverage_gaps",
                          "next_steps"
                        ],
                        "properties": {
                          "headline": {
                            "type": "string",
                            "maxLength": 600
                          },
                          "sections": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "key",
                                "status",
                                "count",
                                "item_ids",
                                "note"
                              ],
                              "properties": {
                                "key": {
                                  "enum": [
                                    "TRENDING_NOW",
                                    "AUDIENCE_CONVERSATIONS",
                                    "CREATIVE_REFERENCES",
                                    "SEARCH_DEMAND",
                                    "COMPETITOR_ACTIVITY",
                                    "REFERENCES"
                                  ],
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string",
                                  "maxLength": 300
                                },
                                "count": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "status": {
                                  "enum": [
                                    "AVAILABLE",
                                    "EMPTY",
                                    "NOT_COLLECTED",
                                    "NEEDS_CONTEXT"
                                  ],
                                  "type": "string"
                                },
                                "item_ids": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  },
                                  "maxItems": 20
                                }
                              }
                            },
                            "maxItems": 6
                          },
                          "next_steps": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 300
                            },
                            "maxItems": 5
                          },
                          "coverage_gaps": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "platform",
                                "note"
                              ],
                              "properties": {
                                "note": {
                                  "type": "string",
                                  "maxLength": 200
                                },
                                "platform": {
                                  "enum": [
                                    "TIKTOK",
                                    "YOUTUBE",
                                    "INSTAGRAM",
                                    "FACEBOOK",
                                    "X",
                                    "REDDIT",
                                    "GOOGLE",
                                    "BING",
                                    "AI_SEARCH",
                                    "WEB",
                                    "FORUM",
                                    "GITHUB"
                                  ],
                                  "type": "string"
                                }
                              }
                            },
                            "maxItems": 10
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "ring",
                        "signal",
                        "platform",
                        "url",
                        "title",
                        "published_at",
                        "published_at_precision",
                        "observed_at",
                        "metrics",
                        "community"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "hook": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "ring": {
                          "enum": [
                            "CORE",
                            "ADJACENT",
                            "GLOBAL"
                          ],
                          "type": "string"
                        },
                        "uses": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "POST_TOPIC",
                              "DISCUSSION_TO_READ",
                              "CUSTOMER_PROBLEM",
                              "FEATURE_INPUT",
                              "VIDEO_TOPIC",
                              "TITLE_REFERENCE",
                              "FORMAT_REFERENCE",
                              "HOOK_REFERENCE",
                              "SEARCH_KEYWORD",
                              "COMPETITOR_WATCH",
                              "BACKGROUND_ONLY"
                            ],
                            "type": "string"
                          },
                          "maxItems": 3
                        },
                        "title": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 140
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "format": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "intent": {
                          "enum": [
                            "LOOKING_FOR_TOOL",
                            "COMPARING_OPTIONS",
                            "UNHAPPY_WITH_CURRENT",
                            "DESCRIBES_PROBLEM"
                          ],
                          "type": "string"
                        },
                        "signal": {
                          "enum": [
                            "POPULAR_NOW",
                            "RISING",
                            "EMERGING",
                            "RECURRING_PROBLEM",
                            "SEARCH_INTEREST",
                            "CREATIVE_PATTERN",
                            "NEW_DEVELOPMENT",
                            "INSUFFICIENT_EVIDENCE"
                          ],
                          "type": "string"
                        },
                        "source": {
                          "type": "string",
                          "maxLength": 120
                        },
                        "caution": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "creator": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "excerpt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 80
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "metrics": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "number"
                          }
                        },
                        "problem": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "platform": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "question": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "community": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "freshness": {
                          "enum": [
                            "CURRENT_DATED_REFERENCE",
                            "BACKGROUND_REFERENCE",
                            "UNDATED_REFERENCE",
                            "MODELED_PERIOD_NOT_CURRENT_MOMENTUM"
                          ],
                          "type": "string"
                        },
                        "hook_type": {
                          "anyOf": [
                            {
                              "enum": [
                                "POV_SETUP",
                                "TUTORIAL_PROMISE",
                                "STATISTIC",
                                "BEFORE_AFTER",
                                "COMPARISON",
                                "CONTROVERSY",
                                "NEGATION",
                                "RELATABLE_SCENARIO",
                                "STORY_TEASE",
                                "MYSTERY_SETUP",
                                "CLIFFHANGER",
                                "SHOCK_STATEMENT",
                                "QUESTION",
                                "TREND_REFERENCE",
                                "DIRECT_ADDRESS",
                                "BOLD_CLAIM",
                                "NONE"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "relevance": {
                          "type": "object",
                          "required": [
                            "score",
                            "why"
                          ],
                          "properties": {
                            "why": {
                              "type": "string",
                              "maxLength": 100
                            },
                            "score": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            }
                          }
                        },
                        "observed_at": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "performance": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "outlier",
                                "engagement_rate",
                                "engagement",
                                "view_band",
                                "virality"
                              ],
                              "properties": {
                                "outlier": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "label",
                                        "score",
                                        "breakout",
                                        "median_views",
                                        "posts"
                                      ],
                                      "properties": {
                                        "label": {
                                          "enum": [
                                            "MEGA_VIRAL",
                                            "VIRAL",
                                            "ABOVE_AVERAGE",
                                            "AVERAGE"
                                          ],
                                          "type": "string"
                                        },
                                        "posts": {
                                          "type": "integer",
                                          "maximum": 9007199254740991,
                                          "minimum": -9007199254740991
                                        },
                                        "score": {
                                          "type": "number"
                                        },
                                        "breakout": {
                                          "type": "boolean"
                                        },
                                        "median_views": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "virality": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "score",
                                        "tier"
                                      ],
                                      "properties": {
                                        "tier": {
                                          "enum": [
                                            "EXCEPTIONAL",
                                            "VERY_STRONG",
                                            "STRONG",
                                            "PROMISING",
                                            "ROUTINE"
                                          ],
                                          "type": "string"
                                        },
                                        "score": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "view_band": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "TOP_1_PERCENT",
                                        "TOP_10_PERCENT",
                                        "ABOVE_MEDIAN",
                                        "BELOW_MEDIAN"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "engagement": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "RESONANCE",
                                        "PASSIVE"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "engagement_rate": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "published_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 40
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "topic_history": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "state",
                                "since",
                                "peak_day",
                                "channels",
                                "velocity"
                              ],
                              "properties": {
                                "since": {
                                  "type": "string"
                                },
                                "state": {
                                  "enum": [
                                    "EMERGING",
                                    "RISING",
                                    "PEAKING",
                                    "DECLINING",
                                    "EVERGREEN"
                                  ],
                                  "type": "string"
                                },
                                "channels": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "peak_day": {
                                  "type": "string"
                                },
                                "velocity": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "evidence_class": {
                          "anyOf": [
                            {
                              "enum": [
                                "TREND_SIGNAL",
                                "AUDIENCE_EVIDENCE",
                                "CREATIVE_EXAMPLE",
                                "SEARCH_DEMAND",
                                "COMPETITOR_ACTIVITY",
                                "REFERENCE_ONLY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "measured_growth": {
                          "enum": [
                            "INCREASING_OBSERVED",
                            "DECREASING_OBSERVED",
                            "UNCHANGED_OBSERVED",
                            "NOT_COMPARABLE"
                          ],
                          "type": "string"
                        },
                        "published_at_precision": {
                          "anyOf": [
                            {
                              "enum": [
                                "EXACT",
                                "DAY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 100
                  },
                  "usage": {
                    "type": "object",
                    "required": [
                      "credits_charged",
                      "this_request_credits",
                      "replayed"
                    ],
                    "properties": {
                      "replayed": {
                        "type": "boolean"
                      },
                      "credits_charged": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "this_request_credits": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      }
                    }
                  },
                  "answer": {
                    "type": "null"
                  },
                  "window": {
                    "type": "object",
                    "required": [
                      "lookback_hours",
                      "observed_from",
                      "observed_to"
                    ],
                    "properties": {
                      "observed_to": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "observed_from": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "lookback_hours": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      }
                    }
                  },
                  "context": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "kind",
                          "context_id",
                          "revision"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string"
                          },
                          "revision": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "context_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "read_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "version": {
                    "type": "string",
                    "const": "trends-mcp-compact-v3"
                  },
                  "coverage": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "source",
                        "platform",
                        "status",
                        "observation_count",
                        "last_observed_at"
                      ],
                      "properties": {
                        "source": {
                          "type": "string",
                          "maxLength": 200
                        },
                        "status": {
                          "type": "string"
                        },
                        "platform": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "last_observed_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 40
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "observation_count": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        }
                      }
                    },
                    "maxItems": 40
                  },
                  "operation": {
                    "enum": [
                      "global",
                      "niche",
                      "ask",
                      "discover",
                      "outlier"
                    ],
                    "type": "string"
                  },
                  "result_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "truncated": {
                    "type": "boolean"
                  },
                  "ai_answers": {
                    "type": "null"
                  },
                  "expires_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "hook_types": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "type",
                        "videos",
                        "strong_hit_rate"
                      ],
                      "properties": {
                        "type": {
                          "enum": [
                            "POV_SETUP",
                            "TUTORIAL_PROMISE",
                            "STATISTIC",
                            "BEFORE_AFTER",
                            "COMPARISON",
                            "CONTROVERSY",
                            "NEGATION",
                            "RELATABLE_SCENARIO",
                            "STORY_TEASE",
                            "MYSTERY_SETUP",
                            "CLIFFHANGER",
                            "SHOCK_STATEMENT",
                            "QUESTION",
                            "TREND_REFERENCE",
                            "DIRECT_ADDRESS",
                            "BOLD_CLAIM",
                            "NONE"
                          ],
                          "type": "string"
                        },
                        "videos": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "exclusiveMinimum": 0
                        },
                        "strong_hit_rate": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 5
                  },
                  "request_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "communities": {
                    "type": "array",
                    "items": {
                      "not": {}
                    },
                    "maxItems": 0
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "maxItems": 60
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 512
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "generated_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "new_research": {
                    "type": "boolean"
                  },
                  "video_outlier": {
                    "type": "null"
                  },
                  "excluded_count": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                }
              },
              "error": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1
              }
            }
          },
          "annotations": {
            "title": "Global trends",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "trendsfast_niche_trends",
          "title": "Niche trends",
          "description": "Rank evidence against confirmed project context or explicit temporary niche. Without product: maximum 3 credits and no new source research. A product needs the confirmed context_id: it first collects the brand's own sources (about a minute), then ranks through that product's lens: customers (Customers) 10 credits, niche (Trending) 25 credits, competitors (Competitors) 30 credits, formats (Formats) 20 credits, search (Search) 35 credits. A call whose sources were all read in the last 6 hours reuses them (new_research: false) and costs the same. A product on a typed niche is refused with PRODUCT_REQUIRES_CONTEXT and charges nothing; a typed niche is read without a product. Formats also reads the top TikTok and YouTube videos' transcripts, so each item's hook is its opening line. Search also asks ChatGPT, Claude, Gemini and Perplexity, with web search, the brand's buyer question (never its name): data.ai_answers says who each answer names, whether that includes the brand or its competitors, and the domains cited; handout get_mentioned lists cited pages to act on (data.ai_answers.cited_pages over REST). A Customers or Trending call, or a read without product, also returns data.communities once the brand's communities were read: each one's rules on self-promotion, links and AI-written posts (citing rule numbers), favoured formats, what wins there over all time, pinned posts, a play, and post_plan: where and when the product goes in, as its rules allow. A Customers result also lists its Reddit posts to answer first (handout reply_first; data.opportunities over REST), core threads first, then adjacent tool, comparison or how-to asks from the brand's communities: each one's intent, published_at, age, comments, mention: whether a reply may name the product, with or without a link, under that community's rules (UNKNOWN where no rules are on file: read them first), and first_shown_at: when a result for the brand first showed it among its first three, new posts first (handout reply_first_total counts all); and threads left out, each with its reason (reply_first_excluded; data.opportunities_excluded). A Trending call may give each item a topic_history, its lifecycle state across days and channels (null until it has one): the only basis for saying when a topic started rising. lookback_hours, observed_from and observed_to select by when TrendsFast observed an item, not when it was published (published_at). CORE means a specific topic, problem, keyword or exact competitor-account match; sharing only a broad family such as AI is ADJACENT. A temporary niche may add communities, competitor_handles, competitor_domains and keywords for exact matching. data.brief and each item's evidence_class, uses and caution describe what the evidence supports. Saves a result and may debit credits.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "request_id",
              "max_credits",
              "input"
            ],
            "properties": {
              "input": {
                "type": "object",
                "properties": {
                  "niche": {
                    "type": "object",
                    "required": [
                      "description"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "maxLength": 2048
                      },
                      "jobs": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "market": {
                        "type": "string",
                        "maxLength": 100
                      },
                      "topics": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "industry": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "keywords": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "maxItems": 20
                      },
                      "language": {
                        "type": "string",
                        "maxLength": 20
                      },
                      "problems": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "audiences": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "platforms": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "default": [],
                        "maxItems": 11
                      },
                      "exclusions": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "communities": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "maxItems": 10
                      },
                      "competitors": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "description": {
                        "type": "string",
                        "maxLength": 2000,
                        "minLength": 3
                      },
                      "capabilities": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "competitor_domains": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "maxItems": 20
                      },
                      "competitor_handles": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "maxItems": 40
                      },
                      "customer_interests": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "product_categories": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "adjacent_categories": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      }
                    },
                    "additionalProperties": false
                  },
                  "filters": {
                    "type": "object",
                    "default": {
                      "limit": 20,
                      "lookback_hours": 72
                    },
                    "properties": {
                      "limit": {
                        "type": "integer",
                        "default": 20,
                        "maximum": 100,
                        "minimum": 1
                      },
                      "region": {
                        "type": "string",
                        "maxLength": 100,
                        "minLength": 1
                      },
                      "country": {
                        "type": "string",
                        "pattern": "^[A-Z]{2}$"
                      },
                      "signals": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "POPULAR_NOW",
                            "RISING",
                            "EMERGING",
                            "RECURRING_PROBLEM",
                            "SEARCH_INTEREST",
                            "CREATIVE_PATTERN",
                            "NEW_DEVELOPMENT",
                            "INSUFFICIENT_EVIDENCE"
                          ],
                          "type": "string"
                        },
                        "maxItems": 8,
                        "minItems": 1
                      },
                      "language": {
                        "type": "string",
                        "pattern": "^[a-z]{2}(?:-[A-Z]{2})?$"
                      },
                      "platforms": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "maxItems": 11,
                        "minItems": 1
                      },
                      "categories": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "COFFEE_BREWING",
                            "CONTENT_CREATION",
                            "CUSTOMER_DISCOVERY",
                            "SOFTWARE_DEVELOPMENT",
                            "PRODUCTIVITY",
                            "FITNESS",
                            "GARDENING",
                            "COOKING",
                            "SKINCARE",
                            "TRAVEL",
                            "AI",
                            "ECOMMERCE",
                            "FINANCE",
                            "EDUCATION",
                            "ENTERTAINMENT",
                            "SUSTAINABILITY",
                            "MARKETING",
                            "SALES",
                            "HEALTHCARE",
                            "HEALTH_WELLNESS",
                            "HOME_SERVICES",
                            "REAL_ESTATE",
                            "FASHION",
                            "BEAUTY",
                            "PETS",
                            "GAMING",
                            "PARENTING",
                            "AUTOMOTIVE",
                            "LEGAL",
                            "RESTAURANTS",
                            "SPORTS",
                            "CRYPTO",
                            "CAREERS",
                            "HOME_DECOR",
                            "WEDDINGS",
                            "OUTDOORS",
                            "PHOTOGRAPHY",
                            "CRAFTS_DIY",
                            "CYBERSECURITY",
                            "NONPROFIT",
                            "MUSIC_CREATION",
                            "DRINKS",
                            "GENERAL"
                          ],
                          "type": "string"
                        },
                        "maxItems": 10,
                        "minItems": 1
                      },
                      "compare_to": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                      },
                      "observed_to": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                      },
                      "history_days": {
                        "type": "integer",
                        "maximum": 90,
                        "minimum": 1
                      },
                      "content_types": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "VIDEO",
                            "CONVERSATION",
                            "SEARCH",
                            "ARTICLE"
                          ],
                          "type": "string"
                        },
                        "maxItems": 4,
                        "minItems": 1
                      },
                      "observed_from": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                      },
                      "lookback_hours": {
                        "type": "integer",
                        "default": 72,
                        "maximum": 720,
                        "minimum": 1
                      },
                      "observed_market": {
                        "type": "string",
                        "pattern": "^[A-Z]{2}$"
                      },
                      "evidence_quality": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "ATTRIBUTED_METADATA",
                            "PERMITTED_TEXT",
                            "INSPECTED_MEDIA"
                          ],
                          "type": "string"
                        },
                        "maxItems": 3,
                        "minItems": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  "product": {
                    "enum": [
                      "customers",
                      "niche",
                      "competitors",
                      "formats",
                      "search"
                    ],
                    "type": "string"
                  },
                  "context_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "include_global": {
                    "type": "boolean",
                    "default": true
                  },
                  "include_adjacent": {
                    "type": "boolean",
                    "default": true
                  }
                },
                "additionalProperties": false
              },
              "request_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "x-mcp-header": "request-id"
              },
              "max_credits": {
                "type": "integer",
                "maximum": 1000,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "required": [
                  "version",
                  "result_id",
                  "request_id",
                  "operation",
                  "generated_at",
                  "read_at",
                  "expires_at",
                  "new_research",
                  "usage",
                  "next_cursor",
                  "context",
                  "window",
                  "brief",
                  "items",
                  "excluded_count",
                  "truncated",
                  "coverage",
                  "communities",
                  "ai_answers",
                  "hook_types",
                  "answer",
                  "video_outlier",
                  "limitations"
                ],
                "properties": {
                  "brief": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "headline",
                          "sections",
                          "coverage_gaps",
                          "next_steps"
                        ],
                        "properties": {
                          "headline": {
                            "type": "string",
                            "maxLength": 600
                          },
                          "sections": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "key",
                                "status",
                                "count",
                                "item_ids",
                                "note"
                              ],
                              "properties": {
                                "key": {
                                  "enum": [
                                    "TRENDING_NOW",
                                    "AUDIENCE_CONVERSATIONS",
                                    "CREATIVE_REFERENCES",
                                    "SEARCH_DEMAND",
                                    "COMPETITOR_ACTIVITY",
                                    "REFERENCES"
                                  ],
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string",
                                  "maxLength": 300
                                },
                                "count": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "status": {
                                  "enum": [
                                    "AVAILABLE",
                                    "EMPTY",
                                    "NOT_COLLECTED",
                                    "NEEDS_CONTEXT"
                                  ],
                                  "type": "string"
                                },
                                "item_ids": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  },
                                  "maxItems": 20
                                }
                              }
                            },
                            "maxItems": 6
                          },
                          "next_steps": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 300
                            },
                            "maxItems": 5
                          },
                          "coverage_gaps": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "platform",
                                "note"
                              ],
                              "properties": {
                                "note": {
                                  "type": "string",
                                  "maxLength": 200
                                },
                                "platform": {
                                  "enum": [
                                    "TIKTOK",
                                    "YOUTUBE",
                                    "INSTAGRAM",
                                    "FACEBOOK",
                                    "X",
                                    "REDDIT",
                                    "GOOGLE",
                                    "BING",
                                    "AI_SEARCH",
                                    "WEB",
                                    "FORUM",
                                    "GITHUB"
                                  ],
                                  "type": "string"
                                }
                              }
                            },
                            "maxItems": 10
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "ring",
                        "signal",
                        "platform",
                        "url",
                        "title",
                        "published_at",
                        "published_at_precision",
                        "observed_at",
                        "metrics",
                        "community"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "hook": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "ring": {
                          "enum": [
                            "CORE",
                            "ADJACENT",
                            "GLOBAL"
                          ],
                          "type": "string"
                        },
                        "uses": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "POST_TOPIC",
                              "DISCUSSION_TO_READ",
                              "CUSTOMER_PROBLEM",
                              "FEATURE_INPUT",
                              "VIDEO_TOPIC",
                              "TITLE_REFERENCE",
                              "FORMAT_REFERENCE",
                              "HOOK_REFERENCE",
                              "SEARCH_KEYWORD",
                              "COMPETITOR_WATCH",
                              "BACKGROUND_ONLY"
                            ],
                            "type": "string"
                          },
                          "maxItems": 3
                        },
                        "title": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 140
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "format": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "intent": {
                          "enum": [
                            "LOOKING_FOR_TOOL",
                            "COMPARING_OPTIONS",
                            "UNHAPPY_WITH_CURRENT",
                            "DESCRIBES_PROBLEM"
                          ],
                          "type": "string"
                        },
                        "signal": {
                          "enum": [
                            "POPULAR_NOW",
                            "RISING",
                            "EMERGING",
                            "RECURRING_PROBLEM",
                            "SEARCH_INTEREST",
                            "CREATIVE_PATTERN",
                            "NEW_DEVELOPMENT",
                            "INSUFFICIENT_EVIDENCE"
                          ],
                          "type": "string"
                        },
                        "source": {
                          "type": "string",
                          "maxLength": 120
                        },
                        "caution": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "creator": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "excerpt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 80
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "metrics": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "number"
                          }
                        },
                        "problem": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "platform": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "question": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "community": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "freshness": {
                          "enum": [
                            "CURRENT_DATED_REFERENCE",
                            "BACKGROUND_REFERENCE",
                            "UNDATED_REFERENCE",
                            "MODELED_PERIOD_NOT_CURRENT_MOMENTUM"
                          ],
                          "type": "string"
                        },
                        "hook_type": {
                          "anyOf": [
                            {
                              "enum": [
                                "POV_SETUP",
                                "TUTORIAL_PROMISE",
                                "STATISTIC",
                                "BEFORE_AFTER",
                                "COMPARISON",
                                "CONTROVERSY",
                                "NEGATION",
                                "RELATABLE_SCENARIO",
                                "STORY_TEASE",
                                "MYSTERY_SETUP",
                                "CLIFFHANGER",
                                "SHOCK_STATEMENT",
                                "QUESTION",
                                "TREND_REFERENCE",
                                "DIRECT_ADDRESS",
                                "BOLD_CLAIM",
                                "NONE"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "relevance": {
                          "type": "object",
                          "required": [
                            "score",
                            "why"
                          ],
                          "properties": {
                            "why": {
                              "type": "string",
                              "maxLength": 100
                            },
                            "score": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            }
                          }
                        },
                        "observed_at": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "performance": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "outlier",
                                "engagement_rate",
                                "engagement",
                                "view_band",
                                "virality"
                              ],
                              "properties": {
                                "outlier": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "label",
                                        "score",
                                        "breakout",
                                        "median_views",
                                        "posts"
                                      ],
                                      "properties": {
                                        "label": {
                                          "enum": [
                                            "MEGA_VIRAL",
                                            "VIRAL",
                                            "ABOVE_AVERAGE",
                                            "AVERAGE"
                                          ],
                                          "type": "string"
                                        },
                                        "posts": {
                                          "type": "integer",
                                          "maximum": 9007199254740991,
                                          "minimum": -9007199254740991
                                        },
                                        "score": {
                                          "type": "number"
                                        },
                                        "breakout": {
                                          "type": "boolean"
                                        },
                                        "median_views": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "virality": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "score",
                                        "tier"
                                      ],
                                      "properties": {
                                        "tier": {
                                          "enum": [
                                            "EXCEPTIONAL",
                                            "VERY_STRONG",
                                            "STRONG",
                                            "PROMISING",
                                            "ROUTINE"
                                          ],
                                          "type": "string"
                                        },
                                        "score": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "view_band": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "TOP_1_PERCENT",
                                        "TOP_10_PERCENT",
                                        "ABOVE_MEDIAN",
                                        "BELOW_MEDIAN"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "engagement": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "RESONANCE",
                                        "PASSIVE"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "engagement_rate": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "published_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 40
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "topic_history": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "state",
                                "since",
                                "peak_day",
                                "channels",
                                "velocity"
                              ],
                              "properties": {
                                "since": {
                                  "type": "string"
                                },
                                "state": {
                                  "enum": [
                                    "EMERGING",
                                    "RISING",
                                    "PEAKING",
                                    "DECLINING",
                                    "EVERGREEN"
                                  ],
                                  "type": "string"
                                },
                                "channels": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "peak_day": {
                                  "type": "string"
                                },
                                "velocity": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "evidence_class": {
                          "anyOf": [
                            {
                              "enum": [
                                "TREND_SIGNAL",
                                "AUDIENCE_EVIDENCE",
                                "CREATIVE_EXAMPLE",
                                "SEARCH_DEMAND",
                                "COMPETITOR_ACTIVITY",
                                "REFERENCE_ONLY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "measured_growth": {
                          "enum": [
                            "INCREASING_OBSERVED",
                            "DECREASING_OBSERVED",
                            "UNCHANGED_OBSERVED",
                            "NOT_COMPARABLE"
                          ],
                          "type": "string"
                        },
                        "published_at_precision": {
                          "anyOf": [
                            {
                              "enum": [
                                "EXACT",
                                "DAY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 100
                  },
                  "usage": {
                    "type": "object",
                    "required": [
                      "credits_charged",
                      "this_request_credits",
                      "replayed"
                    ],
                    "properties": {
                      "replayed": {
                        "type": "boolean"
                      },
                      "credits_charged": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "this_request_credits": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      }
                    }
                  },
                  "answer": {
                    "type": "null"
                  },
                  "window": {
                    "type": "object",
                    "required": [
                      "lookback_hours",
                      "observed_from",
                      "observed_to"
                    ],
                    "properties": {
                      "observed_to": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "observed_from": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "lookback_hours": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      }
                    }
                  },
                  "context": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "kind",
                          "context_id",
                          "revision"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string"
                          },
                          "revision": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "context_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "read_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "version": {
                    "type": "string",
                    "const": "trends-mcp-compact-v3"
                  },
                  "coverage": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "source",
                        "platform",
                        "status",
                        "observation_count",
                        "last_observed_at"
                      ],
                      "properties": {
                        "source": {
                          "type": "string",
                          "maxLength": 200
                        },
                        "status": {
                          "type": "string"
                        },
                        "platform": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "last_observed_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 40
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "observation_count": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        }
                      }
                    },
                    "maxItems": 40
                  },
                  "operation": {
                    "enum": [
                      "global",
                      "niche",
                      "ask",
                      "discover",
                      "outlier"
                    ],
                    "type": "string"
                  },
                  "result_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "truncated": {
                    "type": "boolean"
                  },
                  "ai_answers": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "asked",
                          "answers"
                        ],
                        "properties": {
                          "asked": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0
                          },
                          "answers": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "platform",
                                "model",
                                "mentions_you",
                                "competitors_named",
                                "names",
                                "cited_domains",
                                "excerpt"
                              ],
                              "properties": {
                                "model": {
                                  "type": "string",
                                  "maxLength": 100
                                },
                                "names": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 120
                                  },
                                  "maxItems": 10
                                },
                                "excerpt": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 400
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "platform": {
                                  "enum": [
                                    "CHATGPT",
                                    "PERPLEXITY",
                                    "GEMINI",
                                    "CLAUDE"
                                  ],
                                  "type": "string"
                                },
                                "mentions_you": {
                                  "type": "boolean"
                                },
                                "cited_domains": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 253
                                  },
                                  "maxItems": 8
                                },
                                "competitors_named": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 200
                                  },
                                  "maxItems": 8
                                }
                              }
                            },
                            "maxItems": 12
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "expires_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "hook_types": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "type",
                        "videos",
                        "strong_hit_rate"
                      ],
                      "properties": {
                        "type": {
                          "enum": [
                            "POV_SETUP",
                            "TUTORIAL_PROMISE",
                            "STATISTIC",
                            "BEFORE_AFTER",
                            "COMPARISON",
                            "CONTROVERSY",
                            "NEGATION",
                            "RELATABLE_SCENARIO",
                            "STORY_TEASE",
                            "MYSTERY_SETUP",
                            "CLIFFHANGER",
                            "SHOCK_STATEMENT",
                            "QUESTION",
                            "TREND_REFERENCE",
                            "DIRECT_ADDRESS",
                            "BOLD_CLAIM",
                            "NONE"
                          ],
                          "type": "string"
                        },
                        "videos": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "exclusiveMinimum": 0
                        },
                        "strong_hit_rate": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 5
                  },
                  "request_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "communities": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "community",
                        "url",
                        "status",
                        "weekly_active_users",
                        "self_promotion",
                        "links",
                        "ai_content"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "play": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "maxLength": 300
                          },
                          "maxItems": 4
                        },
                        "avoid": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "maxItems": 3
                        },
                        "links": {
                          "type": "object",
                          "required": [
                            "policy",
                            "rules"
                          ],
                          "properties": {
                            "rules": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              "maxItems": 10
                            },
                            "policy": {
                              "enum": [
                                "ALLOWED",
                                "RESTRICTED",
                                "NOT_ALLOWED",
                                "UNKNOWN"
                              ],
                              "type": "string"
                            }
                          }
                        },
                        "rules": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "number",
                              "title"
                            ],
                            "properties": {
                              "title": {
                                "type": "string",
                                "maxLength": 120
                              },
                              "number": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              }
                            }
                          },
                          "maxItems": 10
                        },
                        "pinned": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "title",
                              "url"
                            ],
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string",
                                "maxLength": 160
                              }
                            }
                          },
                          "maxItems": 3
                        },
                        "status": {
                          "enum": [
                            "PROFILED",
                            "NOT_FOUND",
                            "UNAVAILABLE"
                          ],
                          "type": "string"
                        },
                        "formats": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "format",
                              "share"
                            ],
                            "properties": {
                              "share": {
                                "type": "number"
                              },
                              "format": {
                                "enum": [
                                  "QUESTION",
                                  "STORY",
                                  "SHOWCASE",
                                  "GUIDE",
                                  "DISCUSSION",
                                  "LINK",
                                  "MEDIA"
                                ],
                                "type": "string"
                              }
                            }
                          },
                          "maxItems": 3
                        },
                        "community": {
                          "type": "string"
                        },
                        "post_plan": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "version",
                                "placement",
                                "as_of"
                              ],
                              "properties": {
                                "rule": {
                                  "type": "string",
                                  "maxLength": 500,
                                  "minLength": 1
                                },
                                "as_of": {
                                  "type": "string",
                                  "format": "date"
                                },
                                "steps": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 500,
                                    "minLength": 1
                                  },
                                  "maxItems": 6,
                                  "minItems": 1
                                },
                                "account": {
                                  "type": "object",
                                  "required": [
                                    "min_karma",
                                    "min_account_days",
                                    "requirement",
                                    "requirement_note",
                                    "warm_up"
                                  ],
                                  "properties": {
                                    "warm_up": {
                                      "type": "string",
                                      "maxLength": 500,
                                      "minLength": 1
                                    },
                                    "min_karma": {
                                      "anyOf": [
                                        {
                                          "type": "integer",
                                          "maximum": 9007199254740991,
                                          "minimum": 0
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "requirement": {
                                      "enum": [
                                        "RULES",
                                        "STATED",
                                        "UNKNOWN"
                                      ],
                                      "type": "string"
                                    },
                                    "min_account_days": {
                                      "anyOf": [
                                        {
                                          "type": "integer",
                                          "maximum": 9007199254740991,
                                          "minimum": 0
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "requirement_note": {
                                      "type": "string",
                                      "maxLength": 500,
                                      "minLength": 1
                                    }
                                  }
                                },
                                "version": {
                                  "type": "string",
                                  "const": "community-post-plan-v1"
                                },
                                "winners": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "title",
                                      "url",
                                      "observed_on",
                                      "score",
                                      "comments",
                                      "views",
                                      "product",
                                      "lesson",
                                      "evidence"
                                    ],
                                    "properties": {
                                      "url": {
                                        "anyOf": [
                                          {
                                            "type": "string",
                                            "format": "uri",
                                            "maxLength": 2048
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "score": {
                                        "anyOf": [
                                          {
                                            "type": "integer",
                                            "maximum": 9007199254740991,
                                            "minimum": -9007199254740991
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "title": {
                                        "type": "string",
                                        "maxLength": 300,
                                        "minLength": 1
                                      },
                                      "views": {
                                        "anyOf": [
                                          {
                                            "type": "integer",
                                            "maximum": 9007199254740991,
                                            "minimum": 0
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "lesson": {
                                        "type": "string",
                                        "maxLength": 500,
                                        "minLength": 1
                                      },
                                      "product": {
                                        "enum": [
                                          "LINK_IN_BODY",
                                          "LINK_EDITED_IN",
                                          "NAME_IN_BODY",
                                          "FIRST_COMMENT",
                                          "NOT_SHOWN"
                                        ],
                                        "type": "string"
                                      },
                                      "comments": {
                                        "anyOf": [
                                          {
                                            "type": "integer",
                                            "maximum": 9007199254740991,
                                            "minimum": 0
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "evidence": {
                                        "enum": [
                                          "LINKED",
                                          "SCREENSHOT_ONLY"
                                        ],
                                        "type": "string"
                                      },
                                      "observed_on": {
                                        "type": "string",
                                        "format": "date"
                                      }
                                    }
                                  },
                                  "maxItems": 5
                                },
                                "placement": {
                                  "enum": [
                                    "EDIT_IN_LINK",
                                    "EDIT_IN_NAME",
                                    "FIRST_COMMENT",
                                    "THREAD_ONLY",
                                    "NONE"
                                  ],
                                  "type": "string"
                                },
                                "as_of_note": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 500,
                                      "minLength": 1
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "edit_after": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 500,
                                      "minLength": 1
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "placement_note": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 500,
                                      "minLength": 1
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "ai_content": {
                          "type": "object",
                          "required": [
                            "policy",
                            "rules"
                          ],
                          "properties": {
                            "rules": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              "maxItems": 10
                            },
                            "policy": {
                              "enum": [
                                "ALLOWED",
                                "RESTRICTED",
                                "NOT_ALLOWED",
                                "UNKNOWN"
                              ],
                              "type": "string"
                            }
                          }
                        },
                        "hook_pattern": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 200
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "median_score": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "self_promotion": {
                          "type": "object",
                          "required": [
                            "policy",
                            "rules"
                          ],
                          "properties": {
                            "rules": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              "maxItems": 10
                            },
                            "policy": {
                              "enum": [
                                "ALLOWED",
                                "RESTRICTED",
                                "NOT_ALLOWED",
                                "UNKNOWN"
                              ],
                              "type": "string"
                            }
                          }
                        },
                        "winning_format": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 300
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "median_comments": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "promotion_venue": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 120
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "weekly_active_users": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 5
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "maxItems": 60
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 512
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "generated_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "new_research": {
                    "type": "boolean"
                  },
                  "video_outlier": {
                    "type": "null"
                  },
                  "excluded_count": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                }
              },
              "error": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1
              }
            }
          },
          "annotations": {
            "title": "Niche trends",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "trendsfast_discover_trends",
          "title": "Discover trends",
          "description": "Answer one question across global, core and adjacent scope and every source channel in a single call. Maximum 5 credits; zero provider calls. Global scope needs no Product DNA. A channel with no permitted observation is reported UNAVAILABLE rather than empty. Saves a result and may debit credits. No new source research.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "request_id",
              "max_credits",
              "input"
            ],
            "properties": {
              "input": {
                "type": "object",
                "properties": {
                  "niche": {
                    "type": "object",
                    "required": [
                      "description"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "maxLength": 2048
                      },
                      "jobs": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "market": {
                        "type": "string",
                        "maxLength": 100
                      },
                      "topics": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "industry": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "keywords": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "maxItems": 20
                      },
                      "language": {
                        "type": "string",
                        "maxLength": 20
                      },
                      "problems": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "audiences": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "platforms": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "default": [],
                        "maxItems": 11
                      },
                      "exclusions": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "communities": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "maxItems": 10
                      },
                      "competitors": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "description": {
                        "type": "string",
                        "maxLength": 2000,
                        "minLength": 3
                      },
                      "capabilities": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "competitor_domains": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "maxItems": 20
                      },
                      "competitor_handles": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "maxItems": 40
                      },
                      "customer_interests": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "product_categories": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "adjacent_categories": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      }
                    },
                    "additionalProperties": false
                  },
                  "scope": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "global",
                        "core",
                        "adjacent"
                      ],
                      "type": "string"
                    },
                    "default": [
                      "global",
                      "core",
                      "adjacent"
                    ],
                    "maxItems": 3,
                    "minItems": 1
                  },
                  "filters": {
                    "type": "object",
                    "default": {
                      "limit": 20,
                      "lookback_hours": 72
                    },
                    "properties": {
                      "limit": {
                        "type": "integer",
                        "default": 20,
                        "maximum": 100,
                        "minimum": 1
                      },
                      "region": {
                        "type": "string",
                        "maxLength": 100,
                        "minLength": 1
                      },
                      "country": {
                        "type": "string",
                        "pattern": "^[A-Z]{2}$"
                      },
                      "signals": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "POPULAR_NOW",
                            "RISING",
                            "EMERGING",
                            "RECURRING_PROBLEM",
                            "SEARCH_INTEREST",
                            "CREATIVE_PATTERN",
                            "NEW_DEVELOPMENT",
                            "INSUFFICIENT_EVIDENCE"
                          ],
                          "type": "string"
                        },
                        "maxItems": 8,
                        "minItems": 1
                      },
                      "language": {
                        "type": "string",
                        "pattern": "^[a-z]{2}(?:-[A-Z]{2})?$"
                      },
                      "platforms": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "maxItems": 11,
                        "minItems": 1
                      },
                      "categories": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "COFFEE_BREWING",
                            "CONTENT_CREATION",
                            "CUSTOMER_DISCOVERY",
                            "SOFTWARE_DEVELOPMENT",
                            "PRODUCTIVITY",
                            "FITNESS",
                            "GARDENING",
                            "COOKING",
                            "SKINCARE",
                            "TRAVEL",
                            "AI",
                            "ECOMMERCE",
                            "FINANCE",
                            "EDUCATION",
                            "ENTERTAINMENT",
                            "SUSTAINABILITY",
                            "MARKETING",
                            "SALES",
                            "HEALTHCARE",
                            "HEALTH_WELLNESS",
                            "HOME_SERVICES",
                            "REAL_ESTATE",
                            "FASHION",
                            "BEAUTY",
                            "PETS",
                            "GAMING",
                            "PARENTING",
                            "AUTOMOTIVE",
                            "LEGAL",
                            "RESTAURANTS",
                            "SPORTS",
                            "CRYPTO",
                            "CAREERS",
                            "HOME_DECOR",
                            "WEDDINGS",
                            "OUTDOORS",
                            "PHOTOGRAPHY",
                            "CRAFTS_DIY",
                            "CYBERSECURITY",
                            "NONPROFIT",
                            "MUSIC_CREATION",
                            "DRINKS",
                            "GENERAL"
                          ],
                          "type": "string"
                        },
                        "maxItems": 10,
                        "minItems": 1
                      },
                      "compare_to": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                      },
                      "observed_to": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                      },
                      "history_days": {
                        "type": "integer",
                        "maximum": 90,
                        "minimum": 1
                      },
                      "content_types": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "VIDEO",
                            "CONVERSATION",
                            "SEARCH",
                            "ARTICLE"
                          ],
                          "type": "string"
                        },
                        "maxItems": 4,
                        "minItems": 1
                      },
                      "observed_from": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                      },
                      "lookback_hours": {
                        "type": "integer",
                        "default": 72,
                        "maximum": 720,
                        "minimum": 1
                      },
                      "observed_market": {
                        "type": "string",
                        "pattern": "^[A-Z]{2}$"
                      },
                      "evidence_quality": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "ATTRIBUTED_METADATA",
                            "PERMITTED_TEXT",
                            "INSPECTED_MEDIA"
                          ],
                          "type": "string"
                        },
                        "maxItems": 3,
                        "minItems": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  "product": {
                    "enum": [
                      "customers",
                      "niche",
                      "competitors",
                      "formats",
                      "search"
                    ],
                    "type": "string"
                  },
                  "channels": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "search",
                        "ai_search",
                        "conversations",
                        "video"
                      ],
                      "type": "string"
                    },
                    "default": [
                      "search",
                      "ai_search",
                      "conversations",
                      "video"
                    ],
                    "maxItems": 4,
                    "minItems": 1
                  },
                  "question": {
                    "type": "string",
                    "maxLength": 1000,
                    "minLength": 3
                  },
                  "context_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "include_global": {
                    "type": "boolean",
                    "default": true
                  },
                  "include_adjacent": {
                    "type": "boolean",
                    "default": true
                  }
                },
                "additionalProperties": false
              },
              "request_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "x-mcp-header": "request-id"
              },
              "max_credits": {
                "type": "integer",
                "maximum": 1000,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "required": [
                  "version",
                  "result_id",
                  "request_id",
                  "operation",
                  "generated_at",
                  "read_at",
                  "expires_at",
                  "new_research",
                  "usage",
                  "next_cursor",
                  "context",
                  "window",
                  "brief",
                  "items",
                  "excluded_count",
                  "truncated",
                  "coverage",
                  "communities",
                  "ai_answers",
                  "hook_types",
                  "answer",
                  "video_outlier",
                  "limitations"
                ],
                "properties": {
                  "brief": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "headline",
                          "sections",
                          "coverage_gaps",
                          "next_steps"
                        ],
                        "properties": {
                          "headline": {
                            "type": "string",
                            "maxLength": 600
                          },
                          "sections": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "key",
                                "status",
                                "count",
                                "item_ids",
                                "note"
                              ],
                              "properties": {
                                "key": {
                                  "enum": [
                                    "TRENDING_NOW",
                                    "AUDIENCE_CONVERSATIONS",
                                    "CREATIVE_REFERENCES",
                                    "SEARCH_DEMAND",
                                    "COMPETITOR_ACTIVITY",
                                    "REFERENCES"
                                  ],
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string",
                                  "maxLength": 300
                                },
                                "count": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "status": {
                                  "enum": [
                                    "AVAILABLE",
                                    "EMPTY",
                                    "NOT_COLLECTED",
                                    "NEEDS_CONTEXT"
                                  ],
                                  "type": "string"
                                },
                                "item_ids": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  },
                                  "maxItems": 20
                                }
                              }
                            },
                            "maxItems": 6
                          },
                          "next_steps": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 300
                            },
                            "maxItems": 5
                          },
                          "coverage_gaps": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "platform",
                                "note"
                              ],
                              "properties": {
                                "note": {
                                  "type": "string",
                                  "maxLength": 200
                                },
                                "platform": {
                                  "enum": [
                                    "TIKTOK",
                                    "YOUTUBE",
                                    "INSTAGRAM",
                                    "FACEBOOK",
                                    "X",
                                    "REDDIT",
                                    "GOOGLE",
                                    "BING",
                                    "AI_SEARCH",
                                    "WEB",
                                    "FORUM",
                                    "GITHUB"
                                  ],
                                  "type": "string"
                                }
                              }
                            },
                            "maxItems": 10
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "ring",
                        "signal",
                        "platform",
                        "url",
                        "title",
                        "published_at",
                        "published_at_precision",
                        "observed_at",
                        "metrics",
                        "community"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "hook": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "ring": {
                          "enum": [
                            "CORE",
                            "ADJACENT",
                            "GLOBAL"
                          ],
                          "type": "string"
                        },
                        "uses": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "POST_TOPIC",
                              "DISCUSSION_TO_READ",
                              "CUSTOMER_PROBLEM",
                              "FEATURE_INPUT",
                              "VIDEO_TOPIC",
                              "TITLE_REFERENCE",
                              "FORMAT_REFERENCE",
                              "HOOK_REFERENCE",
                              "SEARCH_KEYWORD",
                              "COMPETITOR_WATCH",
                              "BACKGROUND_ONLY"
                            ],
                            "type": "string"
                          },
                          "maxItems": 3
                        },
                        "title": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 140
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "format": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "intent": {
                          "enum": [
                            "LOOKING_FOR_TOOL",
                            "COMPARING_OPTIONS",
                            "UNHAPPY_WITH_CURRENT",
                            "DESCRIBES_PROBLEM"
                          ],
                          "type": "string"
                        },
                        "signal": {
                          "enum": [
                            "POPULAR_NOW",
                            "RISING",
                            "EMERGING",
                            "RECURRING_PROBLEM",
                            "SEARCH_INTEREST",
                            "CREATIVE_PATTERN",
                            "NEW_DEVELOPMENT",
                            "INSUFFICIENT_EVIDENCE"
                          ],
                          "type": "string"
                        },
                        "source": {
                          "type": "string",
                          "maxLength": 120
                        },
                        "caution": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "creator": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "excerpt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 80
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "metrics": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "number"
                          }
                        },
                        "problem": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "platform": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "question": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "community": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "freshness": {
                          "enum": [
                            "CURRENT_DATED_REFERENCE",
                            "BACKGROUND_REFERENCE",
                            "UNDATED_REFERENCE",
                            "MODELED_PERIOD_NOT_CURRENT_MOMENTUM"
                          ],
                          "type": "string"
                        },
                        "hook_type": {
                          "anyOf": [
                            {
                              "enum": [
                                "POV_SETUP",
                                "TUTORIAL_PROMISE",
                                "STATISTIC",
                                "BEFORE_AFTER",
                                "COMPARISON",
                                "CONTROVERSY",
                                "NEGATION",
                                "RELATABLE_SCENARIO",
                                "STORY_TEASE",
                                "MYSTERY_SETUP",
                                "CLIFFHANGER",
                                "SHOCK_STATEMENT",
                                "QUESTION",
                                "TREND_REFERENCE",
                                "DIRECT_ADDRESS",
                                "BOLD_CLAIM",
                                "NONE"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "relevance": {
                          "type": "object",
                          "required": [
                            "score",
                            "why"
                          ],
                          "properties": {
                            "why": {
                              "type": "string",
                              "maxLength": 100
                            },
                            "score": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            }
                          }
                        },
                        "observed_at": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "performance": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "outlier",
                                "engagement_rate",
                                "engagement",
                                "view_band",
                                "virality"
                              ],
                              "properties": {
                                "outlier": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "label",
                                        "score",
                                        "breakout",
                                        "median_views",
                                        "posts"
                                      ],
                                      "properties": {
                                        "label": {
                                          "enum": [
                                            "MEGA_VIRAL",
                                            "VIRAL",
                                            "ABOVE_AVERAGE",
                                            "AVERAGE"
                                          ],
                                          "type": "string"
                                        },
                                        "posts": {
                                          "type": "integer",
                                          "maximum": 9007199254740991,
                                          "minimum": -9007199254740991
                                        },
                                        "score": {
                                          "type": "number"
                                        },
                                        "breakout": {
                                          "type": "boolean"
                                        },
                                        "median_views": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "virality": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "score",
                                        "tier"
                                      ],
                                      "properties": {
                                        "tier": {
                                          "enum": [
                                            "EXCEPTIONAL",
                                            "VERY_STRONG",
                                            "STRONG",
                                            "PROMISING",
                                            "ROUTINE"
                                          ],
                                          "type": "string"
                                        },
                                        "score": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "view_band": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "TOP_1_PERCENT",
                                        "TOP_10_PERCENT",
                                        "ABOVE_MEDIAN",
                                        "BELOW_MEDIAN"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "engagement": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "RESONANCE",
                                        "PASSIVE"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "engagement_rate": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "published_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 40
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "topic_history": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "state",
                                "since",
                                "peak_day",
                                "channels",
                                "velocity"
                              ],
                              "properties": {
                                "since": {
                                  "type": "string"
                                },
                                "state": {
                                  "enum": [
                                    "EMERGING",
                                    "RISING",
                                    "PEAKING",
                                    "DECLINING",
                                    "EVERGREEN"
                                  ],
                                  "type": "string"
                                },
                                "channels": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "peak_day": {
                                  "type": "string"
                                },
                                "velocity": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "evidence_class": {
                          "anyOf": [
                            {
                              "enum": [
                                "TREND_SIGNAL",
                                "AUDIENCE_EVIDENCE",
                                "CREATIVE_EXAMPLE",
                                "SEARCH_DEMAND",
                                "COMPETITOR_ACTIVITY",
                                "REFERENCE_ONLY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "measured_growth": {
                          "enum": [
                            "INCREASING_OBSERVED",
                            "DECREASING_OBSERVED",
                            "UNCHANGED_OBSERVED",
                            "NOT_COMPARABLE"
                          ],
                          "type": "string"
                        },
                        "published_at_precision": {
                          "anyOf": [
                            {
                              "enum": [
                                "EXACT",
                                "DAY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 100
                  },
                  "usage": {
                    "type": "object",
                    "required": [
                      "credits_charged",
                      "this_request_credits",
                      "replayed"
                    ],
                    "properties": {
                      "replayed": {
                        "type": "boolean"
                      },
                      "credits_charged": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "this_request_credits": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      }
                    }
                  },
                  "answer": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "question",
                          "answer_status",
                          "answer",
                          "findings",
                          "missing_inputs",
                          "next_steps"
                        ],
                        "properties": {
                          "answer": {
                            "type": "string",
                            "maxLength": 1500
                          },
                          "findings": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "kind",
                                "item_id",
                                "title",
                                "statement",
                                "platform",
                                "source",
                                "url",
                                "metrics",
                                "published_at",
                                "ring"
                              ],
                              "properties": {
                                "url": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uri",
                                      "maxLength": 2048
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "kind": {
                                  "enum": [
                                    "TREND",
                                    "CUSTOMER_PROBLEM",
                                    "FEATURE_REQUEST",
                                    "QUESTION_ASKED",
                                    "HOOK_OBSERVED",
                                    "FORMAT_OBSERVED",
                                    "TITLE_OBSERVED",
                                    "SEARCH_DEMAND",
                                    "COMPETITOR_POST",
                                    "COMPETITOR_MENTION",
                                    "RELATED_DISCUSSION",
                                    "REFERENCE"
                                  ],
                                  "type": "string"
                                },
                                "ring": {
                                  "enum": [
                                    "CORE",
                                    "ADJACENT",
                                    "GLOBAL"
                                  ],
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string",
                                  "maxLength": 240
                                },
                                "source": {
                                  "type": "string",
                                  "maxLength": 500,
                                  "minLength": 1
                                },
                                "item_id": {
                                  "type": "string",
                                  "pattern": "^[a-z][a-z0-9_-]{2,95}$"
                                },
                                "metrics": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 300
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "platform": {
                                  "enum": [
                                    "TIKTOK",
                                    "YOUTUBE",
                                    "INSTAGRAM",
                                    "FACEBOOK",
                                    "X",
                                    "REDDIT",
                                    "GOOGLE",
                                    "BING",
                                    "AI_SEARCH",
                                    "WEB",
                                    "FORUM",
                                    "GITHUB"
                                  ],
                                  "type": "string"
                                },
                                "statement": {
                                  "type": "string",
                                  "maxLength": 400
                                },
                                "published_at": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            "maxItems": 20
                          },
                          "question": {
                            "type": "string",
                            "maxLength": 1000
                          },
                          "next_steps": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 300
                            },
                            "maxItems": 8
                          },
                          "answer_status": {
                            "anyOf": [
                              {
                                "enum": [
                                  "ANSWERED",
                                  "PARTIAL",
                                  "INSUFFICIENT_EVIDENCE",
                                  "NEEDS_CONTEXT",
                                  "NOT_COLLECTED"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "missing_inputs": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 300
                            },
                            "maxItems": 8
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "window": {
                    "type": "object",
                    "required": [
                      "lookback_hours",
                      "observed_from",
                      "observed_to"
                    ],
                    "properties": {
                      "observed_to": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "observed_from": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "lookback_hours": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      }
                    }
                  },
                  "context": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "kind",
                          "context_id",
                          "revision"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string"
                          },
                          "revision": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "context_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "read_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "version": {
                    "type": "string",
                    "const": "trends-mcp-compact-v3"
                  },
                  "coverage": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "source",
                        "platform",
                        "status",
                        "observation_count",
                        "last_observed_at"
                      ],
                      "properties": {
                        "source": {
                          "type": "string",
                          "maxLength": 200
                        },
                        "status": {
                          "type": "string"
                        },
                        "platform": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "last_observed_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 40
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "observation_count": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        }
                      }
                    },
                    "maxItems": 40
                  },
                  "operation": {
                    "enum": [
                      "global",
                      "niche",
                      "ask",
                      "discover",
                      "outlier"
                    ],
                    "type": "string"
                  },
                  "result_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "truncated": {
                    "type": "boolean"
                  },
                  "ai_answers": {
                    "type": "null"
                  },
                  "expires_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "hook_types": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "type",
                        "videos",
                        "strong_hit_rate"
                      ],
                      "properties": {
                        "type": {
                          "enum": [
                            "POV_SETUP",
                            "TUTORIAL_PROMISE",
                            "STATISTIC",
                            "BEFORE_AFTER",
                            "COMPARISON",
                            "CONTROVERSY",
                            "NEGATION",
                            "RELATABLE_SCENARIO",
                            "STORY_TEASE",
                            "MYSTERY_SETUP",
                            "CLIFFHANGER",
                            "SHOCK_STATEMENT",
                            "QUESTION",
                            "TREND_REFERENCE",
                            "DIRECT_ADDRESS",
                            "BOLD_CLAIM",
                            "NONE"
                          ],
                          "type": "string"
                        },
                        "videos": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "exclusiveMinimum": 0
                        },
                        "strong_hit_rate": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 5
                  },
                  "request_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "communities": {
                    "type": "array",
                    "items": {
                      "not": {}
                    },
                    "maxItems": 0
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "maxItems": 60
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 512
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "generated_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "new_research": {
                    "type": "boolean"
                  },
                  "video_outlier": {
                    "type": "null"
                  },
                  "excluded_count": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                }
              },
              "error": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1
              }
            }
          },
          "annotations": {
            "title": "Discover trends",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "trendsfast_ask_trends",
          "title": "Ask about trends",
          "description": "Answer a bounded question using saved intelligence. Maximum 5 credits. Questions about competitors, customer complaints, feature requests, hooks and formats, or search keywords each need their own evidence: answer_status says ANSWERED, PARTIAL, INSUFFICIENT_EVIDENCE, NEEDS_CONTEXT or NOT_COLLECTED, findings cite each item with its kind, and missing_inputs and next_steps say what would complete the answer. An answer with no findings costs nothing. Saves a result and may debit credits. No provider or model calls, invented growth or hidden fresh research.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "request_id",
              "max_credits",
              "input"
            ],
            "properties": {
              "input": {
                "type": "object",
                "required": [
                  "question"
                ],
                "properties": {
                  "niche": {
                    "type": "object",
                    "required": [
                      "description"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "maxLength": 2048
                      },
                      "jobs": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "market": {
                        "type": "string",
                        "maxLength": 100
                      },
                      "topics": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "industry": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "keywords": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "maxItems": 20
                      },
                      "language": {
                        "type": "string",
                        "maxLength": 20
                      },
                      "problems": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "audiences": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "platforms": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "default": [],
                        "maxItems": 11
                      },
                      "exclusions": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "communities": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "maxItems": 10
                      },
                      "competitors": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "description": {
                        "type": "string",
                        "maxLength": 2000,
                        "minLength": 3
                      },
                      "capabilities": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "competitor_domains": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "maxItems": 20
                      },
                      "competitor_handles": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "maxItems": 40
                      },
                      "customer_interests": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "product_categories": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      },
                      "adjacent_categories": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 180,
                          "minLength": 1
                        },
                        "default": [],
                        "maxItems": 20
                      }
                    },
                    "additionalProperties": false
                  },
                  "filters": {
                    "type": "object",
                    "default": {
                      "limit": 20,
                      "lookback_hours": 72
                    },
                    "properties": {
                      "limit": {
                        "type": "integer",
                        "default": 20,
                        "maximum": 100,
                        "minimum": 1
                      },
                      "region": {
                        "type": "string",
                        "maxLength": 100,
                        "minLength": 1
                      },
                      "country": {
                        "type": "string",
                        "pattern": "^[A-Z]{2}$"
                      },
                      "signals": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "POPULAR_NOW",
                            "RISING",
                            "EMERGING",
                            "RECURRING_PROBLEM",
                            "SEARCH_INTEREST",
                            "CREATIVE_PATTERN",
                            "NEW_DEVELOPMENT",
                            "INSUFFICIENT_EVIDENCE"
                          ],
                          "type": "string"
                        },
                        "maxItems": 8,
                        "minItems": 1
                      },
                      "language": {
                        "type": "string",
                        "pattern": "^[a-z]{2}(?:-[A-Z]{2})?$"
                      },
                      "platforms": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "maxItems": 11,
                        "minItems": 1
                      },
                      "categories": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "COFFEE_BREWING",
                            "CONTENT_CREATION",
                            "CUSTOMER_DISCOVERY",
                            "SOFTWARE_DEVELOPMENT",
                            "PRODUCTIVITY",
                            "FITNESS",
                            "GARDENING",
                            "COOKING",
                            "SKINCARE",
                            "TRAVEL",
                            "AI",
                            "ECOMMERCE",
                            "FINANCE",
                            "EDUCATION",
                            "ENTERTAINMENT",
                            "SUSTAINABILITY",
                            "MARKETING",
                            "SALES",
                            "HEALTHCARE",
                            "HEALTH_WELLNESS",
                            "HOME_SERVICES",
                            "REAL_ESTATE",
                            "FASHION",
                            "BEAUTY",
                            "PETS",
                            "GAMING",
                            "PARENTING",
                            "AUTOMOTIVE",
                            "LEGAL",
                            "RESTAURANTS",
                            "SPORTS",
                            "CRYPTO",
                            "CAREERS",
                            "HOME_DECOR",
                            "WEDDINGS",
                            "OUTDOORS",
                            "PHOTOGRAPHY",
                            "CRAFTS_DIY",
                            "CYBERSECURITY",
                            "NONPROFIT",
                            "MUSIC_CREATION",
                            "DRINKS",
                            "GENERAL"
                          ],
                          "type": "string"
                        },
                        "maxItems": 10,
                        "minItems": 1
                      },
                      "compare_to": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                      },
                      "observed_to": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                      },
                      "history_days": {
                        "type": "integer",
                        "maximum": 90,
                        "minimum": 1
                      },
                      "content_types": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "VIDEO",
                            "CONVERSATION",
                            "SEARCH",
                            "ARTICLE"
                          ],
                          "type": "string"
                        },
                        "maxItems": 4,
                        "minItems": 1
                      },
                      "observed_from": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                      },
                      "lookback_hours": {
                        "type": "integer",
                        "default": 72,
                        "maximum": 720,
                        "minimum": 1
                      },
                      "observed_market": {
                        "type": "string",
                        "pattern": "^[A-Z]{2}$"
                      },
                      "evidence_quality": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "ATTRIBUTED_METADATA",
                            "PERMITTED_TEXT",
                            "INSPECTED_MEDIA"
                          ],
                          "type": "string"
                        },
                        "maxItems": 3,
                        "minItems": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  "product": {
                    "enum": [
                      "customers",
                      "niche",
                      "competitors",
                      "formats",
                      "search"
                    ],
                    "type": "string"
                  },
                  "question": {
                    "type": "string",
                    "maxLength": 1000,
                    "minLength": 3
                  },
                  "context_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "include_global": {
                    "type": "boolean",
                    "default": true
                  },
                  "include_adjacent": {
                    "type": "boolean",
                    "default": true
                  }
                },
                "additionalProperties": false
              },
              "request_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "x-mcp-header": "request-id"
              },
              "max_credits": {
                "type": "integer",
                "maximum": 1000,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "required": [
                  "version",
                  "result_id",
                  "request_id",
                  "operation",
                  "generated_at",
                  "read_at",
                  "expires_at",
                  "new_research",
                  "usage",
                  "next_cursor",
                  "context",
                  "window",
                  "brief",
                  "items",
                  "excluded_count",
                  "truncated",
                  "coverage",
                  "communities",
                  "ai_answers",
                  "hook_types",
                  "answer",
                  "video_outlier",
                  "limitations"
                ],
                "properties": {
                  "brief": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "headline",
                          "sections",
                          "coverage_gaps",
                          "next_steps"
                        ],
                        "properties": {
                          "headline": {
                            "type": "string",
                            "maxLength": 600
                          },
                          "sections": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "key",
                                "status",
                                "count",
                                "item_ids",
                                "note"
                              ],
                              "properties": {
                                "key": {
                                  "enum": [
                                    "TRENDING_NOW",
                                    "AUDIENCE_CONVERSATIONS",
                                    "CREATIVE_REFERENCES",
                                    "SEARCH_DEMAND",
                                    "COMPETITOR_ACTIVITY",
                                    "REFERENCES"
                                  ],
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string",
                                  "maxLength": 300
                                },
                                "count": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "status": {
                                  "enum": [
                                    "AVAILABLE",
                                    "EMPTY",
                                    "NOT_COLLECTED",
                                    "NEEDS_CONTEXT"
                                  ],
                                  "type": "string"
                                },
                                "item_ids": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  },
                                  "maxItems": 20
                                }
                              }
                            },
                            "maxItems": 6
                          },
                          "next_steps": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 300
                            },
                            "maxItems": 5
                          },
                          "coverage_gaps": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "platform",
                                "note"
                              ],
                              "properties": {
                                "note": {
                                  "type": "string",
                                  "maxLength": 200
                                },
                                "platform": {
                                  "enum": [
                                    "TIKTOK",
                                    "YOUTUBE",
                                    "INSTAGRAM",
                                    "FACEBOOK",
                                    "X",
                                    "REDDIT",
                                    "GOOGLE",
                                    "BING",
                                    "AI_SEARCH",
                                    "WEB",
                                    "FORUM",
                                    "GITHUB"
                                  ],
                                  "type": "string"
                                }
                              }
                            },
                            "maxItems": 10
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "ring",
                        "signal",
                        "platform",
                        "url",
                        "title",
                        "published_at",
                        "published_at_precision",
                        "observed_at",
                        "metrics",
                        "community"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "hook": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "ring": {
                          "enum": [
                            "CORE",
                            "ADJACENT",
                            "GLOBAL"
                          ],
                          "type": "string"
                        },
                        "uses": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "POST_TOPIC",
                              "DISCUSSION_TO_READ",
                              "CUSTOMER_PROBLEM",
                              "FEATURE_INPUT",
                              "VIDEO_TOPIC",
                              "TITLE_REFERENCE",
                              "FORMAT_REFERENCE",
                              "HOOK_REFERENCE",
                              "SEARCH_KEYWORD",
                              "COMPETITOR_WATCH",
                              "BACKGROUND_ONLY"
                            ],
                            "type": "string"
                          },
                          "maxItems": 3
                        },
                        "title": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 140
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "format": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "intent": {
                          "enum": [
                            "LOOKING_FOR_TOOL",
                            "COMPARING_OPTIONS",
                            "UNHAPPY_WITH_CURRENT",
                            "DESCRIBES_PROBLEM"
                          ],
                          "type": "string"
                        },
                        "signal": {
                          "enum": [
                            "POPULAR_NOW",
                            "RISING",
                            "EMERGING",
                            "RECURRING_PROBLEM",
                            "SEARCH_INTEREST",
                            "CREATIVE_PATTERN",
                            "NEW_DEVELOPMENT",
                            "INSUFFICIENT_EVIDENCE"
                          ],
                          "type": "string"
                        },
                        "source": {
                          "type": "string",
                          "maxLength": 120
                        },
                        "caution": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "creator": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "excerpt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 80
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "metrics": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "number"
                          }
                        },
                        "problem": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "platform": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "question": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "community": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "freshness": {
                          "enum": [
                            "CURRENT_DATED_REFERENCE",
                            "BACKGROUND_REFERENCE",
                            "UNDATED_REFERENCE",
                            "MODELED_PERIOD_NOT_CURRENT_MOMENTUM"
                          ],
                          "type": "string"
                        },
                        "hook_type": {
                          "anyOf": [
                            {
                              "enum": [
                                "POV_SETUP",
                                "TUTORIAL_PROMISE",
                                "STATISTIC",
                                "BEFORE_AFTER",
                                "COMPARISON",
                                "CONTROVERSY",
                                "NEGATION",
                                "RELATABLE_SCENARIO",
                                "STORY_TEASE",
                                "MYSTERY_SETUP",
                                "CLIFFHANGER",
                                "SHOCK_STATEMENT",
                                "QUESTION",
                                "TREND_REFERENCE",
                                "DIRECT_ADDRESS",
                                "BOLD_CLAIM",
                                "NONE"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "relevance": {
                          "type": "object",
                          "required": [
                            "score",
                            "why"
                          ],
                          "properties": {
                            "why": {
                              "type": "string",
                              "maxLength": 100
                            },
                            "score": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            }
                          }
                        },
                        "observed_at": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "performance": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "outlier",
                                "engagement_rate",
                                "engagement",
                                "view_band",
                                "virality"
                              ],
                              "properties": {
                                "outlier": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "label",
                                        "score",
                                        "breakout",
                                        "median_views",
                                        "posts"
                                      ],
                                      "properties": {
                                        "label": {
                                          "enum": [
                                            "MEGA_VIRAL",
                                            "VIRAL",
                                            "ABOVE_AVERAGE",
                                            "AVERAGE"
                                          ],
                                          "type": "string"
                                        },
                                        "posts": {
                                          "type": "integer",
                                          "maximum": 9007199254740991,
                                          "minimum": -9007199254740991
                                        },
                                        "score": {
                                          "type": "number"
                                        },
                                        "breakout": {
                                          "type": "boolean"
                                        },
                                        "median_views": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "virality": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "score",
                                        "tier"
                                      ],
                                      "properties": {
                                        "tier": {
                                          "enum": [
                                            "EXCEPTIONAL",
                                            "VERY_STRONG",
                                            "STRONG",
                                            "PROMISING",
                                            "ROUTINE"
                                          ],
                                          "type": "string"
                                        },
                                        "score": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "view_band": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "TOP_1_PERCENT",
                                        "TOP_10_PERCENT",
                                        "ABOVE_MEDIAN",
                                        "BELOW_MEDIAN"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "engagement": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "RESONANCE",
                                        "PASSIVE"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "engagement_rate": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "published_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 40
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "topic_history": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "state",
                                "since",
                                "peak_day",
                                "channels",
                                "velocity"
                              ],
                              "properties": {
                                "since": {
                                  "type": "string"
                                },
                                "state": {
                                  "enum": [
                                    "EMERGING",
                                    "RISING",
                                    "PEAKING",
                                    "DECLINING",
                                    "EVERGREEN"
                                  ],
                                  "type": "string"
                                },
                                "channels": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "peak_day": {
                                  "type": "string"
                                },
                                "velocity": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "evidence_class": {
                          "anyOf": [
                            {
                              "enum": [
                                "TREND_SIGNAL",
                                "AUDIENCE_EVIDENCE",
                                "CREATIVE_EXAMPLE",
                                "SEARCH_DEMAND",
                                "COMPETITOR_ACTIVITY",
                                "REFERENCE_ONLY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "measured_growth": {
                          "enum": [
                            "INCREASING_OBSERVED",
                            "DECREASING_OBSERVED",
                            "UNCHANGED_OBSERVED",
                            "NOT_COMPARABLE"
                          ],
                          "type": "string"
                        },
                        "published_at_precision": {
                          "anyOf": [
                            {
                              "enum": [
                                "EXACT",
                                "DAY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 100
                  },
                  "usage": {
                    "type": "object",
                    "required": [
                      "credits_charged",
                      "this_request_credits",
                      "replayed"
                    ],
                    "properties": {
                      "replayed": {
                        "type": "boolean"
                      },
                      "credits_charged": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "this_request_credits": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      }
                    }
                  },
                  "answer": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "question",
                          "answer_status",
                          "answer",
                          "findings",
                          "missing_inputs",
                          "next_steps"
                        ],
                        "properties": {
                          "answer": {
                            "type": "string",
                            "maxLength": 1500
                          },
                          "findings": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "kind",
                                "item_id",
                                "title",
                                "statement",
                                "platform",
                                "source",
                                "url",
                                "metrics",
                                "published_at",
                                "ring"
                              ],
                              "properties": {
                                "url": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uri",
                                      "maxLength": 2048
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "kind": {
                                  "enum": [
                                    "TREND",
                                    "CUSTOMER_PROBLEM",
                                    "FEATURE_REQUEST",
                                    "QUESTION_ASKED",
                                    "HOOK_OBSERVED",
                                    "FORMAT_OBSERVED",
                                    "TITLE_OBSERVED",
                                    "SEARCH_DEMAND",
                                    "COMPETITOR_POST",
                                    "COMPETITOR_MENTION",
                                    "RELATED_DISCUSSION",
                                    "REFERENCE"
                                  ],
                                  "type": "string"
                                },
                                "ring": {
                                  "enum": [
                                    "CORE",
                                    "ADJACENT",
                                    "GLOBAL"
                                  ],
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string",
                                  "maxLength": 240
                                },
                                "source": {
                                  "type": "string",
                                  "maxLength": 500,
                                  "minLength": 1
                                },
                                "item_id": {
                                  "type": "string",
                                  "pattern": "^[a-z][a-z0-9_-]{2,95}$"
                                },
                                "metrics": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 300
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "platform": {
                                  "enum": [
                                    "TIKTOK",
                                    "YOUTUBE",
                                    "INSTAGRAM",
                                    "FACEBOOK",
                                    "X",
                                    "REDDIT",
                                    "GOOGLE",
                                    "BING",
                                    "AI_SEARCH",
                                    "WEB",
                                    "FORUM",
                                    "GITHUB"
                                  ],
                                  "type": "string"
                                },
                                "statement": {
                                  "type": "string",
                                  "maxLength": 400
                                },
                                "published_at": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            "maxItems": 20
                          },
                          "question": {
                            "type": "string",
                            "maxLength": 1000
                          },
                          "next_steps": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 300
                            },
                            "maxItems": 8
                          },
                          "answer_status": {
                            "anyOf": [
                              {
                                "enum": [
                                  "ANSWERED",
                                  "PARTIAL",
                                  "INSUFFICIENT_EVIDENCE",
                                  "NEEDS_CONTEXT",
                                  "NOT_COLLECTED"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "missing_inputs": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 300
                            },
                            "maxItems": 8
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "window": {
                    "type": "object",
                    "required": [
                      "lookback_hours",
                      "observed_from",
                      "observed_to"
                    ],
                    "properties": {
                      "observed_to": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "observed_from": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "lookback_hours": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      }
                    }
                  },
                  "context": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "kind",
                          "context_id",
                          "revision"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string"
                          },
                          "revision": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "context_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "read_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "version": {
                    "type": "string",
                    "const": "trends-mcp-compact-v3"
                  },
                  "coverage": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "source",
                        "platform",
                        "status",
                        "observation_count",
                        "last_observed_at"
                      ],
                      "properties": {
                        "source": {
                          "type": "string",
                          "maxLength": 200
                        },
                        "status": {
                          "type": "string"
                        },
                        "platform": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "last_observed_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 40
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "observation_count": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        }
                      }
                    },
                    "maxItems": 40
                  },
                  "operation": {
                    "enum": [
                      "global",
                      "niche",
                      "ask",
                      "discover",
                      "outlier"
                    ],
                    "type": "string"
                  },
                  "result_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "truncated": {
                    "type": "boolean"
                  },
                  "ai_answers": {
                    "type": "null"
                  },
                  "expires_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "hook_types": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "type",
                        "videos",
                        "strong_hit_rate"
                      ],
                      "properties": {
                        "type": {
                          "enum": [
                            "POV_SETUP",
                            "TUTORIAL_PROMISE",
                            "STATISTIC",
                            "BEFORE_AFTER",
                            "COMPARISON",
                            "CONTROVERSY",
                            "NEGATION",
                            "RELATABLE_SCENARIO",
                            "STORY_TEASE",
                            "MYSTERY_SETUP",
                            "CLIFFHANGER",
                            "SHOCK_STATEMENT",
                            "QUESTION",
                            "TREND_REFERENCE",
                            "DIRECT_ADDRESS",
                            "BOLD_CLAIM",
                            "NONE"
                          ],
                          "type": "string"
                        },
                        "videos": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "exclusiveMinimum": 0
                        },
                        "strong_hit_rate": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 5
                  },
                  "request_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "communities": {
                    "type": "array",
                    "items": {
                      "not": {}
                    },
                    "maxItems": 0
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "maxItems": 60
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 512
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "generated_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "new_research": {
                    "type": "boolean"
                  },
                  "video_outlier": {
                    "type": "null"
                  },
                  "excluded_count": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                }
              },
              "error": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1
              }
            }
          },
          "annotations": {
            "title": "Ask about trends",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "trendsfast_video_outlier",
          "title": "Video outlier check",
          "description": "Video outlier check: one TikTok, Instagram or YouTube video against its creator's recent posts. Maximum 5 credits, charged only when the video is found among them with a view count; NOT_FOUND (older than a month or outside the newest 20 posts) and NO_BASELINE cost nothing. A TikTok input.url names its creator; Instagram and YouTube need input.handle, or are refused before any charge. Reads the creator's public account, or reuses a read from the last six hours at no extra cost. data.video_outlier: status, outlier_score (views ÷ the creator's median views), performance_label (MEGA_VIRAL 10×+, VIRAL 3×+, ABOVE_AVERAGE 1.5×+, AVERAGE), weighted_score, percentile, z_score, median_views, mean_views, videos_analyzed, breakout (over 3×), basis; items are the creator's posts. Saves a result.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "request_id",
              "max_credits",
              "input"
            ],
            "properties": {
              "input": {
                "type": "object",
                "required": [
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  "handle": {
                    "type": "string",
                    "maxLength": 100,
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              },
              "request_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "x-mcp-header": "request-id"
              },
              "max_credits": {
                "type": "integer",
                "maximum": 1000,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "required": [
                  "version",
                  "result_id",
                  "request_id",
                  "operation",
                  "generated_at",
                  "read_at",
                  "expires_at",
                  "new_research",
                  "usage",
                  "next_cursor",
                  "context",
                  "window",
                  "brief",
                  "items",
                  "excluded_count",
                  "truncated",
                  "coverage",
                  "communities",
                  "ai_answers",
                  "hook_types",
                  "answer",
                  "video_outlier",
                  "limitations"
                ],
                "properties": {
                  "brief": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "headline",
                          "sections",
                          "coverage_gaps",
                          "next_steps"
                        ],
                        "properties": {
                          "headline": {
                            "type": "string",
                            "maxLength": 600
                          },
                          "sections": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "key",
                                "status",
                                "count",
                                "item_ids",
                                "note"
                              ],
                              "properties": {
                                "key": {
                                  "enum": [
                                    "TRENDING_NOW",
                                    "AUDIENCE_CONVERSATIONS",
                                    "CREATIVE_REFERENCES",
                                    "SEARCH_DEMAND",
                                    "COMPETITOR_ACTIVITY",
                                    "REFERENCES"
                                  ],
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string",
                                  "maxLength": 300
                                },
                                "count": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "status": {
                                  "enum": [
                                    "AVAILABLE",
                                    "EMPTY",
                                    "NOT_COLLECTED",
                                    "NEEDS_CONTEXT"
                                  ],
                                  "type": "string"
                                },
                                "item_ids": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  },
                                  "maxItems": 20
                                }
                              }
                            },
                            "maxItems": 6
                          },
                          "next_steps": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 300
                            },
                            "maxItems": 5
                          },
                          "coverage_gaps": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "platform",
                                "note"
                              ],
                              "properties": {
                                "note": {
                                  "type": "string",
                                  "maxLength": 200
                                },
                                "platform": {
                                  "enum": [
                                    "TIKTOK",
                                    "YOUTUBE",
                                    "INSTAGRAM",
                                    "FACEBOOK",
                                    "X",
                                    "REDDIT",
                                    "GOOGLE",
                                    "BING",
                                    "AI_SEARCH",
                                    "WEB",
                                    "FORUM",
                                    "GITHUB"
                                  ],
                                  "type": "string"
                                }
                              }
                            },
                            "maxItems": 10
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "ring",
                        "signal",
                        "platform",
                        "url",
                        "title",
                        "published_at",
                        "published_at_precision",
                        "observed_at",
                        "metrics",
                        "community"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "hook": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "ring": {
                          "enum": [
                            "CORE",
                            "ADJACENT",
                            "GLOBAL"
                          ],
                          "type": "string"
                        },
                        "uses": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "POST_TOPIC",
                              "DISCUSSION_TO_READ",
                              "CUSTOMER_PROBLEM",
                              "FEATURE_INPUT",
                              "VIDEO_TOPIC",
                              "TITLE_REFERENCE",
                              "FORMAT_REFERENCE",
                              "HOOK_REFERENCE",
                              "SEARCH_KEYWORD",
                              "COMPETITOR_WATCH",
                              "BACKGROUND_ONLY"
                            ],
                            "type": "string"
                          },
                          "maxItems": 3
                        },
                        "title": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 140
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "format": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "intent": {
                          "enum": [
                            "LOOKING_FOR_TOOL",
                            "COMPARING_OPTIONS",
                            "UNHAPPY_WITH_CURRENT",
                            "DESCRIBES_PROBLEM"
                          ],
                          "type": "string"
                        },
                        "signal": {
                          "enum": [
                            "POPULAR_NOW",
                            "RISING",
                            "EMERGING",
                            "RECURRING_PROBLEM",
                            "SEARCH_INTEREST",
                            "CREATIVE_PATTERN",
                            "NEW_DEVELOPMENT",
                            "INSUFFICIENT_EVIDENCE"
                          ],
                          "type": "string"
                        },
                        "source": {
                          "type": "string",
                          "maxLength": 120
                        },
                        "caution": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "creator": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "excerpt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 80
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "metrics": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "number"
                          }
                        },
                        "problem": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "platform": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "question": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "community": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "freshness": {
                          "enum": [
                            "CURRENT_DATED_REFERENCE",
                            "BACKGROUND_REFERENCE",
                            "UNDATED_REFERENCE",
                            "MODELED_PERIOD_NOT_CURRENT_MOMENTUM"
                          ],
                          "type": "string"
                        },
                        "hook_type": {
                          "anyOf": [
                            {
                              "enum": [
                                "POV_SETUP",
                                "TUTORIAL_PROMISE",
                                "STATISTIC",
                                "BEFORE_AFTER",
                                "COMPARISON",
                                "CONTROVERSY",
                                "NEGATION",
                                "RELATABLE_SCENARIO",
                                "STORY_TEASE",
                                "MYSTERY_SETUP",
                                "CLIFFHANGER",
                                "SHOCK_STATEMENT",
                                "QUESTION",
                                "TREND_REFERENCE",
                                "DIRECT_ADDRESS",
                                "BOLD_CLAIM",
                                "NONE"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "relevance": {
                          "type": "object",
                          "required": [
                            "score",
                            "why"
                          ],
                          "properties": {
                            "why": {
                              "type": "string",
                              "maxLength": 100
                            },
                            "score": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            }
                          }
                        },
                        "observed_at": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "performance": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "outlier",
                                "engagement_rate",
                                "engagement",
                                "view_band",
                                "virality"
                              ],
                              "properties": {
                                "outlier": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "label",
                                        "score",
                                        "breakout",
                                        "median_views",
                                        "posts"
                                      ],
                                      "properties": {
                                        "label": {
                                          "enum": [
                                            "MEGA_VIRAL",
                                            "VIRAL",
                                            "ABOVE_AVERAGE",
                                            "AVERAGE"
                                          ],
                                          "type": "string"
                                        },
                                        "posts": {
                                          "type": "integer",
                                          "maximum": 9007199254740991,
                                          "minimum": -9007199254740991
                                        },
                                        "score": {
                                          "type": "number"
                                        },
                                        "breakout": {
                                          "type": "boolean"
                                        },
                                        "median_views": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "virality": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "score",
                                        "tier"
                                      ],
                                      "properties": {
                                        "tier": {
                                          "enum": [
                                            "EXCEPTIONAL",
                                            "VERY_STRONG",
                                            "STRONG",
                                            "PROMISING",
                                            "ROUTINE"
                                          ],
                                          "type": "string"
                                        },
                                        "score": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "view_band": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "TOP_1_PERCENT",
                                        "TOP_10_PERCENT",
                                        "ABOVE_MEDIAN",
                                        "BELOW_MEDIAN"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "engagement": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "RESONANCE",
                                        "PASSIVE"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "engagement_rate": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "published_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 40
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "topic_history": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "state",
                                "since",
                                "peak_day",
                                "channels",
                                "velocity"
                              ],
                              "properties": {
                                "since": {
                                  "type": "string"
                                },
                                "state": {
                                  "enum": [
                                    "EMERGING",
                                    "RISING",
                                    "PEAKING",
                                    "DECLINING",
                                    "EVERGREEN"
                                  ],
                                  "type": "string"
                                },
                                "channels": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "peak_day": {
                                  "type": "string"
                                },
                                "velocity": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "evidence_class": {
                          "anyOf": [
                            {
                              "enum": [
                                "TREND_SIGNAL",
                                "AUDIENCE_EVIDENCE",
                                "CREATIVE_EXAMPLE",
                                "SEARCH_DEMAND",
                                "COMPETITOR_ACTIVITY",
                                "REFERENCE_ONLY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "measured_growth": {
                          "enum": [
                            "INCREASING_OBSERVED",
                            "DECREASING_OBSERVED",
                            "UNCHANGED_OBSERVED",
                            "NOT_COMPARABLE"
                          ],
                          "type": "string"
                        },
                        "published_at_precision": {
                          "anyOf": [
                            {
                              "enum": [
                                "EXACT",
                                "DAY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 100
                  },
                  "usage": {
                    "type": "object",
                    "required": [
                      "credits_charged",
                      "this_request_credits",
                      "replayed"
                    ],
                    "properties": {
                      "replayed": {
                        "type": "boolean"
                      },
                      "credits_charged": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "this_request_credits": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      }
                    }
                  },
                  "answer": {
                    "type": "null"
                  },
                  "window": {
                    "type": "object",
                    "required": [
                      "lookback_hours",
                      "observed_from",
                      "observed_to"
                    ],
                    "properties": {
                      "observed_to": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "observed_from": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "lookback_hours": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      }
                    }
                  },
                  "context": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "kind",
                          "context_id",
                          "revision"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string"
                          },
                          "revision": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "context_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "read_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "version": {
                    "type": "string",
                    "const": "trends-mcp-compact-v3"
                  },
                  "coverage": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "source",
                        "platform",
                        "status",
                        "observation_count",
                        "last_observed_at"
                      ],
                      "properties": {
                        "source": {
                          "type": "string",
                          "maxLength": 200
                        },
                        "status": {
                          "type": "string"
                        },
                        "platform": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "last_observed_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 40
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "observation_count": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        }
                      }
                    },
                    "maxItems": 40
                  },
                  "operation": {
                    "enum": [
                      "global",
                      "niche",
                      "ask",
                      "discover",
                      "outlier"
                    ],
                    "type": "string"
                  },
                  "result_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "truncated": {
                    "type": "boolean"
                  },
                  "ai_answers": {
                    "type": "null"
                  },
                  "expires_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "hook_types": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "type",
                        "videos",
                        "strong_hit_rate"
                      ],
                      "properties": {
                        "type": {
                          "enum": [
                            "POV_SETUP",
                            "TUTORIAL_PROMISE",
                            "STATISTIC",
                            "BEFORE_AFTER",
                            "COMPARISON",
                            "CONTROVERSY",
                            "NEGATION",
                            "RELATABLE_SCENARIO",
                            "STORY_TEASE",
                            "MYSTERY_SETUP",
                            "CLIFFHANGER",
                            "SHOCK_STATEMENT",
                            "QUESTION",
                            "TREND_REFERENCE",
                            "DIRECT_ADDRESS",
                            "BOLD_CLAIM",
                            "NONE"
                          ],
                          "type": "string"
                        },
                        "videos": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "exclusiveMinimum": 0
                        },
                        "strong_hit_rate": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 5
                  },
                  "request_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "communities": {
                    "type": "array",
                    "items": {
                      "not": {}
                    },
                    "maxItems": 0
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "maxItems": 60
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 512
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "generated_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "new_research": {
                    "type": "boolean"
                  },
                  "video_outlier": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "status",
                          "video",
                          "account",
                          "outlier_score",
                          "performance_label",
                          "weighted_score",
                          "percentile",
                          "z_score",
                          "median_views",
                          "mean_views",
                          "videos_analyzed",
                          "breakout",
                          "basis"
                        ],
                        "properties": {
                          "basis": {
                            "type": "string",
                            "maxLength": 500
                          },
                          "video": {
                            "type": "object",
                            "required": [
                              "platform",
                              "url",
                              "views",
                              "published_at"
                            ],
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "views": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "platform": {
                                "enum": [
                                  "TIKTOK",
                                  "INSTAGRAM",
                                  "YOUTUBE"
                                ],
                                "type": "string"
                              },
                              "published_at": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            }
                          },
                          "status": {
                            "enum": [
                              "FOUND",
                              "NOT_FOUND",
                              "NO_BASELINE"
                            ],
                            "type": "string"
                          },
                          "account": {
                            "type": "string",
                            "maxLength": 61
                          },
                          "z_score": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "breakout": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "mean_views": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "percentile": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "median_views": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "outlier_score": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "weighted_score": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "videos_analyzed": {
                            "type": "integer",
                            "maximum": 100,
                            "minimum": 0
                          },
                          "performance_label": {
                            "anyOf": [
                              {
                                "enum": [
                                  "MEGA_VIRAL",
                                  "VIRAL",
                                  "ABOVE_AVERAGE",
                                  "AVERAGE"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "excluded_count": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                }
              },
              "error": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1
              }
            }
          },
          "annotations": {
            "title": "Video outlier check",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "trendsfast_read_result",
          "title": "Read a saved result",
          "description": "Read a saved result, filter it by community, intent or platform before paging on next_cursor (the cursor keeps those filters), or recover an exact accepted request ID. Free until the result's expires_at (at most 30 days; sooner when a source's terms end it); after it, RESULT_EXPIRED with expired_at, and the query runs again only under a new request ID, at its price. No research. Rights, retention and context are rechecked.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "cursor": {
                "type": "string",
                "maxLength": 512
              },
              "intent": {
                "enum": [
                  "LOOKING_FOR_TOOL",
                  "COMPARING_OPTIONS",
                  "UNHAPPY_WITH_CURRENT",
                  "DESCRIBES_PROBLEM"
                ],
                "type": "string"
              },
              "platform": {
                "enum": [
                  "TIKTOK",
                  "YOUTUBE",
                  "INSTAGRAM",
                  "FACEBOOK",
                  "X",
                  "REDDIT",
                  "GOOGLE",
                  "BING",
                  "AI_SEARCH",
                  "WEB",
                  "FORUM",
                  "GITHUB"
                ],
                "type": "string"
              },
              "community": {
                "type": "string",
                "maxLength": 180,
                "minLength": 1
              },
              "result_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "request_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "x-mcp-header": "request-id"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "required": [
                  "version",
                  "result_id",
                  "request_id",
                  "operation",
                  "generated_at",
                  "read_at",
                  "expires_at",
                  "new_research",
                  "usage",
                  "next_cursor",
                  "context",
                  "window",
                  "brief",
                  "items",
                  "excluded_count",
                  "truncated",
                  "coverage",
                  "communities",
                  "ai_answers",
                  "hook_types",
                  "answer",
                  "video_outlier",
                  "limitations"
                ],
                "properties": {
                  "brief": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "headline",
                          "sections",
                          "coverage_gaps",
                          "next_steps"
                        ],
                        "properties": {
                          "headline": {
                            "type": "string",
                            "maxLength": 600
                          },
                          "sections": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "key",
                                "status",
                                "count",
                                "item_ids",
                                "note"
                              ],
                              "properties": {
                                "key": {
                                  "enum": [
                                    "TRENDING_NOW",
                                    "AUDIENCE_CONVERSATIONS",
                                    "CREATIVE_REFERENCES",
                                    "SEARCH_DEMAND",
                                    "COMPETITOR_ACTIVITY",
                                    "REFERENCES"
                                  ],
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string",
                                  "maxLength": 300
                                },
                                "count": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "status": {
                                  "enum": [
                                    "AVAILABLE",
                                    "EMPTY",
                                    "NOT_COLLECTED",
                                    "NEEDS_CONTEXT"
                                  ],
                                  "type": "string"
                                },
                                "item_ids": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  },
                                  "maxItems": 20
                                }
                              }
                            },
                            "maxItems": 6
                          },
                          "next_steps": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 300
                            },
                            "maxItems": 5
                          },
                          "coverage_gaps": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "platform",
                                "note"
                              ],
                              "properties": {
                                "note": {
                                  "type": "string",
                                  "maxLength": 200
                                },
                                "platform": {
                                  "enum": [
                                    "TIKTOK",
                                    "YOUTUBE",
                                    "INSTAGRAM",
                                    "FACEBOOK",
                                    "X",
                                    "REDDIT",
                                    "GOOGLE",
                                    "BING",
                                    "AI_SEARCH",
                                    "WEB",
                                    "FORUM",
                                    "GITHUB"
                                  ],
                                  "type": "string"
                                }
                              }
                            },
                            "maxItems": 10
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "ring",
                        "signal",
                        "platform",
                        "url",
                        "title",
                        "published_at",
                        "published_at_precision",
                        "observed_at",
                        "metrics",
                        "community"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "hook": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "ring": {
                          "enum": [
                            "CORE",
                            "ADJACENT",
                            "GLOBAL"
                          ],
                          "type": "string"
                        },
                        "uses": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "POST_TOPIC",
                              "DISCUSSION_TO_READ",
                              "CUSTOMER_PROBLEM",
                              "FEATURE_INPUT",
                              "VIDEO_TOPIC",
                              "TITLE_REFERENCE",
                              "FORMAT_REFERENCE",
                              "HOOK_REFERENCE",
                              "SEARCH_KEYWORD",
                              "COMPETITOR_WATCH",
                              "BACKGROUND_ONLY"
                            ],
                            "type": "string"
                          },
                          "maxItems": 3
                        },
                        "title": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 140
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "format": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "intent": {
                          "enum": [
                            "LOOKING_FOR_TOOL",
                            "COMPARING_OPTIONS",
                            "UNHAPPY_WITH_CURRENT",
                            "DESCRIBES_PROBLEM"
                          ],
                          "type": "string"
                        },
                        "signal": {
                          "enum": [
                            "POPULAR_NOW",
                            "RISING",
                            "EMERGING",
                            "RECURRING_PROBLEM",
                            "SEARCH_INTEREST",
                            "CREATIVE_PATTERN",
                            "NEW_DEVELOPMENT",
                            "INSUFFICIENT_EVIDENCE"
                          ],
                          "type": "string"
                        },
                        "source": {
                          "type": "string",
                          "maxLength": 120
                        },
                        "caution": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 100
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "creator": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "excerpt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 80
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "metrics": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "number"
                          }
                        },
                        "problem": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "platform": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "question": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "community": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 180
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "freshness": {
                          "enum": [
                            "CURRENT_DATED_REFERENCE",
                            "BACKGROUND_REFERENCE",
                            "UNDATED_REFERENCE",
                            "MODELED_PERIOD_NOT_CURRENT_MOMENTUM"
                          ],
                          "type": "string"
                        },
                        "hook_type": {
                          "anyOf": [
                            {
                              "enum": [
                                "POV_SETUP",
                                "TUTORIAL_PROMISE",
                                "STATISTIC",
                                "BEFORE_AFTER",
                                "COMPARISON",
                                "CONTROVERSY",
                                "NEGATION",
                                "RELATABLE_SCENARIO",
                                "STORY_TEASE",
                                "MYSTERY_SETUP",
                                "CLIFFHANGER",
                                "SHOCK_STATEMENT",
                                "QUESTION",
                                "TREND_REFERENCE",
                                "DIRECT_ADDRESS",
                                "BOLD_CLAIM",
                                "NONE"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "relevance": {
                          "type": "object",
                          "required": [
                            "score",
                            "why"
                          ],
                          "properties": {
                            "why": {
                              "type": "string",
                              "maxLength": 100
                            },
                            "score": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            }
                          }
                        },
                        "observed_at": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "performance": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "outlier",
                                "engagement_rate",
                                "engagement",
                                "view_band",
                                "virality"
                              ],
                              "properties": {
                                "outlier": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "label",
                                        "score",
                                        "breakout",
                                        "median_views",
                                        "posts"
                                      ],
                                      "properties": {
                                        "label": {
                                          "enum": [
                                            "MEGA_VIRAL",
                                            "VIRAL",
                                            "ABOVE_AVERAGE",
                                            "AVERAGE"
                                          ],
                                          "type": "string"
                                        },
                                        "posts": {
                                          "type": "integer",
                                          "maximum": 9007199254740991,
                                          "minimum": -9007199254740991
                                        },
                                        "score": {
                                          "type": "number"
                                        },
                                        "breakout": {
                                          "type": "boolean"
                                        },
                                        "median_views": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "virality": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "score",
                                        "tier"
                                      ],
                                      "properties": {
                                        "tier": {
                                          "enum": [
                                            "EXCEPTIONAL",
                                            "VERY_STRONG",
                                            "STRONG",
                                            "PROMISING",
                                            "ROUTINE"
                                          ],
                                          "type": "string"
                                        },
                                        "score": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "view_band": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "TOP_1_PERCENT",
                                        "TOP_10_PERCENT",
                                        "ABOVE_MEDIAN",
                                        "BELOW_MEDIAN"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "engagement": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "RESONANCE",
                                        "PASSIVE"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "engagement_rate": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "published_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 40
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "topic_history": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "state",
                                "since",
                                "peak_day",
                                "channels",
                                "velocity"
                              ],
                              "properties": {
                                "since": {
                                  "type": "string"
                                },
                                "state": {
                                  "enum": [
                                    "EMERGING",
                                    "RISING",
                                    "PEAKING",
                                    "DECLINING",
                                    "EVERGREEN"
                                  ],
                                  "type": "string"
                                },
                                "channels": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "peak_day": {
                                  "type": "string"
                                },
                                "velocity": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "evidence_class": {
                          "anyOf": [
                            {
                              "enum": [
                                "TREND_SIGNAL",
                                "AUDIENCE_EVIDENCE",
                                "CREATIVE_EXAMPLE",
                                "SEARCH_DEMAND",
                                "COMPETITOR_ACTIVITY",
                                "REFERENCE_ONLY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "measured_growth": {
                          "enum": [
                            "INCREASING_OBSERVED",
                            "DECREASING_OBSERVED",
                            "UNCHANGED_OBSERVED",
                            "NOT_COMPARABLE"
                          ],
                          "type": "string"
                        },
                        "published_at_precision": {
                          "anyOf": [
                            {
                              "enum": [
                                "EXACT",
                                "DAY"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 100
                  },
                  "usage": {
                    "type": "object",
                    "required": [
                      "credits_charged",
                      "this_request_credits",
                      "replayed"
                    ],
                    "properties": {
                      "replayed": {
                        "type": "boolean"
                      },
                      "credits_charged": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "this_request_credits": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      }
                    }
                  },
                  "answer": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "question",
                          "answer_status",
                          "answer",
                          "findings",
                          "missing_inputs",
                          "next_steps"
                        ],
                        "properties": {
                          "answer": {
                            "type": "string",
                            "maxLength": 1500
                          },
                          "findings": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "kind",
                                "item_id",
                                "title",
                                "statement",
                                "platform",
                                "source",
                                "url",
                                "metrics",
                                "published_at",
                                "ring"
                              ],
                              "properties": {
                                "url": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uri",
                                      "maxLength": 2048
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "kind": {
                                  "enum": [
                                    "TREND",
                                    "CUSTOMER_PROBLEM",
                                    "FEATURE_REQUEST",
                                    "QUESTION_ASKED",
                                    "HOOK_OBSERVED",
                                    "FORMAT_OBSERVED",
                                    "TITLE_OBSERVED",
                                    "SEARCH_DEMAND",
                                    "COMPETITOR_POST",
                                    "COMPETITOR_MENTION",
                                    "RELATED_DISCUSSION",
                                    "REFERENCE"
                                  ],
                                  "type": "string"
                                },
                                "ring": {
                                  "enum": [
                                    "CORE",
                                    "ADJACENT",
                                    "GLOBAL"
                                  ],
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string",
                                  "maxLength": 240
                                },
                                "source": {
                                  "type": "string",
                                  "maxLength": 500,
                                  "minLength": 1
                                },
                                "item_id": {
                                  "type": "string",
                                  "pattern": "^[a-z][a-z0-9_-]{2,95}$"
                                },
                                "metrics": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 300
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "platform": {
                                  "enum": [
                                    "TIKTOK",
                                    "YOUTUBE",
                                    "INSTAGRAM",
                                    "FACEBOOK",
                                    "X",
                                    "REDDIT",
                                    "GOOGLE",
                                    "BING",
                                    "AI_SEARCH",
                                    "WEB",
                                    "FORUM",
                                    "GITHUB"
                                  ],
                                  "type": "string"
                                },
                                "statement": {
                                  "type": "string",
                                  "maxLength": 400
                                },
                                "published_at": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            "maxItems": 20
                          },
                          "question": {
                            "type": "string",
                            "maxLength": 1000
                          },
                          "next_steps": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 300
                            },
                            "maxItems": 8
                          },
                          "answer_status": {
                            "anyOf": [
                              {
                                "enum": [
                                  "ANSWERED",
                                  "PARTIAL",
                                  "INSUFFICIENT_EVIDENCE",
                                  "NEEDS_CONTEXT",
                                  "NOT_COLLECTED"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "missing_inputs": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 300
                            },
                            "maxItems": 8
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "window": {
                    "type": "object",
                    "required": [
                      "lookback_hours",
                      "observed_from",
                      "observed_to"
                    ],
                    "properties": {
                      "observed_to": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "observed_from": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "lookback_hours": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991
                      }
                    }
                  },
                  "context": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "kind",
                          "context_id",
                          "revision"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string"
                          },
                          "revision": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "context_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "read_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "version": {
                    "type": "string",
                    "const": "trends-mcp-compact-v3"
                  },
                  "coverage": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "source",
                        "platform",
                        "status",
                        "observation_count",
                        "last_observed_at"
                      ],
                      "properties": {
                        "source": {
                          "type": "string",
                          "maxLength": 200
                        },
                        "status": {
                          "type": "string"
                        },
                        "platform": {
                          "enum": [
                            "TIKTOK",
                            "YOUTUBE",
                            "INSTAGRAM",
                            "FACEBOOK",
                            "X",
                            "REDDIT",
                            "GOOGLE",
                            "BING",
                            "AI_SEARCH",
                            "WEB",
                            "FORUM",
                            "GITHUB"
                          ],
                          "type": "string"
                        },
                        "last_observed_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 40
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "observation_count": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        }
                      }
                    },
                    "maxItems": 40
                  },
                  "operation": {
                    "enum": [
                      "global",
                      "niche",
                      "ask",
                      "discover",
                      "outlier"
                    ],
                    "type": "string"
                  },
                  "result_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "truncated": {
                    "type": "boolean"
                  },
                  "ai_answers": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "asked",
                          "answers"
                        ],
                        "properties": {
                          "asked": {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0
                          },
                          "answers": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "platform",
                                "model",
                                "mentions_you",
                                "competitors_named",
                                "names",
                                "cited_domains",
                                "excerpt"
                              ],
                              "properties": {
                                "model": {
                                  "type": "string",
                                  "maxLength": 100
                                },
                                "names": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 120
                                  },
                                  "maxItems": 10
                                },
                                "excerpt": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 400
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "platform": {
                                  "enum": [
                                    "CHATGPT",
                                    "PERPLEXITY",
                                    "GEMINI",
                                    "CLAUDE"
                                  ],
                                  "type": "string"
                                },
                                "mentions_you": {
                                  "type": "boolean"
                                },
                                "cited_domains": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 253
                                  },
                                  "maxItems": 8
                                },
                                "competitors_named": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 200
                                  },
                                  "maxItems": 8
                                }
                              }
                            },
                            "maxItems": 12
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "expires_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "hook_types": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "type",
                        "videos",
                        "strong_hit_rate"
                      ],
                      "properties": {
                        "type": {
                          "enum": [
                            "POV_SETUP",
                            "TUTORIAL_PROMISE",
                            "STATISTIC",
                            "BEFORE_AFTER",
                            "COMPARISON",
                            "CONTROVERSY",
                            "NEGATION",
                            "RELATABLE_SCENARIO",
                            "STORY_TEASE",
                            "MYSTERY_SETUP",
                            "CLIFFHANGER",
                            "SHOCK_STATEMENT",
                            "QUESTION",
                            "TREND_REFERENCE",
                            "DIRECT_ADDRESS",
                            "BOLD_CLAIM",
                            "NONE"
                          ],
                          "type": "string"
                        },
                        "videos": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "exclusiveMinimum": 0
                        },
                        "strong_hit_rate": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 5
                  },
                  "request_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "communities": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "community",
                        "url",
                        "status",
                        "weekly_active_users",
                        "self_promotion",
                        "links",
                        "ai_content"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "play": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "maxLength": 300
                          },
                          "maxItems": 4
                        },
                        "avoid": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "maxItems": 3
                        },
                        "links": {
                          "type": "object",
                          "required": [
                            "policy",
                            "rules"
                          ],
                          "properties": {
                            "rules": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              "maxItems": 10
                            },
                            "policy": {
                              "enum": [
                                "ALLOWED",
                                "RESTRICTED",
                                "NOT_ALLOWED",
                                "UNKNOWN"
                              ],
                              "type": "string"
                            }
                          }
                        },
                        "rules": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "number",
                              "title"
                            ],
                            "properties": {
                              "title": {
                                "type": "string",
                                "maxLength": 120
                              },
                              "number": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              }
                            }
                          },
                          "maxItems": 10
                        },
                        "pinned": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "title",
                              "url"
                            ],
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string",
                                "maxLength": 160
                              }
                            }
                          },
                          "maxItems": 3
                        },
                        "status": {
                          "enum": [
                            "PROFILED",
                            "NOT_FOUND",
                            "UNAVAILABLE"
                          ],
                          "type": "string"
                        },
                        "formats": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "format",
                              "share"
                            ],
                            "properties": {
                              "share": {
                                "type": "number"
                              },
                              "format": {
                                "enum": [
                                  "QUESTION",
                                  "STORY",
                                  "SHOWCASE",
                                  "GUIDE",
                                  "DISCUSSION",
                                  "LINK",
                                  "MEDIA"
                                ],
                                "type": "string"
                              }
                            }
                          },
                          "maxItems": 3
                        },
                        "community": {
                          "type": "string"
                        },
                        "post_plan": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "version",
                                "placement",
                                "as_of"
                              ],
                              "properties": {
                                "rule": {
                                  "type": "string",
                                  "maxLength": 500,
                                  "minLength": 1
                                },
                                "as_of": {
                                  "type": "string",
                                  "format": "date"
                                },
                                "steps": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 500,
                                    "minLength": 1
                                  },
                                  "maxItems": 6,
                                  "minItems": 1
                                },
                                "account": {
                                  "type": "object",
                                  "required": [
                                    "min_karma",
                                    "min_account_days",
                                    "requirement",
                                    "requirement_note",
                                    "warm_up"
                                  ],
                                  "properties": {
                                    "warm_up": {
                                      "type": "string",
                                      "maxLength": 500,
                                      "minLength": 1
                                    },
                                    "min_karma": {
                                      "anyOf": [
                                        {
                                          "type": "integer",
                                          "maximum": 9007199254740991,
                                          "minimum": 0
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "requirement": {
                                      "enum": [
                                        "RULES",
                                        "STATED",
                                        "UNKNOWN"
                                      ],
                                      "type": "string"
                                    },
                                    "min_account_days": {
                                      "anyOf": [
                                        {
                                          "type": "integer",
                                          "maximum": 9007199254740991,
                                          "minimum": 0
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "requirement_note": {
                                      "type": "string",
                                      "maxLength": 500,
                                      "minLength": 1
                                    }
                                  }
                                },
                                "version": {
                                  "type": "string",
                                  "const": "community-post-plan-v1"
                                },
                                "winners": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "title",
                                      "url",
                                      "observed_on",
                                      "score",
                                      "comments",
                                      "views",
                                      "product",
                                      "lesson",
                                      "evidence"
                                    ],
                                    "properties": {
                                      "url": {
                                        "anyOf": [
                                          {
                                            "type": "string",
                                            "format": "uri",
                                            "maxLength": 2048
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "score": {
                                        "anyOf": [
                                          {
                                            "type": "integer",
                                            "maximum": 9007199254740991,
                                            "minimum": -9007199254740991
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "title": {
                                        "type": "string",
                                        "maxLength": 300,
                                        "minLength": 1
                                      },
                                      "views": {
                                        "anyOf": [
                                          {
                                            "type": "integer",
                                            "maximum": 9007199254740991,
                                            "minimum": 0
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "lesson": {
                                        "type": "string",
                                        "maxLength": 500,
                                        "minLength": 1
                                      },
                                      "product": {
                                        "enum": [
                                          "LINK_IN_BODY",
                                          "LINK_EDITED_IN",
                                          "NAME_IN_BODY",
                                          "FIRST_COMMENT",
                                          "NOT_SHOWN"
                                        ],
                                        "type": "string"
                                      },
                                      "comments": {
                                        "anyOf": [
                                          {
                                            "type": "integer",
                                            "maximum": 9007199254740991,
                                            "minimum": 0
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "evidence": {
                                        "enum": [
                                          "LINKED",
                                          "SCREENSHOT_ONLY"
                                        ],
                                        "type": "string"
                                      },
                                      "observed_on": {
                                        "type": "string",
                                        "format": "date"
                                      }
                                    }
                                  },
                                  "maxItems": 5
                                },
                                "placement": {
                                  "enum": [
                                    "EDIT_IN_LINK",
                                    "EDIT_IN_NAME",
                                    "FIRST_COMMENT",
                                    "THREAD_ONLY",
                                    "NONE"
                                  ],
                                  "type": "string"
                                },
                                "as_of_note": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 500,
                                      "minLength": 1
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "edit_after": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 500,
                                      "minLength": 1
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "placement_note": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 500,
                                      "minLength": 1
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "ai_content": {
                          "type": "object",
                          "required": [
                            "policy",
                            "rules"
                          ],
                          "properties": {
                            "rules": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              "maxItems": 10
                            },
                            "policy": {
                              "enum": [
                                "ALLOWED",
                                "RESTRICTED",
                                "NOT_ALLOWED",
                                "UNKNOWN"
                              ],
                              "type": "string"
                            }
                          }
                        },
                        "hook_pattern": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 200
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "median_score": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "self_promotion": {
                          "type": "object",
                          "required": [
                            "policy",
                            "rules"
                          ],
                          "properties": {
                            "rules": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              "maxItems": 10
                            },
                            "policy": {
                              "enum": [
                                "ALLOWED",
                                "RESTRICTED",
                                "NOT_ALLOWED",
                                "UNKNOWN"
                              ],
                              "type": "string"
                            }
                          }
                        },
                        "winning_format": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 300
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "median_comments": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "promotion_venue": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 120
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "weekly_active_users": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "maxItems": 5
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "maxItems": 60
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 512
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "generated_at": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "new_research": {
                    "type": "boolean"
                  },
                  "video_outlier": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "status",
                          "video",
                          "account",
                          "outlier_score",
                          "performance_label",
                          "weighted_score",
                          "percentile",
                          "z_score",
                          "median_views",
                          "mean_views",
                          "videos_analyzed",
                          "breakout",
                          "basis"
                        ],
                        "properties": {
                          "basis": {
                            "type": "string",
                            "maxLength": 500
                          },
                          "video": {
                            "type": "object",
                            "required": [
                              "platform",
                              "url",
                              "views",
                              "published_at"
                            ],
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "views": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "platform": {
                                "enum": [
                                  "TIKTOK",
                                  "INSTAGRAM",
                                  "YOUTUBE"
                                ],
                                "type": "string"
                              },
                              "published_at": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            }
                          },
                          "status": {
                            "enum": [
                              "FOUND",
                              "NOT_FOUND",
                              "NO_BASELINE"
                            ],
                            "type": "string"
                          },
                          "account": {
                            "type": "string",
                            "maxLength": 61
                          },
                          "z_score": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "breakout": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "mean_views": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "percentile": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "median_views": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "outlier_score": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "weighted_score": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "videos_analyzed": {
                            "type": "integer",
                            "maximum": 100,
                            "minimum": 0
                          },
                          "performance_label": {
                            "anyOf": [
                              {
                                "enum": [
                                  "MEGA_VIRAL",
                                  "VIRAL",
                                  "ABOVE_AVERAGE",
                                  "AVERAGE"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "excluded_count": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                }
              },
              "error": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1
              }
            }
          },
          "annotations": {
            "title": "Read a saved result",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "trendsfast_community_brief",
          "title": "Community brief",
          "description": "Read TrendsFast's brief on one subreddit, from Claude Opus's reading of its top posts, replies and images: who is there and what they need, how far authority, expertise, being relatable and humor are rewarded, the winning post and reply, what fails, its rules, post_plan (the account warm-up, a story posted without a link, then where and when the product goes in as the rules allow, with winners and their numbers), moderators where reviewed, and what a good result is now, with age_days, stale (true once seven days old) and refresh_due_at, next_refresh_at (null without a scheduled refresh) and refresh_note. Without community, lists the communities that have one. rules.ai_written says whether a person must write the words. No credit debit or new research.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "community": {
                "type": "string",
                "maxLength": 24,
                "minLength": 2
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "version",
                      "community",
                      "model",
                      "analyzed_at",
                      "evidence",
                      "summary",
                      "people",
                      "experience",
                      "talking_about",
                      "needs",
                      "registers",
                      "post_format",
                      "reply_format",
                      "fails",
                      "rules",
                      "benchmarks",
                      "limits"
                    ],
                    "properties": {
                      "fails": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 500,
                          "minLength": 1
                        },
                        "maxItems": 7,
                        "minItems": 1
                      },
                      "model": {
                        "type": "string",
                        "const": "claude-opus-5-5"
                      },
                      "needs": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 500,
                          "minLength": 1
                        },
                        "maxItems": 7,
                        "minItems": 1
                      },
                      "rules": {
                        "type": "object",
                        "required": [
                          "promotion",
                          "where",
                          "ai_written",
                          "links",
                          "must_know"
                        ],
                        "properties": {
                          "links": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "where": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "must_know": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 500,
                              "minLength": 1
                            },
                            "maxItems": 6,
                            "minItems": 1
                          },
                          "promotion": {
                            "enum": [
                              "ALLOWED",
                              "RESTRICTED",
                              "NOT_ALLOWED",
                              "UNKNOWN"
                            ],
                            "type": "string"
                          },
                          "ai_written": {
                            "enum": [
                              "ALLOWED",
                              "RESTRICTED",
                              "NOT_ALLOWED",
                              "UNKNOWN"
                            ],
                            "type": "string"
                          }
                        }
                      },
                      "stale": {
                        "type": "boolean"
                      },
                      "limits": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 500,
                          "minLength": 1
                        },
                        "maxItems": 5,
                        "minItems": 1
                      },
                      "people": {
                        "type": "object",
                        "required": [
                          "who",
                          "stage",
                          "skill",
                          "money",
                          "readers_and_posters",
                          "buying"
                        ],
                        "properties": {
                          "who": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "money": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "skill": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "stage": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "buying": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "readers_and_posters": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          }
                        }
                      },
                      "summary": {
                        "type": "string",
                        "maxLength": 500,
                        "minLength": 1
                      },
                      "version": {
                        "type": "string",
                        "const": "community-brief-v1"
                      },
                      "age_days": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "evidence": {
                        "type": "object",
                        "required": [
                          "posts",
                          "threads",
                          "images",
                          "notes"
                        ],
                        "properties": {
                          "notes": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 500,
                              "minLength": 1
                            },
                            "maxItems": 5,
                            "minItems": 1
                          },
                          "posts": {
                            "type": "integer",
                            "maximum": 1000,
                            "exclusiveMinimum": 0
                          },
                          "images": {
                            "type": "integer",
                            "maximum": 100,
                            "minimum": 0
                          },
                          "threads": {
                            "type": "integer",
                            "maximum": 100,
                            "minimum": 0
                          }
                        }
                      },
                      "community": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9][A-Za-z0-9_]{1,20}$"
                      },
                      "post_plan": {
                        "type": "object",
                        "required": [
                          "version",
                          "placement",
                          "placement_note",
                          "rule",
                          "account",
                          "steps",
                          "edit_after",
                          "as_of",
                          "as_of_note",
                          "winners"
                        ],
                        "properties": {
                          "rule": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "as_of": {
                            "type": "string",
                            "format": "date"
                          },
                          "steps": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 500,
                              "minLength": 1
                            },
                            "maxItems": 6,
                            "minItems": 1
                          },
                          "account": {
                            "type": "object",
                            "required": [
                              "min_karma",
                              "min_account_days",
                              "requirement",
                              "requirement_note",
                              "warm_up"
                            ],
                            "properties": {
                              "warm_up": {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              },
                              "min_karma": {
                                "anyOf": [
                                  {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "requirement": {
                                "enum": [
                                  "RULES",
                                  "STATED",
                                  "UNKNOWN"
                                ],
                                "type": "string"
                              },
                              "min_account_days": {
                                "anyOf": [
                                  {
                                    "type": "integer",
                                    "maximum": 9007199254740991,
                                    "minimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "requirement_note": {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              }
                            }
                          },
                          "version": {
                            "type": "string",
                            "const": "community-post-plan-v1"
                          },
                          "winners": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "title",
                                "url",
                                "observed_on",
                                "score",
                                "comments",
                                "views",
                                "product",
                                "lesson",
                                "evidence"
                              ],
                              "properties": {
                                "url": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "uri",
                                      "maxLength": 2048
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "score": {
                                  "anyOf": [
                                    {
                                      "type": "integer",
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "title": {
                                  "type": "string",
                                  "maxLength": 300,
                                  "minLength": 1
                                },
                                "views": {
                                  "anyOf": [
                                    {
                                      "type": "integer",
                                      "maximum": 9007199254740991,
                                      "minimum": 0
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "lesson": {
                                  "type": "string",
                                  "maxLength": 500,
                                  "minLength": 1
                                },
                                "product": {
                                  "enum": [
                                    "LINK_IN_BODY",
                                    "LINK_EDITED_IN",
                                    "NAME_IN_BODY",
                                    "FIRST_COMMENT",
                                    "NOT_SHOWN"
                                  ],
                                  "type": "string"
                                },
                                "comments": {
                                  "anyOf": [
                                    {
                                      "type": "integer",
                                      "maximum": 9007199254740991,
                                      "minimum": 0
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "evidence": {
                                  "enum": [
                                    "LINKED",
                                    "SCREENSHOT_ONLY"
                                  ],
                                  "type": "string"
                                },
                                "observed_on": {
                                  "type": "string",
                                  "format": "date"
                                }
                              }
                            },
                            "maxItems": 5
                          },
                          "placement": {
                            "enum": [
                              "EDIT_IN_LINK",
                              "EDIT_IN_NAME",
                              "FIRST_COMMENT",
                              "THREAD_ONLY",
                              "NONE"
                            ],
                            "type": "string"
                          },
                          "as_of_note": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "edit_after": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "placement_note": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      "registers": {
                        "type": "object",
                        "required": [
                          "authority",
                          "expertise",
                          "relatable",
                          "humor",
                          "reading"
                        ],
                        "properties": {
                          "humor": {
                            "type": "object",
                            "required": [
                              "score",
                              "evidence"
                            ],
                            "properties": {
                              "score": {
                                "type": "integer",
                                "maximum": 3,
                                "minimum": 0
                              },
                              "evidence": {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              }
                            }
                          },
                          "reading": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "authority": {
                            "type": "object",
                            "required": [
                              "score",
                              "evidence"
                            ],
                            "properties": {
                              "score": {
                                "type": "integer",
                                "maximum": 3,
                                "minimum": 0
                              },
                              "evidence": {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              }
                            }
                          },
                          "expertise": {
                            "type": "object",
                            "required": [
                              "score",
                              "evidence"
                            ],
                            "properties": {
                              "score": {
                                "type": "integer",
                                "maximum": 3,
                                "minimum": 0
                              },
                              "evidence": {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              }
                            }
                          },
                          "relatable": {
                            "type": "object",
                            "required": [
                              "score",
                              "evidence"
                            ],
                            "properties": {
                              "score": {
                                "type": "integer",
                                "maximum": 3,
                                "minimum": 0
                              },
                              "evidence": {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              }
                            }
                          }
                        }
                      },
                      "benchmarks": {
                        "type": "object",
                        "required": [
                          "all_time_top_score",
                          "month_top_score",
                          "good_post_now",
                          "timing"
                        ],
                        "properties": {
                          "timing": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "good_post_now": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "month_top_score": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "all_time_top_score": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      "experience": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 500,
                          "minLength": 1
                        },
                        "maxItems": 7,
                        "minItems": 1
                      },
                      "moderators": {
                        "oneOf": [
                          {
                            "type": "object",
                            "required": [
                              "status",
                              "names",
                              "reviewed_at"
                            ],
                            "properties": {
                              "names": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "maxLength": 40,
                                  "minLength": 1
                                },
                                "maxItems": 40
                              },
                              "status": {
                                "type": "string",
                                "const": "REVIEWED"
                              },
                              "reviewed_at": {
                                "type": "string",
                                "format": "date"
                              }
                            }
                          },
                          {
                            "type": "object",
                            "required": [
                              "status",
                              "reason"
                            ],
                            "properties": {
                              "reason": {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              },
                              "status": {
                                "type": "string",
                                "const": "NOT_AVAILABLE"
                              }
                            }
                          }
                        ]
                      },
                      "analyzed_at": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "post_format": {
                        "type": "object",
                        "required": [
                          "summary",
                          "title",
                          "opening",
                          "body",
                          "proof",
                          "length",
                          "media",
                          "ending",
                          "skeleton",
                          "examples"
                        ],
                        "properties": {
                          "body": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "media": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "proof": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "title": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "ending": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "length": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "opening": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "summary": {
                            "type": "string",
                            "maxLength": 500,
                            "minLength": 1
                          },
                          "examples": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "title",
                                "url",
                                "score",
                                "why"
                              ],
                              "properties": {
                                "url": {
                                  "type": "string",
                                  "format": "uri",
                                  "maxLength": 2048
                                },
                                "why": {
                                  "type": "string",
                                  "maxLength": 500,
                                  "minLength": 1
                                },
                                "score": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": -9007199254740991
                                },
                                "title": {
                                  "type": "string",
                                  "maxLength": 300,
                                  "minLength": 1
                                },
                                "product_mention": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "NONE",
                                        "NAME",
                                        "LINK",
                                        "EDIT",
                                        "COMMENT"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "product_mention_reason": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 500,
                                      "minLength": 1
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            "maxItems": 10,
                            "minItems": 1
                          },
                          "skeleton": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 500,
                              "minLength": 1
                            },
                            "maxItems": 8,
                            "minItems": 1
                          }
                        }
                      },
                      "refresh_note": {
                        "type": "string",
                        "maxLength": 500,
                        "minLength": 1
                      },
                      "reply_format": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "summary",
                              "top_replies_do",
                              "length",
                              "author_in_thread"
                            ],
                            "properties": {
                              "length": {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              },
                              "summary": {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              },
                              "top_replies_do": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "maxLength": 500,
                                  "minLength": 1
                                },
                                "maxItems": 6,
                                "minItems": 1
                              },
                              "author_in_thread": {
                                "type": "string",
                                "maxLength": 500,
                                "minLength": 1
                              }
                            }
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "talking_about": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "topic",
                            "detail",
                            "heat"
                          ],
                          "properties": {
                            "heat": {
                              "enum": [
                                "HIGH",
                                "MEDIUM",
                                "LOW"
                              ],
                              "type": "string"
                            },
                            "topic": {
                              "type": "string",
                              "maxLength": 500,
                              "minLength": 1
                            },
                            "detail": {
                              "type": "string",
                              "maxLength": 500,
                              "minLength": 1
                            }
                          }
                        },
                        "maxItems": 8,
                        "minItems": 1
                      },
                      "refresh_due_at": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "next_refresh_at": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "date-time"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "version",
                      "communities"
                    ],
                    "properties": {
                      "version": {
                        "type": "string",
                        "const": "community-brief-list-v1"
                      },
                      "communities": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "community",
                            "analyzed_at",
                            "summary",
                            "promotion",
                            "ai_written"
                          ],
                          "properties": {
                            "stale": {
                              "type": "boolean"
                            },
                            "summary": {
                              "type": "string",
                              "maxLength": 500,
                              "minLength": 1
                            },
                            "age_days": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            "community": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9][A-Za-z0-9_]{1,20}$"
                            },
                            "promotion": {
                              "enum": [
                                "ALLOWED",
                                "RESTRICTED",
                                "NOT_ALLOWED",
                                "UNKNOWN"
                              ],
                              "type": "string"
                            },
                            "ai_written": {
                              "enum": [
                                "ALLOWED",
                                "RESTRICTED",
                                "NOT_ALLOWED",
                                "UNKNOWN"
                              ],
                              "type": "string"
                            },
                            "analyzed_at": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "refresh_note": {
                              "type": "string",
                              "maxLength": 500,
                              "minLength": 1
                            },
                            "refresh_due_at": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "next_refresh_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date-time"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          }
                        },
                        "maxItems": 1000
                      }
                    }
                  }
                ]
              },
              "error": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1
              }
            }
          },
          "annotations": {
            "title": "Community brief",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "trendsfast_project_context",
          "title": "Project context",
          "description": "Read the connected project's name, ID and confirmed niche context, or that none is confirmed, with the context_id niche and Ask calls take. Free; changes nothing.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "required": [
                  "project_id",
                  "project_name",
                  "context",
                  "limitations"
                ],
                "properties": {
                  "context": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "kind",
                          "context_id",
                          "revision",
                          "fields"
                        ],
                        "properties": {
                          "kind": {
                            "enum": [
                              "CONFIRMED_CONTEXT",
                              "TEMPORARY_INPUT"
                            ],
                            "type": "string"
                          },
                          "fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "field",
                                "value",
                                "basis",
                                "evidence_ids"
                              ],
                              "properties": {
                                "basis": {
                                  "enum": [
                                    "OWNER_CONFIRMED",
                                    "WEBSITE_OBSERVED",
                                    "USER_ASSERTED",
                                    "INFERRED"
                                  ],
                                  "type": "string"
                                },
                                "field": {
                                  "enum": [
                                    "description",
                                    "topic",
                                    "problem",
                                    "audience",
                                    "exclusion",
                                    "capability",
                                    "job",
                                    "industry",
                                    "product_category",
                                    "customer_interest",
                                    "competitor",
                                    "adjacent_category",
                                    "market",
                                    "language",
                                    "platform",
                                    "community",
                                    "competitor_handle",
                                    "competitor_domain",
                                    "keyword"
                                  ],
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string",
                                  "maxLength": 2000,
                                  "minLength": 1
                                },
                                "evidence_ids": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 180,
                                    "minLength": 1
                                  },
                                  "maxItems": 20
                                }
                              }
                            },
                            "maxItems": 250,
                            "minItems": 1
                          },
                          "revision": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "exclusiveMinimum": 0
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "context_id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "project_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 1000
                    },
                    "maxItems": 10
                  },
                  "project_name": {
                    "type": "string",
                    "maxLength": 200,
                    "minLength": 1
                  }
                }
              },
              "error": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1
              }
            }
          },
          "annotations": {
            "title": "Project context",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "trendsfast_credit_balance",
          "title": "Credit balance",
          "description": "Free: the REST/MCP credit balance. available = free (sign-up) + monthly (the month's free and plan credits) + prepaid + granted (added by hand); each lot names its figure. Reservations and pause.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "required": [
                  "version",
                  "accountId",
                  "available",
                  "granted",
                  "free",
                  "monthly",
                  "prepaid",
                  "reserved",
                  "consumed",
                  "debt",
                  "paused",
                  "lots"
                ],
                "properties": {
                  "debt": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  "free": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  "lots": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "kind",
                        "bucket",
                        "total",
                        "consumed",
                        "reserved",
                        "revoked",
                        "available",
                        "expiresAt"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "kind": {
                          "enum": [
                            "FREE",
                            "MONTHLY",
                            "PREPAID"
                          ],
                          "type": "string"
                        },
                        "total": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        },
                        "bucket": {
                          "enum": [
                            "free",
                            "monthly",
                            "prepaid",
                            "granted"
                          ],
                          "type": "string"
                        },
                        "revoked": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        },
                        "consumed": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        },
                        "reserved": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        },
                        "available": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        },
                        "expiresAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    }
                  },
                  "paused": {
                    "type": "boolean"
                  },
                  "granted": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  "monthly": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  "prepaid": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  "version": {
                    "type": "string",
                    "const": "credit-wallet-v3"
                  },
                  "consumed": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  "reserved": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  "accountId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "available": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                }
              },
              "error": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1
              }
            }
          },
          "annotations": {
            "title": "Credit balance",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Use stable request UUIDs and explicit maximum credits. Global discovery requires no product profile. trendsfast_niche_trends with a product first collects that product's sources, within its price, for the confirmed context, reusing at the same price any read in the last 6 hours (new_research: false); trendsfast_video_outlier reads the account of the video's creator;  every other tool queries saved observations only. Read saved results freely; preserve unknown request identities for recovery. Trends results arrive as a compact view; the REST result at /v3/trends/results/{result_id} carries the full contract. A niche, discover or Ask result also carries a second text block, the handout: up to three angles from core evidence with their links, the result's stated limits and one proposed test; data_gap is true when no core item qualifies. A Customers handout adds reply_first: up to three Reddit posts to answer first, each with its intent, published_at, first_shown_at (when a result for the brand first showed it among its first three) and mention (NAME_AND_LINK, NAME_ONLY, NOT_IN_REPLY or UNKNOWN: what a reply may do with the product under that community's rules; UNKNOWN means none are on file, so read them first), reply_first_total: how many data.opportunities holds, and reply_first_excluded: threads left out, each with its reason. A Search handout adds get_mentioned: up to three pages the AI answers cite that a brand can act on (ANSWER_THE_THREAD, ASK_TO_BE_LISTED, GET_REVIEWED). TrendsFast never posts or writes the reply. Source coverage may be incomplete. A CONCURRENT_LIMIT or RATE_LIMITED refusal was never accepted: nothing was charged and nothing is saved under its request ID, so wait and send the same call again rather than reading it back. A call the balance cannot cover returns INSUFFICIENT_CREDITS: Nothing was charged: this call needs more credits than the account holds. The plans and what each includes are described at https://trendsfast.com/pricing."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}