Skip to main content
Glama

stats_query

Read-onlyIdempotent

Read mentorship stats. Set action to "mentor_stats" (mentor participant role only, optional membershipId), "mentor_moments" (mentor participant role only, self-only — membershipId is not accepted; optional unseen), "mentee_stats" (mentee participant role only, optional membershipId), or "growth_report"/"journey_timeline" (always available, optional membershipId).

Input Schema

NameRequiredDescriptionDefault
actionYes
unseenNo
membershipIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare read-only/idempotent safe read. Description adds role-based access constraints (mentor/mentee participant roles, always available actions) that go beyond annotations. Lacks error behavior or return format, but meaningful context added.

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?

Front-loads the core purpose and packs action constraints efficiently into one sentence. The dense parenthetical list is hard to scan but no wasted words.

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?

Given no output schema and read-only annotations, the description covers action selection and role restrictions needed to invoke correctly. It omits return content and error cases, but those are secondary for a stats read.

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 description must compensate. It defines each action's meaning and maps membershipId/unseen applicability per action. It leaves 'unseen' undefined and doesn't elaborate membershipId beyond optional/not accepted.

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 'Read' and resource 'mentorship stats', and enumerates the action values. It does not name or contrast with sibling tools, but the action enum itself distinguishes scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit per-action role requirements and parameter applicability (e.g., mentor_moments self-only, membershipId not accepted). No guidance on when to prefer this tool over sibling query tools, so not a full 5.

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