Skip to main content
Glama
pitchmentor

@pitchmentor/mcp

Official
by pitchmentor

get_analytics_by_member

Read-onlyIdempotent

Retrieve per-member call statistics for a single day or 7/30/90-day period to analyze individual performance and trends.

Instructions

Per-member call stats.

Requires scope analytics:read.

Input Schema

NameRequiredDescriptionDefault
tzNoTimezone offset in minutes (as JS getTimezoneOffset)
dateNoSingle local day (YYYY-MM-DD); returns 15-minute buckets
periodNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds one genuinely useful piece of information not in the structured fields: it requires the `analytics:read` scope. It says nothing about aggregation window, granularity behavior, or emptiness handling.

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 short sentences with no filler, and both the purpose and the scope prerequisite are front-loaded. The failure here is under-specification rather than verbosity, so structure itself is fine.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the burden of explaining what comes back — 15-minute buckets for a single day (per the schema) versus some other aggregation for `period` values — and it is silent. For an analytics read tool with three loosely-related filtering params and six sibling analytics/member tools, this leaves an agent guessing.

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

Parameters2/5

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

Schema coverage is 67% (tz and date documented, `period` enum undocumented) and the description adds zero parameter semantics. It does not explain the interaction between `date` and `period` (are they mutually exclusive? does one override the other?), nor how `tz` shifts bucketing — arguably the most consequential ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is essentially a restatement of the tool name ("get_analytics_by_member" → "Per-member call stats"), which matches the tautology band. It conveys the resource but no verb, no scope, and no differentiation from siblings like get_analytics_overview or list_member_usage that an agent must choose between.

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?

No guidance on when to use this versus get_analytics_overview or list_member_usage, both of which appear in the sibling list and overlap conceptually. The only context is an auth scope requirement, which is a precondition, not usage guidance.

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