Skip to main content
Glama

Get Top Pages Engagement Funnel

get_pages_funnel
Read-onlyIdempotent

Rank landing and content pages by clean human unique visitors, dwell time, scroll depth, conversion rate, and JS errors to assess page-level performance.

Instructions

Rank landing and content paths by clean human UV alongside dwell time, scroll depth, goal conversion rate, and JS error counts. Use for page-level performance; for multi-step funnels or non-page dimensions, use get_funnel_report or get_breakdown. Read-only via read token; excludes bot traffic.

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": {
      "site_id": "<site_id>"
    },
    "name": "get_pages_funnel"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoLookback window relative to now (default "7d").7d
site_idYesPrismUV site slug identifier (e.g. "prismuv-abc123") returned by list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.1
    • addedInput schema / properties / period / default
      Added value: +"7d"
    • addedInput schema / properties / period / description
      Added value: +"Lookback window relative to now (default \"7d\")."
    • addedInput schema / properties / site_id / description
      Added value: +"PrismUV site slug identifier (e.g. \"prismuv-abc123\") returned by list_sites."
  2. First observedv0.1.0

TDQS

A4.4/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 the safety profile is covered. The description still adds real context: a read-token auth requirement and the exclusion of bot traffic (echoed in 'clean human UV'), which materially affects interpretation of the numbers. It stops short of describing result size or ranking limits.

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 tight clauses: what it ranks, when to use it versus siblings, and operational constraints. Front-loaded with the core action, zero filler.

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?

Complete for a two-parameter read-only tool with full schema coverage and no output schema; metrics, scoping, and bot exclusion are all covered. The only minor gap is that 'Top' suggests a bounded result set whose size/default window handling isn't stated.

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 site_id (site slug from list_sites) and the period enum are already fully documented in the schema. The description adds no syntax or format detail beyond that, so the baseline 3 applies.

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 ('Rank') and resource ('landing and content paths') plus the exact metric set returned (UV, dwell time, scroll depth, conversion rate, JS errors). This is far more specific than the title alone and lets an agent distinguish it from generic breakdown tools.

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

Usage Guidelines5/5

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

Explicitly scopes use to page-level performance and names the alternatives (get_funnel_report, get_breakdown) with the condition that selects them (multi-step funnels or non-page dimensions). Nothing is left to inference.

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