Skip to main content
Glama

Export Link Statistics

export_link_stats
Read-onlyIdempotent

Export click statistics for a single link as structured data. Returns raw click records with timestamp, city, country, device, browser, OS, and referrer. Requires Pro subscription or higher.

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": {
      "short_code": "<short_code>"
    },
    "name": "export_link_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
short_codeYesThe short code of the link whose stats to export

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered elsewhere. The description does add real context beyond them: the exact record shape returned (timestamp, city, country, device, browser, OS, referrer) and the Pro-plan requirement. It stops short of disclosing volume limits, pagination, or output encoding for a raw-record export, which are the traits an agent would most need.

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?

Three short sentences: purpose and scope first, return shape second, prerequisite last. Zero filler and nothing that could be cut without losing 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 one-parameter read-only export with no output schema, the description usefully enumerates the returned fields and states the subscription prerequisite. It is nearly complete; only export-size behavior (limits, pagination, or file vs inline payload) is left unaddressed.

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?

With a single parameter at 100% schema coverage, the schema already fully explains short_code. The description reinforces that exactly one link is handled (as opposed to a domain-wide export), which is mild added meaning, but supplies no format or validation detail beyond the schema.

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?

"Export click statistics for a single link as structured data" gives a concrete verb (export), resource (click statistics), and scope (single link). It is clear on its own, but the sibling set contains get_link_stats, get_recent_clicks, and export_links, and the description never names them or states what makes this export path different from those.

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?

Usage is only implied: "Export ... as structured data" suggests bulk raw-record retrieval rather than an aggregated summary, and the Pro-subscription gate is a useful precondition. But there is no explicit "use this instead of get_link_stats when ..." routing, which matters given three closely related stats siblings.

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.

Resources