Feature usage
list_featuresFeatures ranked by use (event count) in a date range, paged. compare_previous adds each feature's count in the equally long period before and the change (the biggest movers), plus stopped: features used before with no events now, which the ranking cannot show and which is the clearest sign something broke. Features are only events with a data-track name or matched by a feature rule; untagged clicks are not features. Dates are the project's calendar days, YYYY-MM-DD (timezone: get_project); timestamps are UTC. Omit from/to for the last 28 complete days, ending yesterday. Today is still in progress: a range including it reads as a drop against complete days. A period marked starts_before_data begins before the project has data (see data_from): those days read as zero, not as a quiet period. Quote counts with every percentage; a big change on a small count is noise, not a finding.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_features"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, YYYY-MM-DD in the project's timezone, inclusive. Default: yesterday, the last complete day. | |
| from | No | First day, YYYY-MM-DD in the project's timezone, inclusive. Default: 27 days before 'to'. | |
| page | No | Page number, from 1. | |
| limit | No | Features per page, 1-100. Default 50. | |
| trait | No | Only count visitors carrying this session trait value. | |
| search | No | Case-insensitive substring of the feature name. | |
| project | No | Project ID, from list_projects. Required when this connection covers more than one project; may be left out when it covers one (and with an API key, which belongs to one project). | |
| sort_by | No | total_events (default) or data_track. | |
| sort_dir | No | desc (default) or asc. | |
| compare_previous | No | Also return each feature's count in the equally long period just before, and the change. |