Skip to main content
Glama

그룹 통계

get_group_stats
Read-only

그룹 이름으로 그 그룹에 속한 링크들만 필터링해 통계를 돌려줍니다: 그룹 합산 클릭·유니크·봇 클릭, 기간 내 링크별 클릭, 상위 링크, 일별 추이. 이름은 정확 일치 먼저, 없으면 부분 일치로 찾습니다. 스타터 플랜부터 사용할 수 있습니다.

Input Schema

NameRequiredDescriptionDefault
daysNo집계 기간(일)
end_dateNo종료일 YYYY-MM-DD (KST)
group_idNo그룹 ID(group_name 대신)
group_nameNo그룹 이름(정확 → 부분 일치)
start_dateNo시작일 YYYY-MM-DD (KST)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare a safe read (readOnlyHint=true, destructiveHint=false, openWorldHint=false), and the description still adds non-obvious behavior: the exact-then-partial name resolution (which can silently match an unintended group) and a plan-tier prerequisite. These are traits the schema and annotations do not express. It does not describe aggregation granularity limits or behavior when a partial match returns multiple groups.

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?

Two dense sentences with the returned metrics front-loaded and the resolution/plan caveats trailing, no filler. The metric list is long but each item is a distinct output, so it earns its space.

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?

There is no output schema, and the description compensates by enumerating the returned fields, which is the main completeness risk for a stats tool. With annotations covering the safety profile and 100% schema coverage on inputs, the only remaining gap is how the date parameters combine (days versus start_date/end_date) and multi-match partial-name behavior.

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%, so every parameter is already documented, including the name matching rule and KST dates. The description reinforces the exact→partial resolution and the group_name/group_id alternative, but adds no new semantics such as how days interacts with start_date/end_date. Baseline 3 applies when the schema carries the load.

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?

States a specific verb and resource ('filter links in a group by group name and return statistics') and enumerates exactly what is returned: group aggregate clicks/uniques/bot clicks, per-link clicks in the period, top links, daily trend. It is clearly a group-scoped analytics tool, distinguishable from a single-link tool, though it never names the sibling it contrasts with (e.g. get_link_analytics or get_analytics_summary).

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?

Adds real usage context: the group can be identified by name or ID, names resolve exact-match first then partial, and the tool requires the Starter plan or above. What is missing is when to choose this over the other analytics siblings (summary, link-level, period comparison), so an agent must infer routing from the group-scoping alone.

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