Skip to main content
Glama
linkonda-mcp

linkonda-mcp

Get a short link's click count

get_link_stats
Read-only

Retrieve the total number of times a Linkonda short link was followed by slug, with optional custom-domain support for accurate redirect counts.

Instructions

Return the total number of times a short link has been followed. Linkonda stores no per-visitor information, so there is no geographic, device or referrer breakdown to report. For an A/B split link it also returns each variant's count, but only to the link's owner, through that account's API key (paid plans). Without host it looks the short code up on Linkonda's own short-link host; set host for a link on a custom domain. No API key needed for the total.

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": {
      "slug": "<slug>"
    },
    "name": "get_link_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNoOptional. The hostname of the custom domain the link is on, such as links.example.com, without https:// or a path. Omit it for a link on Linkonda's own short-link host.
slugYesThe link's short code (the part after the domain).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.4
    • addedInput schema / properties / host
      Added value: +{
      +  "description": "Optional. The hostname of the custom domain the link is on, such as links.example.com, without https:// or a path. Omit it for a link on Linkonda's own short-link host.",
      +  "type": "string"
      +}
  2. First observedv0.1.3

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true; the description adds substantial context beyond that: no per-visitor data is stored, so no geo/device/referrer breakdown exists, and A/B variant counts are owner-only via the account API key on paid plans. The auth tiering and data-availability limits prevent wasted or failing calls.

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?

Front-loaded with the core behavior, then the limits, then the parameter conditions. Every sentence carries information, though the host explanation at the end partially duplicates what the schema already states.

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?

There is no output schema, and the description fully covers the return shape: an aggregate total plus per-variant counts for A/B links. Combined with the auth and data-availability notes, an agent has everything needed to call it and interpret the result.

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 coverage is 100%, so both parameters are already documented in the schema. The description restates the host/slug default behavior with slightly more framing ('looks the short code up on Linkonda's own short-link host') but adds no syntax, format, or edge-case detail beyond the schema.

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?

States a specific verb and resource ('Return the total number of times a short link has been followed') and immediately bounds the scope, including the A/B variant extension. No sibling in the supplied list reports click counts, so there is no ambiguity about which tool an agent should reach for.

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?

Gives concrete conditional guidance: omit host for Linkonda's own short-link host, set host for a custom domain, and no API key is required for the basic total. It stops short of naming an alternative tool for related questions (e.g. listing links), but the when-to-set-which-parameter guidance is clear.

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