Skip to main content
Glama

Get stats

get_stats
Read-onlyIdempotent

Activity counts for a list, item, index or identity over the last days. List stats include how many writes the list's rules refused. 1 request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoHow many days (1-90)
itemNoThe item, for resource "item". A deleted item only by id
listNoThe list (id or pathName); needed for list, item and index
indexNoThe index (id or pathName), for resource "index"
identityNoThe identity's id, for resource "identity"
resourceYesWhose history: a list, an item (needs list and item), an index (needs list and index) or an identity

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), so the bar is lower. The description still adds real context: the default/rolling window behavior and the '1 request' cost indicator, plus what list stats contain (rule refusals).

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?

Three tight fragments: scope first, then the notable list-specific detail, then a cost indicator. Nothing is padded and every sentence earns its place.

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 an output schema present, return values need no explanation, and the annotations plus schema cover safety and parameter detail. The only gap an agent might want is guidance on related activity tools, but nothing essential to calling it correctly is missing.

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 the schema already explains every parameter including the resource enum and the list/item/index/identity dependencies. The description restates the resource choices and the days window without adding syntax or format detail beyond the schema, so baseline 3 applies.

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+resource ('activity counts') and enumerates the four scopes (list, item, index, identity) with a time window. It does not differentiate itself from related siblings such as list_rule_denials or list_events, so it stops short of a 5.

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?

Usage is implied by the scope statement and the resource enum, but the description never says when to prefer this over siblings that also surface activity data (list_rule_denials, list_events, get_event). No prerequisites or exclusions are given.

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