Get Form Stats is a WordPress ability from WPForms — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Get Form Stats
Read-onlyGet basic stats for a form; detailed entry statistics require WPForms Pro.
Requires the WPForms plugin on WordPress 6.9+ (abilities only register when the wp_register_ability() function exists). Read abilities need the WPForms 'view_forms' or 'view_form_single' capability. The four write abilities (create-form, update-form-settings, add-field, update-field) additionally require the 'Enable MCP Write Access' toggle (the ai-mcp-write-enabled setting under WPForms → Tools → AI MCP) to be turned on, plus the 'create_forms' or 'edit_form_single' capability — without both, they return a 403 error and are hidden from MCP clients entirely.
What it does
In the Lite version of WPForms, this ability confirms a form exists and returns a fixed response indicating entries_available is false, along with a message explaining that detailed entry statistics require WPForms Pro. It still validates the form_id against the site's forms and returns a 404 if the form doesn't exist. This lets an AI assistant give the user an honest answer about why deeper form-submission analytics aren't available, rather than failing silently.
See it in action
You ask your AI assistant
"Get the stats for form 42."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| form_id | integer | Yes | The ID of the form to get stats for. |
Returns
An object with form_id, entries_available (always false in the Lite version), and a message explaining that WPForms Pro is required for detailed entry statistics.
Permission
The current user must have the WPForms 'view_form_single' capability for the given form_id; otherwise a 403 WP_Error is returned.
More WPForms abilities
Add Field
Add a new field of a given type to an existing WPForms form.
Create Form
Create a new WPForms form, optionally pre-populated with fields and settings.
Describe Editing Schema
Discover which field types, field properties, and form settings can currently be created or edited.
Get Form
Get a single WPForms form's metadata, safe settings, and optionally its fields.
List Forms
List WPForms forms filtered by status, with pagination.
Update Field
Update properties of an existing field on a WPForms form.