Skip to main content
Glama

Chat link results

get_chat_link_stats
Read-onlyIdempotent

Clicks and chats started from one chat link over the last days (default 30, at most 90), by UTC day, with chat_rate (chats started per click). A chat counts once, when its first message brings the link's code back. Read-only.

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": {
      "link_id": "<link_id>"
    },
    "name": "get_chat_link_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
link_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, and non-destructive, so the trailing 'Read-only.' is redundant. However, the description adds genuinely non-obvious behavior: the deduplication rule that a chat counts only once, when its first message brings the link's code back, plus the default window of 30 days with a 90-day cap. That is real context the annotations do not supply.

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 tightly packed sentences: the core output is front-loaded, the metric definition and dedup rule follow, and the trailing 'Read-only.' is the only near-waste. Every other clause carries 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?

With no output schema, the description must convey return content, and it does: clicks, chats, chat_rate, bucketed by UTC day. What is left unspecified is response shape (array vs object keyed by day) and handling of links with zero activity, which is minor for a two-parameter read tool.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must carry the load. It does for days — default 30, maximum 90, aggregated by UTC day — and 'one chat link' identifies link_id as the target link, though the UUID format is only in the schema. Both parameters gain meaning, with a small gap on the link_id type.

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 names a specific resource and measurement (clicks and chats started from one chat link) plus the derived metric chat_rate, so the agent knows exactly what data comes back. It implicitly contrasts with list_chat_links by scoping to a single link, but never names an alternative, so it stops short of full sibling differentiation.

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?

There is no explicit when-to-use guidance and no mention of alternatives or preconditions beyond 'one chat link'. The 30/90-day limits are parameter behavior rather than usage guidance. An agent must infer that this is the per-link analytics tool rather than one of the analytics 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