Skip to main content
Glama

Get AI access

get_ai_access
Read-onlyIdempotent

Use this tool when the user asks whether ChatGPT, Claude, Perplexity, Gemini or another AI reads their landing page (ランディングページ, ホームページ, Webサイト), which AI crawlers fetched it, or how many visitors AI assistants sent (「AI に読まれている?」「ChatGPT から来た人は?」).

Returns one page's AI access for 7d, 30d (default), or 90d; 180d, 365d, and all need Pro or MAX, as the other long periods do (AI reads were first recorded on 2026-10-25, so their days start there at the earliest; referrals cover the whole period, read from the long-term daily summaries for 180d, 365d, and all).

  • totals: ai (answer + crawl), answer (an AI opened the page because a person asked it something right then: ChatGPT-User, Claude-User, Perplexity-User…), crawl (AI crawlers: GPTBot, ClaudeBot, OAI-SearchBot, PerplexityBot…), and search (bingbot and Applebot, search crawlers that also feed Copilot and Apple's features, never counted in ai).

  • verification: the fetches by IP address check, each with the same four numbers. verified: from an IP address the agent's vendor publishes. noList: not checked (the vendor publishes no list, its list has no ranges of the IP address's family or wasn't refreshed for a week, or the fetch was recorded before the check); not checked doesn't mean fake. unverified: the vendor's current list covers that IP address family and the IP address isn't on it. unverified.ai ("self-named only", typically a scanner) is left out of totals and every list; unverified.search (bingbot, Applebot) stays counted, informational only. totals = verified + noList + unverified.search.

  • byVendor, byToken (each agent's User-Agent token: fetches counted, verified among them, unverified flagged, outside fetches except for search crawlers), byPath (site and path, no query), byDay.

  • referrals: visitors and pageviews whose utm_source or referrer names an AI assistant (ChatGPT, Perplexity, Claude, Gemini, Copilot, Grok, DeepSeek, Meta AI), with byAssistant. Assistants' apps send no referrer, so this is a floor. startDate and endDate are the days counted; coversPeriod false means a longer period could only be read for its last 90 days. visitorsMethod: unique_in_period (7d, 30d, 90d) or sum_of_daily_uniques (180d, 365d, all: each day's visitors added up, so someone who came on 3 days counts 3 times, as in the other long-term visitor counts). available false means page views couldn't be read right now, not zero.

  • liveDaysAvailable: today's and yesterday's AI reads are read live; false means they couldn't be read right now, not zero, so the totals leave those two days out. Agents are named by what the requests' User-Agents claimed; where the vendor publishes its IP addresses (OpenAI, Perplexity, Anthropic, Microsoft, Apple, DuckDuckGo, Google), each fetch is checked against them and the IP address is never stored. Only fetches of the live page are counted (not robots.txt or the sitemap). AI reads and referrals are on the workspace's days (fetchDayTimeZone, referralTimeZone; UTC when none is set); referrals for 180d, 365d, and all are on the days the daily summaries are cut in, which follow a zone change once it has finished rebuilding, as get_analytics_summary's long periods do. Right after the workspace's zone changes, AI reads stay in the earlier zone, as fetchDayTimeZone says, until an hourly run re-reads the page; fetchDayTimeZoneSince, when set, is the first day in fetchDayTimeZone, and earlier days are in the zone before. Neither is a page view or a visitor in get_analytics_summary.

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": {
      "siteId": "<siteId>"
    },
    "name": "get_ai_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoTime period. Defaults to 30d. 180d/365d/all require Pro or MAX plan.30d
siteIdYesThe ID of the page to read AI access for

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • changedInput schema / properties / siteId / description
      Previous value: -"The ID of the site to read AI access for"New value: +"The ID of the page to read AI access for"
  3. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, but the description adds substantial context: data starts 2026-10-25, long periods require Pro/MAX, IPs are never stored, only live-page fetches count, and timezone/rebuild edge cases apply. The only gap is that it does not describe latency or rate limits, which is minor for a read tool.

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?

Front-loaded with the usage sentence, then a returns overview, then clearly delimited bullet sections for totals, verification, breakdowns, referrals and live days. It is long, but with no output schema the length is largely earned by the nested return payload; a few clarifications (e.g. “not checked doesn't mean fake”) verge on over-explanation.

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 tool returning a deeply nested object with no output schema, the description covers aggregation semantics, verification tiers, referral limits, plan gating and timezone caveats comprehensively. An agent has enough to call it and interpret the result correctly.

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

Parameters4/5

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

Schema coverage is 100% and the period doc already states the Pro/MAX gating, so the baseline would be 3. The description goes further by explaining what changes per period: visitorsMethod switches to sum_of_daily_uniques for 180d/365d/all and coversPeriod=false signals a truncated read, which meaningfully informs parameter choice.

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?

Opens with a concrete usage trigger naming the exact question the tool answers (does ChatGPT/Claude/etc. read this page, which crawlers fetched it, how many visitors came from AI assistants) and closes by distinguishing itself from get_analytics_summary. An agent can tell what it returns and what it is not.

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?

Gives explicit when-to-use trigger phrases in both English and Japanese, states which period values need Pro/MAX, and notes that its numbers are neither page views nor visitors in get_analytics_summary, which routes the agent to the alternative. Nothing about selection 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.