cluster_keywords
Groups keywords by shared top-10 SERP URLs to identify terms that should target the same page; reads a CSV and writes cluster and overlap outputs.
Instructions
Cluster keywords by SERP overlap. Groups keywords that share 3+ URLs in top 10 results, indicating they should target the same page. Input must be a CSV file with columns: keyword, position, url
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": {
"input_file": "<input_file>",
"output_clusters": "<output_clusters>",
"output_overlap": "<output_overlap>"
},
"name": "cluster_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_file | Yes | Path to input CSV file with SERP data (keyword, position, url columns) | |
| output_overlap | Yes | Path where URL overlap matrix will be saved | |
| output_clusters | Yes | Path where cluster results will be saved |