Skip to main content
Glama

Activity stats

get_activity_stats
Read-onlyIdempotent

Aggregated activity stats over the period: totals, averages, trends.

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_activity_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
days_backNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds a little by saying the result is aggregated (totals, averages, trends) rather than raw records, but it says nothing about aggregation granularity, what happens at period boundaries, or limits on how far back one can query.

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?

One compact sentence with the output shape front-loaded and no filler. It is terse to the point of under-specification, but nothing in it is redundant.

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?

With no output schema and a 0%-documented parameter, the description carries the full burden, yet it does not say what metrics are included, what the aggregation window granularity is, or how it relates to the many overlapping metric and summary siblings. For an analytics tool in this dense a catalog, that is a meaningful gap.

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 description coverage is 0% for the single parameter days_back; the schema supplies only a title and a default of 28. The description's phrase 'over the period' hints that the range is parameterized but never names days_back, its units, valid bounds, or whether the default is 28 days.

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

Purpose3/5

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

The description names the resource (aggregated activity stats) and the shape of the output (totals, averages, trends), which is more than the title 'Activity stats' gives. But it never distinguishes itself from close siblings such as get_daily_metrics, get_training_load, or get_recent_activities, so an agent cannot confidently pick this over them from the description alone.

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 when-to-use guidance and no mention of alternatives or exclusions. The only usage signal is an implied 'over the period', leaving the agent to infer that this is the aggregate-over-time tool rather than a per-day or per-activity one.

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