Skip to main content
Glama

Form statistics

form_stats
Read-only

Count currently stored completed responses and, when your plan permits partial responses, started responses. Started means an existing incomplete response, not a page visit. Deleted responses are excluded. These are response counts, not unique visitors, billing usage, or conversion analytics.

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": {
      "form_id": "<form_id>"
    },
    "name": "form_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
form_idYesForm UUID returned by list_forms or create_form.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds genuinely useful behavioral context the annotations cannot: deleted responses are excluded, partial/started responses are plan-gated, and 'started' means an incomplete response rather than a page visit. It stops short of describing the shape of the returned counts (e.g. per-field or per-response counts) and there is no output schema to cover that gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the core action, then the plan-conditional nuance, then the negative-scope disclaimers. Every sentence carries distinct information: counting scope, the meaning of 'started', and what the numbers are not.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read-only counting tool with full schema coverage and annotations carrying the safety profile, the definition covers the questions that actually create ambiguity: which responses count, what 'started' means, and what the numbers must not be interpreted as. Nothing an agent needs to select or invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one parameter exists and the schema documents it at 100% coverage, including where the UUID comes from (list_forms or create_form). The description adds nothing about form_id, but with a single fully documented parameter there is no semantic gap to fill, so the baseline-3 penalty does not apply and the definition is close to adequate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: counting stored completed responses (plus started responses where the plan permits) for a given form. It is plainly not a listing or analytics tool, though it never explicitly contrasts itself with a sibling such as list_responses, which would have made differentiation airtight.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Scope boundaries are made explicit: these are response counts, 'not unique visitors, billing usage, or conversion analytics', which tells the agent when this tool is the wrong one. What is missing is a positive pointer to the alternative (e.g. list_responses for individual response records), so the routing is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources