get_analytics looks at responses started in the last days days (default 30) and reports how many were completed, the share of started responses that were completed, the average time to complete and revenue per currency.
total_views is the form's all-time view count. Revenue counts paid responses (amount times quantity) minus partial refunds, and leaves out fully refunded ones. The average time only uses responses completed within 24 hours of starting. Abandoned checkouts are reported separately.
Behaviour
- Read-only. It reads data and changes nothing.
- Idempotent. Running it again with the same input changes nothing more.
- Closed world. It only works inside your own Fantastic Forms account.
When to use it
- "How is my form doing?"
- Compare periods (run it with different
days). - Check revenue from a paid form.
Use another tool instead:
list_submissionsfor the answers themselves.get_poll_resultsfor vote counts.get_fundraising_totalsfor fundraising goal progress.
Parameters
| Parameter | Type | Required | Details |
|---|---|---|---|
form_id | string | Yes | The form's UUID or short id (the last part of its link, e.g. AbCd in fantasticforms.com/f/AbCd). |
days | integer | No | Lookback window in days (default 30, max 365). (min 1, max 365) Default 30, from 1 to 365. |
What it returns
The result is sent as JSON text in the tool result's content. Its fields:
form_id, form_title: The form.window_days: The window used.total_views: All-time views of the form.submissions: Completed responses (including refunded and disputed) started in the window.abandoned_checkouts: Responses that stopped at payment.completion_rate_pct: Completed as a percentage of responses started in the window.revenue: Per currency, e.g.{"USD": 1250.0}.avg_completion_seconds: Average time to complete, or null.
Step by step
- The assistant calls
get_analyticswith the window you asked about. - It explains the numbers, and can compare with another window.
Use cases
Weekly check
"How did my contact form do this week?" uses days: 7.
Revenue
"How much did the workshop form take in the last 90 days?"
Drop-off
A low completion rate suggests a form that's too long.
Example prompts
- "How is my Customer Feedback Survey doing this month?"
- "How much revenue did my order form make in the last 90 days?"
Example call
The request an assistant sends to https://fantasticforms.com/api/mcp:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_analytics",
"arguments": {
"form_id": "Kp7Q",
"days": 30
}
}
}
The result (ids and values are examples):
{
"form_id": "6f1c2e8a-4b7d-4c3e-9a12-5d8e0f3b7c41",
"form_title": "Customer Feedback Survey",
"window_days": 30,
"total_views": 212,
"submissions": 15,
"abandoned_checkouts": 0,
"completion_rate_pct": 88.2,
"revenue": {},
"avg_completion_seconds": 74.5
}
Errors and how to fix them
Problems come back as a tool result with isError: true and a message the assistant can act on.
| Message | What to do |
|---|---|
| Form not found | The id is wrong, or the form belongs to another account (the message is the same either way). Run list_forms to get the right id. A UUID, a short id or the form's full link all work. |
Notes and limits
- Read-only. Looks at up to 20,000 responses in the window.
- On the Free plan, each call counts toward the 1,000 API and AI assistant calls a month; Pro is unlimited.
Related tools
list_submissionsRead a form's responses, newest first or ranked by lead score, with every answer labelled by its question.
get_poll_resultsGet vote counts and percentages for every poll field on a form, including polls hidden from respondents.
get_fundraising_totalsGet each fundraising goal's amount raised, goal, currency, donor count and recent supporters.