Skip to main content
Glama

Bot traffic

onelence_get_bot_traffic
Read-onlyIdempotent

Which bots, crawlers and AI agents visit the site: visitors and events by traffic class and category, the most active identified crawlers and a daily series. For how AI assistants read the site and send visitors, use onelence_get_ai_visibility. Needs a plan with AI visibility.

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": "onelence_get_bot_traffic"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoWindow end, inclusive for a date. Defaults to now.
siteNoSite domain (e.g. example.com) or site id. Defaults to the workspace's newest active site.
startNoWindow start: a date (YYYY-MM-DD) or ISO 8601 date-time. Defaults to 30 days before end.
response_formatNoconcise (default) keeps what is needed to answer and to chain the next call; detailed returns every field.

Output Schema

NameRequiredDescriptionDefault
noteYes
siteYes
objectYes
seriesNo
windowYes
classesYes
bot_poolYes
crawlersYes
not_keptYes
categoriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "bot_pool": {
      +      "anyOf": [
      +        {
      +          "properties": {
      +            "note": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "renews_at": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "used_up": {
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "used_up",
      +            "renews_at",
      +            "note"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "categories": {
      +      "items": {
      +        "properties": {
      +          "category": {
      +            "type": "string"
      +          },
      +          "events": {
      +            "type": "number"
      +          },
      +          "visitors": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "visitors",
      +          "events",
      +          "category"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "classes": {
      +      "items": {
      +        "properties": {
      +          "class": {
      +            "type": "string"
      +          },
      +          "events": {
      +            "type": "number"
      +          },
      +          "visitors": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "visitors",
      +          "events",
      +          "class"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "crawlers": {
      +      "items": {
      +        "properties": {
      +          "category": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "confidence": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "events": {
      +            "type": "number"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "visitors": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "visitors",
      +          "events",
      +          "id",
      +          "category",
      +          "confidence"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "not_kept": {
      +      "anyOf": [
      +        {
      +          "properties": {
      +            "bots": {
      +              "items": {
      +                "properties": {
      +                  "category": {
      +                    "type": "string"
      +                  },
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "visits": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "category",
      +                  "visits"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "categories": {
      +              "items": {
      +                "properties": {
      +                  "category": {
      +                    "type": "string"
      +                  },
      +                  "kept": {
      +                    "type": "boolean"
      +                  },
      +                  "visits": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "category",
      +                  "kept",
      +                  "visits"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "note": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "categories",
      +            "bots",
      +            "note"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "object": {
      +      "const": "bot_traffic",
      +      "type": "string"
      +    },
      +    "series": {
      +      "items": {
      +        "properties": {
      +          "class": {
      +            "type": "string"
      +          },
      +          "date": {
      +            "type": "string"
      +          },
      +          "visitors": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "date",
      +          "class",
      +          "visitors"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "site": {
      +      "properties": {
      +        "domain": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "domain"
      +      ],
      +      "type": "object"
      +    },
      +    "window": {
      +      "properties": {
      +        "end": {
      +          "type": "string"
      +        },
      +        "start": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "start",
      +        "end"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "object",
      +    "site",
      +    "window",
      +    "classes",
      +    "categories",
      +    "crawlers",
      +    "bot_pool",
      +    "not_kept",
      +    "note"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered. The description adds the plan-entitlement requirement, which is behavioral context not present in the annotations. It stops short of describing volume, latency, or what happens when the plan lacks the feature.

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 the tool returns, followed by the sibling routing and prerequisite. No filler or restatement of the title.

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?

An output schema exists, so return values need not be spelled out, and all four parameters are fully described in the schema. The description supplies the remaining essentials: scope, the alternative tool, and the plan requirement.

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 start/end/site/response_format are already fully documented with defaults and formats. The description mentions the daily series and identifies crawlers but adds no syntax or windowing detail beyond the schema, so the baseline 3 applies.

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 description names a concrete resource set (bots, crawlers, AI agents) and enumerates the exact outputs: visitors and events by traffic class and category, most active identified crawlers, and a daily series. It also explicitly separates itself from onelence_get_ai_visibility, so an agent can distinguish the two without opening a schema.

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

Usage Guidelines5/5

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

It routes the agent explicitly: for how AI assistants read the site and send visitors, use onelence_get_ai_visibility instead. It also states the prerequisite ('Needs a plan with AI visibility'), which is a real gating condition an agent should check before calling.

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.