Skip to main content
Glama

Word of Agent

Which AI crawlers fetched which pages

get_crawler_visits
Read-only

From the site's own Cloudflare zone (connected in Settings with a token the owner pastes; never ask for it in chat; while it isn't connected, connect gives what it reads, the pre-filled token link and the steps to give the owner): for about the last 30 days, each crawler that came (AI and search), its requests, pages, the requests turned away (blocked, challenged or rate-limited: 401, 403, 429, 503) and other errors with their pages, when it was last seen and its top pages; and neverFetched, pages in the latest crawl no AI crawler fetched. Say limits: counted by the user agent each request gives, since Cloudflare verifies bots only on Enterprise plans, so call them "requests that say they are GPTBot". connected false: the site isn't on Cloudflare or not connected; say so and nothing else. Requests using crawler names for paths that aren’t pages (.env and other dot-files, credentials and config files, admin and backup files, WordPress paths on a site without WordPress, whatever they answered) are probes by scanners: under probes, never in a crawler’s totals. impostors counts refusals on paths where the same name also got through; say its says line, not that the crawler is blocked. Each crawler has days (requests and turned away, day by day) and lastTurnedAway, and each error page its last day, so a change in Cloudflare can be checked the next day. counting is the date of the counting rules used; every call recounts the stored rows, so an older answer with an earlier counting date is out of date. A crawler turned away on real pages while robots.txt allows it is also an access finding (access.cloudflare.turned-away). On the paid plan.

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": "<site>"
    },
    "name": "get_crawler_visits"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Well beyond the annotations, it discloses the 30-day window, the user-agent spoofing caveat (Cloudflare verifies bots only on Enterprise, so phrase as "requests that say they are GPTBot"), that scanner probes on .env/config/admin paths are excluded from crawler totals, what `impostors` actually means, and the day-by-day and lastTurnedAway granularity. It also explains freshness semantics: `counting` is the rules date and every call recounts stored rows, so an older answer is stale, and that refusals on robots-allowed real pages surface as an access finding.

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?

No — see below.

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?

An output schema exists, so return shape needn't be re-explained, yet the definition still supplies the field semantics an agent needs to interpret `probes`, `impostors`, `days`, `lastTurnedAway` and `counting` correctly. Prerequisites, plan gating, degradation behavior and staleness are all covered. Only the `site` parameter's expected format is left unaddressed.

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

Parameters2/5

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

Schema description coverage is 0% for the single required `site` parameter, and the description never says what form it takes (domain, zone name, internal site id) or how it is resolved. With one undocumented parameter the description had to compensate and does not, so the agent must guess at the identifier format.

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 definition names a concrete resource and enumerates exactly what comes back per crawler (requests, pages, turned-away requests with status codes, last seen, top pages), plus neverFetched, probes and impostors. It is unmistakably about AI/search crawler traffic on a Cloudflare zone. It never contrasts itself with adjacent siblings such as get_pages or get_analytics, so it stops short of full sibling differentiation.

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 gives real routing context: while the zone isn't connected, the agent should defer to `connect` and relay the pre-filled token link rather than asking for the token in chat; if `connected` is false the agent is told to say so and nothing else; and the tool is gated to the paid plan. What's missing is any explicit alternative when the site isn't on Cloudflare at all or when the agent wants page-level rather than crawler-level 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