Skip to main content
Glama

robots.txt from a log

robots_from_log
Read-onlyIdempotent

FIRST CALL, needs nothing: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"no_arguments_triage_this_hosts_own_crawler_log","arguments":{}}} — A robots.txt naming only the crawlers in your log, each with its request count and cost of blocking, plus a warning for any that do not documentably obey it — there the file is a request, not enforcement. Example: log='412 GPTBot/1.2', stance='block-ai-training' blocks GPTBot only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logYesThe log text.
stanceNoDefault block-ai-training.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already mark the tool as read-only, idempotent, and non-destructive. The description adds meaningful behavioral context by explaining that the output 'is a request, not enforcement' and that only crawlers present in the log are named, which clarifies the tool's effect and limitations beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with an unrelated invocation of a sibling tool, which is noise and confusion. The useful explanation of the robots.txt behavior and the example are buried after that; the first part should be removed or clearly marked as a prerequisite workflow step.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The core output behavior is explained and an example is provided, but the description does not specify the expected log format beyond one example and does not clarify the semantics of the other stance enum values. The misleading 'FIRST CALL' instruction also creates a gap in understanding the tool's actual prerequisites.

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%, but the schema descriptions are minimal. The description adds value by giving a concrete example mapping log='412 GPTBot/1.2' and stance='block-ai-training' to the output 'blocks GPTBot only,' clarifying how the log and stance interact. It doesn't explain every stance enum value, but the example provides practical semantics.

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 makes clear that the tool produces a robots.txt restricted to crawlers found in the provided log, including request counts, blocking costs, and warnings. It distinguishes itself from siblings like waf_ruleset_from_log by naming the exact output artifact and its log-derived scope, though it lacks an explicit verb such as 'generates' or 'creates.'

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description opens with a full JSON-RPC invocation for no_arguments_triage_this_hosts_own_crawler_log and says 'FIRST CALL, needs nothing,' which is actively misleading for a tool that requires the 'log' parameter. It provides no guidance on when to choose this tool over siblings such as triage_log or waf_ruleset_from_log.

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