Calculate CTR from supplied search aggregates
maestro_calculate_ctrCalculates click-through rate as clicks divided by impressions, expressed as a percentage, using supplied counts from the same search source, period, and filters.
Instructions
Calculate clicks divided by impressions, as a percent. All numbers are supplied in the request and must represent the same search source, period and filters. No external queries or stored credentials.
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": {
"clicks": "<clicks>",
"impressions": "<impressions>"
},
"name": "maestro_calculate_ctr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clicks | Yes | Total search-result clicks from one search source and reporting period. | |
| impressions | Yes | Total search-result impressions for that exact source, period and filters. |