Skip to main content
Glama

Page views and leads

get_page_stats
Read-onlyIdempotent

Use this when the user asks how a page performs. Returns views, leads, conversion rate, button clicks, sources, daily numbers and how many leads failed to reach the person. Lead contact details are not stored or returned. Changes nothing.

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": {
      "page_id": "<page_id>"
    },
    "name": "get_page_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoPeriod length, default 30
page_idYespage_id from list_landing_pages or draft_landing_page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so "Changes nothing" is largely redundant. The genuinely additive disclosure is the privacy behavior — lead contact details are neither stored nor returned — plus the note that failed lead deliveries are surfaced, which an agent could not infer from the schema or annotations.

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

Conciseness4/5

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

Three short sentences, front-loaded with the usage trigger and followed by the return contents and the privacy caveat. "Changes nothing" duplicates the readOnlyHint annotation and is the one sentence that does not earn its place.

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

Completeness4/5

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

With no output schema, the description correctly carries the burden of listing return values, and it does so thoroughly. Minor gaps remain — freshness/real-time behavior of the daily numbers and how the days window maps to reported periods are unstated — but the tool is simple and two well-documented parameters leave little else an agent needs.

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%, with page_id's provenance (from list_landing_pages or draft_landing_page) and days' default already documented in the schema. The description adds no further parameter meaning, so the baseline of 3 applies.

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?

The description names a specific resource and enumerates the returned metrics (views, leads, conversion rate, button clicks, sources, daily numbers, failed lead deliveries), which clearly separates it from page-management siblings such as get_landing_page or update_landing_page. It never explicitly names a sibling to contrast with, so it falls just short of a 5.

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?

"Use this when the user asks how a page performs" gives a concrete triggering condition that an agent can match against a user request. It stops short of stating when NOT to use it or which sibling to pick for configuration data versus performance data.

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