list_goals
Lists every goal defined for a site along with conversion count and rate over a specified date range. Helps answer questions about goal performance and identify trends.
Instructions
ANSWER FIRST for 'what's my conversion rate?', 'how many signups this week?', 'show me my goals', 'are my conversions up or down?'. Lists every goal defined for a site with conversion count + rate over the date range. Pair with create_goal first if the user hasn't defined any goals yet.
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": {
"site_id": "<site_id>"
},
"name": "list_goals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | Internal site UUID for the target site. Get one from list_sites. | |
| date_range | No | Time window. One of: today, yesterday, last_7_days, last_14_days, last_30_days, last_90_days. Defaults to last_7_days. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goals | Yes | Goals with their conversion counts and rates over the range. |