Skip to main content
Glama

AI crawler robots.txt rules

ai_crawler_policy
Read-only

Builds robots.txt lines that allow or block AI crawlers from BACKLNK's reviewed crawler catalog, with what each line does and warnings. Use a preset (block-training: Block AI training, stay in AI search; block-ai: Block AI crawlers, keep search engines; allow-all: Allow every crawler) or decide per purpose and per crawler token.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ai_crawler_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
presetNo
crawlersNoPer-crawler overrides by token, e.g. { "GPTBot": "allow" }.
languageNoLanguage of the human-readable texts in the answer (summaries, findings, messages): one of en. Ids, codes and field names stay English. Default en.
purposesNoDecision per purpose; purposes not named stay allowed when no preset is given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "Language of the human-readable texts in the answer (summaries, findings, messages): one of en. Ids, codes and field names stay English. Default en.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is set; the description stays consistent by saying it 'builds' lines rather than publishing them. It adds value beyond the annotations by disclosing that the answer includes per-line explanations and warnings, and that the catalog is curated/reviewed. It stops short of saying whether output is preview-only or sample-ready, but nothing contradicts the read-only claim.

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?

Two sentences, front-loaded with what is produced before the how-to-use options. The parenthetical preset list is compact and each item earns its place by disambiguating near-identical preset names.

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 zero-required-param generator with no output schema, the description covers the resource produced, the allowed inputs, the preset shortcuts, and the fact that per-line explanations and warnings come back with the result. The only residual gap, preset-vs-override precedence, is minor for a configuration-planning tool.

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 75%, and the description compensates further by expanding all three preset enum values into concrete meanings and by naming the two alternative decision axes (purpose and crawler token), matching the nested `purposes` object and `crawlers` map. What it does not clarify is precedence when a preset and explicit purposes/crawlers are supplied together.

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 description gives a specific verb and artifact — 'Builds robots.txt lines that allow or block AI crawlers' — plus the source of truth (BACKLNK's reviewed crawler catalog) and the generated payload ('what each line does and warnings'). It is clearly distinct from the fix/check/report siblings, though it names no sibling explicitly.

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 presents two concrete usage modes: pick one of three presets, each with a plain-language consequence ('block-training: Block AI training, stay in AI search'), or decide 'per purpose and per crawler token'. That is enough to choose an approach, but there is no guidance on when not to use this tool or how preset and per-crawler overrides interact.

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.