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-only
WPForms Forms wpforms/get-form-stats

Get 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.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.