Skip to main content
Glama

Bot Detector

BotDetector
Read-only

Bot Detector: Bot Detector analyzes user agent strings to identify bots, crawlers, and automated software. It matches against a database of known bots and adds heuristics that catch automated clients not in the database, returning the bot's category, reputation and a composite risk score. Useful for security, analytics, and access control. (Cost: 10 credits)

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": {
      "ua": "<ua>"
    },
    "name": "BotDetector"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipNoOptional IP the request came from. When the user agent claims to be a Google, Bing, OpenAI or Apple crawler, it is checked against that operator's published IP ranges
uaYesThe user agent string to analyze (URL encoded)

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, non-destructive, open-world lookup. The description adds useful behavior beyond that: it uses a known-bot database plus heuristics, returns category, reputation, and a composite risk score, and costs 10 credits. It does not discuss accuracy limits or error cases, but the added context is substantial.

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?

The description is compact and front-loaded, with the core function stated first and supporting details following. It slightly wastes space by repeating the tool title at the start and includes a generic list of use cases, but overall it remains efficient.

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?

Given the simple two-parameter schema, complete schema descriptions, explicit annotations, and an output schema, the description covers what the agent needs: what it does, how it detects bots, what it returns, and the cost. No essential calling context 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?

The schema fully documents both parameters, including the optional IP check against crawler operator ranges. The description does not add parameter-level meaning beyond what the schema already provides, so the baseline score for high schema coverage applies.

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 clearly states the specific action: analyzing user agent strings to identify bots, crawlers, and automated software. It also explains the mechanism and outputs, making the purpose concrete. However, it does not explicitly differentiate itself from nearby tools such as UserAgentParser or VPNProxyDetector, so it falls short of full sibling-level clarity.

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

Usage Guidelines3/5

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

The description offers broad use cases such as security, analytics, and access control, which imply when the tool is useful. It does not give explicit when-to-use versus alternative guidance, exclusions, or routing to related tools like UserAgentParser or TorNodeDetector.

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.