Count WPForms Entries


Returns the total entry count for a WPForms form, given its form ID. Read-only.

Also known as: how many submissions, number of leads, how many enquiries.

Property Value
Ability slug mosmcp/wpforms-count-entries
Wire tool name mosmcp__wpforms-count-entries
Category Forms & Leads (mosmcp-forms)
Plan Free

 

Required access

Requirement Value
Capability manage_options
Minimum default role Administrator
Requires Contact Form 7 (with Flamingo for stored submissions), WPForms or Gravity Forms — each form plugin's abilities appear only when that plugin is active
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
id integer Yes — The WPForms form ID (required).

 

Output schema

Field Type Required
id integer Yes
count integer Yes

 

Example

Sample prompt
How many entries has my WPForms contact form received?

Example request (json)

{
  "jsonrpc": "2.0",
  "id": 436,
  "method": "tools/call",
  "params": {
    "name": "mosmcp__wpforms-count-entries",
    "arguments": {
      "input": {
        "id": 145
      }
    }
  }
}

Example response (json)

{
  "jsonrpc": "2.0",
  "id": 436,
  "result": {
    "isError": false,
    "structuredContent": {
      "id": 145,
      "count": 87
    }
  }
}

 

Edge cases / errors

  • id missing or 0 → moca_missing_form_id error; a non-existent form returns count: 0.
  • WPForms entry storage unavailable → mosmcp_feature_unavailable error.
  • Returns a single total with no read/unread or trash breakdown.

 


<< Previous Next >>
Count Gravity Forms Entries Delete Contact Form 7 Submission (Flamingo)

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.