Skip to main content
Glama
CheerLights MCP Server

CheerLights MCP Server

Official
by cheerlights

CheerLights color statistics

analyze_color_statistics
Read-only

Analyze recent CheerLights color changes to count how often each color was picked, helping identify frequently and rarely selected colors.

Instructions

How often each color was picked across recent changes, with the most and least popular.

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": "analyze_color_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
sample_sizeNoHow many recent changes to analyze

Output Schema

NameRequiredDescriptionDefault
countsYesPicks per color, most picked first
period_endYesTime of the newest change analyzed (UTC)
sample_sizeYesNumber of recent changes analyzed
most_popularYesThe color picked most often
period_startYesTime of the oldest change analyzed (UTC)
least_popularYesThe color picked least often
unique_colorsYesNumber of different colors picked

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. Beyond that the description adds little: it does not say the statistics are computed over a bounded sample of recent changes (the 500 default / 8000 max in the schema) or that results reflect only the sampled window, which is a meaningful caveat for a statistics tool.

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?

A single tight sentence with no filler, and the key differentiator (most/least popular) is front-loaded after the frequency statement. It is a verbless fragment, which slightly weakens scannability but wastes nothing.

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 not be explained, and the lone parameter is fully described by the schema. What remains missing is only the sampling caveat, so the definition is adequate for a simple read-only analytics tool.

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% and the single parameter is fully documented in the schema as 'How many recent changes to analyze'. The description repeats the sampling idea ('across recent changes') without adding syntax, defaults, or guidance on choosing a sample size, 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?

The description names a specific output: a frequency distribution of colors plus the most and least popular. That is clearly an aggregation task, distinguishable from get_cheerlights_history or get_current_cheerlights_color, though it is a noun phrase rather than a verb+resource and never explicitly contrasts with those siblings.

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 only implied: an agent can infer this is the tool for 'which color is most common' style questions rather than raw history retrieval. There is no explicit when-to-use, when-not-to-use, or named alternative such as get_cheerlights_history.

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