Skip to main content
Glama
ngwddd

trend-radar-mcp

by ngwddd

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PYTHONIOENCODINGNoPython IO encoding; set to utf-8 as shown in the example MCP client configurations.
PYTHONUNBUFFEREDNoSet to '1' to run Python unbuffered, as shown in the example MCP client configuration.
TREND_RADAR_HOMENoDirectory where state and cache are stored (default is ~/.trend-radar). Used to override the default location for state.db, runs, and cache.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
radar_scanA

采集 + 评分 + 分桶,一次调用给出可写简报的材料。

scope 自动判定:不给 domain 时按 query 判三类;判不进(或跨类)→ broad 全量 42 源。显式 domain 永远优先。返回 scope_source 说明是 auto / explicit / auto-broad。

返回 digest(每桶 top N:id/标题/truth·comm/来源/日期/new),并对 core、watch 的前 briefs 条内联摘要(默认 3 条 × 240 字)。多数情况下一次调用就够写;要更多正文再用 radar_pack。

硬约束:truth/comm 由引擎算,0.6 是闸门,禁止自己估;borderline=true 表示分数在 0.55–0.65,必须复核后再引用;calibration 桶只校准传播度,永不作内容源。

radar_packA

按 id / bucket 取正文与细节。只在 digest 不够写的时候用。 硬约束:ids ≤ 12;limit ≤ 20;默认只给 scores+flags,要正文必须显式 fields=['summary'];摘要默认 240 字。

radar_potential

潜力新闻(opt-in):用现有扫描 + 历史 run 的「新增独立源」做数值预排,返回 8–12 条候选,交给模型判断谁最可能成为今天的爆点。

不传这个工具时 radar_scan 的返回完全不变;默认 5 分钟内直接复用上一次 run,不重复抓取。适合凌晨热度还没起来、按「已传播」排不出东西的时候。

返回 candidates(score/signals/why)与 meta(degraded/caveat)。caveat 固定为「未验证」,不要写成已确认新闻;不要与 core/watch 混排。

radar_checkA

发布前自检:关联度(方向性覆盖)+ 补搜条目打分,一次调用。 硬约束:量的是准备发布的条目(bucket=core 或显式 entries),不要传全池;关键词 ≤ 8;补搜条目 ≤ 10 且必须带 url;<0.6 必须重查后再写。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
source registry42 个源、三路分类、13 条已知死路
state & source health状态库统计 + 连续空源黑名单
recent runs最近的扫描记录(run_id / 时间 / 统计)

TDQS

A4/5.0

Scored across 3 tools

Disambiguation5/5

The three tools form a clear pipeline: radar_scan for discovery/scoring, radar_pack for detail retrieval when the digest is insufficient, and radar_check for pre-publish verification. Each has a distinct role and explicit usage conditions, so an agent can easily tell them apart.

Naming Consistency5/5

All tool names follow the same consistent pattern: the `radar_` prefix followed by a verb (`scan`, `pack`, `check`) in snake_case. There is no mixing of conventions or vague naming.

Tool Count5/5

Three tools is well-scoped for a focused trend-scouting pipeline. Each tool corresponds to a distinct stage (collect/score, fetch details, verify) and none feels redundant or extraneous.

Completeness4/5

The set covers the core workflow: discovering trends, retrieving details, and validating before publication. A minor gap exists in source management (e.g., no explicit tool to list available domains or sources), but this does not block the primary purpose of preparing brief material.

Maintenance

ActivityMaintained
ResponsivenessNo issues