Skip to main content
Glama

get_page_attention

Read-only

For a Live Visit Feed site: which sections of one page its visitors study, added up from the stored feed events. Pass page, one page's path. Read the limit first: Cromanion stores one feed event per visit, the last one, and its attention table covers one page, the page the visit was on at that event. So the figures come from the visits whose last feed event was on this page. A visit that read the page and then went to another one is not counted, and the figures do not describe everyone who saw the page. Per section: the visits whose event lists it, the total and the median seconds it was on screen, the visits per engagement grade (studied, read, skimmed) and the returns. Under 30 visits the answer gives the count, says enough: false and withholds the sections. visitor_kind is human (the default) or ai_agent; the two are never added together. The window is the last 7 days unless you pass since and until, at most 30 days back, read on the visit's start. A visit judged a bot when it ended, a visit marked as the site's own, and a visit with no stored feed event (a bounce, or a visit made while the feed was off) are not counted. page is matched as the events write it: without query or trailing slash, with an email or a token segment replaced, a numeric id kept; no wildcard. It needs an API key from the developer console and the feed turned on for the site; a conversion site's credential is refused with not_feed_site. 60 calls an hour per key, shared with get_visit and list_agent_visits; every call is on the developer's record before it runs.

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": "<page>"
    },
    "name": "get_page_attention"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesOne page's path, starting with `/`, e.g. /products/the-edge. No host. Matched exactly: no character is a wildcard.
sinceNoISO date. Default: 7 days before `until`. At most 30 days back.
untilNoISO date. Default: now.
visitor_kindNoPeople (default) or AI agents. Never both in one answer.

Output Schema

NameRequiredDescriptionDefault
okYes
noteNoOnly when `enough` is false.
pageYesThe path that was matched, as the events write it.
siteYesThe site's domain.
enoughYesfalse: `sections` is null and `note` says why.
visitsYesVisits in the window whose LAST feed event was on this page. The figures rest on these and no others.
windowYes`{ since, until }` as applied, on the visit's start.
read_meYes
sectionsYesMost-seen first, 30 at most. Each: section, visits, total_seconds, median_seconds, engagement `{studied, read, skimmed}` (visits per grade), returns. Null under `min_visits` visits.
min_visitsYesUnder this many visits the sections are withheld.
visitor_kindYeshuman · ai_agent.
sections_totalNoDistinct sections before the cut at 30. Null when the sections are withheld.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

The description goes well beyond the readOnly/openWorld annotations, disclosing the last-event-per-visit aggregation model, the 30-visit minimum with `enough: false` and withheld sections, exclusions (bots judged at end, own-site visits, bounces, feed-off visits), the default 7-day and 30-day maximum window, and the 60 calls/hour per-key limit with the call being recorded on the developer's record before it runs.

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?

It is front-loaded with the purpose and every sentence contributes a distinct constraint, with no filler or repetition. The middle portion is a dense run-on paragraph, so a little more structural breaks would make it easier to scan.

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?

It gives everything an agent needs to call this correctly and interpret the response, including the `enough: false` shortfall behavior, and it stays silent on structural return details that the output schema already covers. All four parameters and the 30-day cap are addressed.

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

Parameters5/5

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

Schema coverage is complete, so a score of 3 would be the baseline, but the description adds real meaning: path matching has no query string or trailing slash, replaces email/token segments, keeps a numeric id, and has no wildcard. It also explains that since/until default to 7 days unless both are supplied, are capped at 30 days back, and are read on the visit's start.

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?

The first sentence names a specific verb and resource: section-level attention figures for one page, aggregated from stored feed events on a Live Visit Feed site. It is clearly distinguishable from get_visit and list_agent_visits, which are named as sharing a quota but not the same output.

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?

It states the required input (`page`), the prerequisites (API key from the developer console, feed enabled, conversion site refused with not_feed_site), and the quota shared with get_visit and list_agent_visits. The gap: it never explicitly says when to call one of those siblings instead, though routing context is fairly clear.

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