Skip to main content
Glama

Get Recent Clicks

get_recent_clicks
Read-onlyIdempotent

Get recent click events across all of your links. Each event includes the short code, city, country, geolocation, and timestamp. Useful for real-time monitoring.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax click events to return (default 20, max 100)
since_minutesNoOnly return clicks from the last N minutes (default 60, max 1440)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so safety and idempotency are covered. The description adds value by enumerating the per-event payload (short code, city, country, geolocation, timestamp), which partly compensates for the absent output schema. It says nothing about ordering, event volume, or whether results are capped/paginated beyond the limit ceiling.

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?

Three short sentences, front-loaded with the action and scope before the payload detail. Nothing is redundant, though "Useful for real-time monitoring" is the softest sentence and borders on filler.

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 simple read-only tool with two optional, fully documented parameters and rich annotations, the definition covers purpose, scope, and returned fields adequately. The remaining gaps — sort order, whether the window is measured from now, and relation to the stats siblings — are minor but real.

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%, and both parameters (limit, since_minutes) carry defaults, min, and max in the schema itself. The description adds no meaning beyond that — it never mentions the time window or row cap, leaving the schema to do all the work. Baseline 3 is appropriate.

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 states a specific verb and resource ("Get recent click events") and scopes it ("across all of your links"), which implicitly separates it from per-link siblings like get_link_stats. It stops short of naming any alternative explicitly, so an agent must infer the boundary from the phrase "across all of your links."

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?

"Useful for real-time monitoring" implies the intended scenario but gives no explicit when-to-use or when-not guidance, and never mentions get_link_stats, get_aggregate_stats, or export_link_stats as the alternatives for historical or per-link analysis. Usage is inferable but not directed.

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