Skip to main content
Glama

datasets_llms_facets

Read-only

Return value counts for one facet of the llms.txt dataset. Requires facet: state, source_kind, generator, bot, policy, tld, category, robots_state, robots_default, blocked_crawler, partial_crawler, content_signal_train, full_state or home_status; it accepts the same filters as datasets_llms_search, and run_id defaults to the latest run. Counts include blocked or errored probes, which are unknown rather than absent, so filter state=present or absent for definite counts. Use datasets_llms_item for one domain's record.

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": {
      "facet": "<facet>"
    },
    "name": "datasets_llms_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional substring match on the site domain, max 256 characters.
botNoOptional AI crawler named inside a valid /llms.txt, e.g. GPTBot, ClaudeBot. See facet=bot for the values.
tldNoOptional exact top-level-domain filter, e.g. com, org, io.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: relevance, rank_asc, links_desc, bytes_desc, domain_asc, crawled_desc. Defaults to relevance with q or text, otherwise rank_asc.
textNoOptional full-text match on the llms.txt title and summary, max 256 characters.
facetYesRequired facet to aggregate. Allowed values: state, source_kind, generator, bot, policy, tld, category, robots_state, robots_default, blocked_crawler, partial_crawler, content_signal_train, full_state, home_status.
stateNoOptional /llms.txt state. Allowed values: present, absent, blocked, error, skipped. blocked and error mean unknown, not absent.
validNoOptional filter; true keeps only sites serving a valid /llms.txt, false keeps the rest.
run_idNoOptional scan run id; defaults to the latest run.
categoryNoOptional exact category label carried by the source list. The top-1M run has none, so this is empty for it.
generatorNoOptional generator detected in a valid /llms.txt. Allowed values: yoast, aioseo, rankmath, wix, shopify, parked.
injectionNoOptional filter for a valid /llms.txt containing instruction-override text aimed at AI readers.
min_linksNoOptional minimum number of links in a valid /llms.txt, 0 or greater.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
reachableNoOptional filter; true keeps only sites whose homepage control request answered, false only sites that did not.
blocks_allNoRepeatable AI crawler that robots.txt must block (AND). Allowed values: GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User, anthropic-ai, Google-Extended, PerplexityBot, Perplexity-User, CCBot, Bytespider, Applebot-Extended, Amazonbot, meta-externalagent, cohere-ai, Diffbot.
blocks_anyNoRepeatable AI crawler; robots.txt must block at least one (OR). Same allowed values as blocks_all.
full_validNoOptional filter; true keeps only sites serving a valid /llms-full.txt.
not_blockedNoRepeatable AI crawler that robots.txt must NOT block. Same allowed values as blocks_all.
placeholderNoOptional filter for a valid /llms.txt that still holds template placeholder text.
source_kindNoOptional producer of a valid /llms.txt. Allowed values: shopify_agent_template, seo_plugin, platform_default, parked, custom.
home_blockedNoOptional filter for sites whose homepage was walled off from the scan (a block or challenge).
mentions_mcpNoOptional filter for a valid /llms.txt that mentions the Model Context Protocol.
robots_stateNoOptional /robots.txt state. Allowed values: present, absent, blocked, error, skipped.
all_ai_blockedNoOptional filter; true keeps only sites whose robots.txt blocks all 17 tracked AI crawlers.
robots_defaultNoOptional default stance of robots.txt toward AI crawlers. Allowed values: allowed, partial, blocked.
mentions_openapiNoOptional filter for a valid /llms.txt that mentions OpenAPI or Swagger.
is_infrastructureNoOptional filter; false (the common case) excludes backend CDN/DNS/cloud-vendor hostnames that rank highly but serve no public homepage; true keeps only those.
min_train_blockedNoOptional minimum number of AI training crawlers (of 11 tracked) that robots.txt blocks, 0 or greater.
content_signal_trainNoOptional Content-Signal ai-train value declared in robots.txt. Allowed values: yes, no.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / category / description
      Previous value: -"Optional exact category filter from the source ranking list."New value: +"Optional exact category label carried by the source list. The top-1M run has none, so this is empty for it."
  2. Added

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds real behavioral context the annotations do not: counts lump in blocked/errored probes that are unknown rather than absent, and run_id silently defaults to the latest run. With annotations carrying the safety profile, a 3 is appropriate, though it does not describe how facet counts paginate despite page/page_size being present.

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?

A single front-loaded paragraph: purpose first, then requirement, then the semantic caveat, then the sibling pointer. The inline enumeration of fourteen facet values duplicates the schema and is the only wasteful stretch, but the remaining sentences each earn their 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?

For a 31-parameter aggregation tool with full schema coverage and an output schema, the description supplies the one thing structured fields cannot: that counts conflate unknown with absent unless you filter. It could say more about how the shared filter set interacts with aggregation (e.g., whether counts are computed over the filtered population), but nothing an agent needs to invoke it correctly is missing.

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 the baseline is 3. Most of the description's parameter content (the facet enumeration, run_id default) merely restates the schema; only the cross-reference that filters mirror datasets_llms_search and the unknown-vs-absent caveat add value, and even that caveat is duplicated in the state parameter's own description.

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 specific verb and resource ("Return value counts for one facet of the llms.txt dataset") and immediately scopes the operation to a single required facet. It also names the sibling tools it is not (datasets_llms_item for one record, datasets_llms_search for the shared filter set), so an agent can distinguish it from its neighbors without opening any schema.

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?

Gives a concrete when-to-use alternative ("Use datasets_llms_item for one domain's record") and a critical when-to-filter rule (use state=present or absent for definite counts). What is missing is an explicit statement of when to prefer this over datasets_llms_search for aggregates; the search reference is about shared filter syntax rather than routing.

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.