Skip to main content
Glama
AlexGreenUK

XS Shlink MCP

by AlexGreenUK

get_visit_stats

Read-onlyIdempotent

Retrieve visit statistics from Shlink with date range, grouping by date, country, city, browser, OS, or referrer, and optional bot exclusion.

Instructions

Get general visit statistics from Shlink.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endDateNo
groupByNo
startDateNo
excludeBotsNo
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, covering safety and idempotency. The description adds the 'general' scope, which hints at aggregate/global statistics, but does not disclose behavioral details such as date-range handling, grouping behavior, or response format. No contradiction with annotations.

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 a single concise sentence, well-structured and free of fluff. However, the phrase 'from Shlink' is arguably redundant and adds little information. It is concise but not information-dense, though it does not suffer from unnecessary verbosity.

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

Completeness2/5

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

Given the tool has 4 optional parameters and no output schema, the description is incomplete. It does not clarify what 'general visit statistics' means, how parameters affect the result, or what the return structure looks like. Annotations help with safety, but functionality remains underspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 4 parameters with 0% description coverage. The description does not mention or explain any parameters like startDate, endDate, groupBy, or excludeBots. Property names are somewhat self-explanatory, but the description adds no semantic value, so it fails to compensate for the lack of schema descriptions.

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 tool retrieves visit statistics, with a specific verb ('Get') and resource ('visit statistics'). The word 'general' distinguishes it from more specific visit tools like get_short_url_visits, though it is somewhat ambiguous about whether it covers all visits or just a subset.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus sibling tools such as get_short_url_visits, get_tag_visits, or get_domain_visits. There is no mention of alternatives or exclusion criteria.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AlexGreenUK/XS-Shlink-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server