Skip to main content
Glama
CleanTalk MCP server

CleanTalk MCP server

Official
by CleanTalk

Is this visitor a bot

check_bot
Read-onlyIdempotent

Determine if a visitor is a bot using their IP address and optional Bot Detector token, returning isBot and botExpectation before displaying contacts, granting access, or counting visits.

Instructions

Decide whether a visitor is a bot right now, by IP address and optional Bot Detector event token. Returns isBot and botExpectation (0 to 1). Use it before showing contacts, granting access or counting a visit.

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": {
      "ip": "<ip>"
    },
    "name": "check_bot"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesIP address of the visitor, IPv4 or IPv6
page_urlNoURL of the page the visitor opened
referrerNo
user_agentNo
event_tokenNoBot Detector event token from the visitor's page, if available

Output Schema

NameRequiredDescriptionDefault
isBotYes
reasonYes
botExpectationYesBot probability, 0 to 1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, so the safety profile is covered; the description adds that the judgment is point-in-time and what downstream action it should gate. It omits failure modes, such as behaviour when event_token is missing or how to interpret a middling botExpectation, which keeps it below a 5.

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 with no filler: the decision, the inputs, the return values, then the gating advice in priority order. Every clause carries actionable information.

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 single-decision lookup with an output schema, this covers what to pass, what comes back and when to call it. The only material gap is threshold/interpretation guidance for the returned probability, which the presence of an output schema makes less critical.

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 60%, and the description compensates by identifying the two decision inputs (IP and the optional event token) and their roles, plus the meaning of the 0-1 botExpectation. The remaining visitor-context fields (page_url, referrer, user_agent) are left to the schema and their self-describing names.

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?

The definition opens with a specific verb and resource: 'Decide whether a visitor is a bot right now, by IP address and optional Bot Detector event token.' The subject 'visitor' cleanly separates it from the message-, user-, email- and spam-oriented siblings, and it states the evaluated moment ('right now').

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 gives a clear trigger context: 'Use it before showing contacts, granting access or counting a visit,' which tells the agent where this gate belongs in a flow. It stops short of naming alternatives or exclusions (e.g., when to skip the check), so it is clear context rather than full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.