Skip to main content
Glama

asksteps: statistics for one published form

asksteps_get_form_stats
Read-onlyIdempotent

Returns visits, completions and drop-off for one published form. Requires "forms:read". Get the publication id from asksteps_list_forms first.

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": {
      "publication_id": "<publication_id>"
    },
    "name": "asksteps_get_form_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNoTime range: "7d", "30d" or "90d". Defaults to 30 days.
publication_idYesThe publication id, as returned by asksteps_list_forms.

Output Schema

NameRequiredDescriptionDefault
noteYesOne sentence for the user. Empty when there is nothing to say.
statsNoVisits, completions and drop-off for the publication, plus what these numbers are worth (field "notes"). Absent unless status is "ok".
statusYesOutcome. One of: "ok", "not_connected", "not_found" (no statistics for this publication id). Authorisation can also refuse before the tool runs: "plan_required" (the account's plan does not include agent access), "not_enabled" (the account owner has not switched agent access on), "permission_denied" (the connected user's role lacks the permission; the note names it), "mandate_required" (the owner has not granted a mandate for this). The note then says what the user has to do.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / status / description
      Previous value: -"Outcome. One of: \"ok\", \"not_connected\", \"not_found\" (no statistics for this publication id). Authorisation can also refuse before the tool runs: \"plan_required\" (the account's plan does not include agent access), \"not_enabled\" (the account owner has not switched agent access on), \"owner_required\" (only the account owner may do this), \"mandate_required\" (the owner has not granted a mandate for this). The note then says what the user has to do."New value: +"Outcome. One of: \"ok\", \"not_connected\", \"not_found\" (no statistics for this publication id). Authorisation can also refuse before the tool runs: \"plan_required\" (the account's plan does not include agent access), \"not_enabled\" (the account owner has not switched agent access on), \"permission_denied\" (the connected user's role lacks the permission; the note names it), \"mandate_required\" (the owner has not granted a mandate for this). The note then says what the user has to do."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world behavior, so safety is covered. The description adds non-obvious operational context: the forms:read authorization requirement and the dependency on a prior list call to resolve the id. It does not discuss rate limits or behavior for unpublished forms.

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 that front-load what is returned, then auth, then the prerequisite. No filler or redundancy; every sentence carries selection-relevant information.

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 two-parameter read tool with an output schema and rich annotations, the description covers purpose, required scope, and the id-resolution prerequisite. Nothing an agent needs in order to call it correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are already documented, including the range values and default. The description only restates where publication_id comes from, adding little beyond the schema's own "as returned by asksteps_list_forms" wording, and never mentions range.

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

Purpose5/5

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

States a specific verb and resource with named metrics: returns visits, completions and drop-off for one published form. The scope qualifier "one published form" also distinguishes it from multi-form listing or funnel-level stats without the agent needing to open the schema.

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?

Gives a concrete prerequisite workflow: obtain the publication id from asksteps_list_forms first, and states the required scope. It does not name a when-not-to-use condition or an alternative for other kinds of analytics, so it falls short of explicit routing guidance.

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