Semantic Topic Clustering & Subgraph Taxonomy Synthesizer
cluster_topic_subgraphsDiscovers latent thematic clusters, subtopic branches, and conceptual relationships across document corpora. Use when structuring broad search results into distinct thematic silos or generating table of contents taxonomies; for tracking chronological milestones, use summarize_temporal_timeline instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'documents_or_queries' ('clustering_method' defaults to 'tf_idf_semantic_graph'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"documents_or_queries": "<documents_or_queries>"
},
"name": "cluster_topic_subgraphs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_clusters | No | Maximum number of thematic cluster groups to partition data into. | |
| clustering_method | No | Thematic clustering algorithm: TF-IDF semantic graph, centroid k-means, or hierarchical taxonomy. | |
| documents_or_queries | Yes | Newline-separated list or JSON array of text snippets, queries, or article abstracts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clusters | Yes | List of identified topic clusters with representative labels and member documents. | |
| total_nodes | Yes | Total number of items successfully clustered into the taxonomy. | |
| modularity_score | Yes | Clustering partition modularity metric indicating distinctness of clusters. |