Skip to main content
Glama

OpenPanel: Get usage stats

openpanel_get_usage_stats
Read-only

Retrieves usage statistics for an OpenPanel instance, returning event and user metrics for a site and project over a chosen date range (default 30 days).

Instructions

[UNIFIED] Get usage statistics for the OpenPanel instance (events, users, etc.).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "site": "<site>",
      "project_id": "<project_id>"
    },
    "name": "openpanel_get_usage_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes
date_rangeNo30d
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.14.0
  2. Removedv3.13.1
  3. First observedv3.4.0

TDQS

C2.2/5.0
Behavior2/5

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

readOnlyHint=true already declares this is a safe read, so the description adds almost nothing behavioral. It does not state whether results are aggregated or per-site, whether the date range defaults to 30d, or how the instance-wide framing squares with the required site/project_id scoping — a point of internal ambiguity the description creates rather than resolves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no filler, which is good, but the bracketed "[UNIFIED]" tag and the trailing "etc." consume what little text exists without conveying information. Brevity here is under-specification rather than disciplined concision.

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 0% schema coverage, the description is the only source of semantics for a three-parameter tool, and it supplies none of them. A read-only stats tool needs at minimum a statement of what metrics are returned and what the required scoping parameters mean; neither is present.

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

Parameters1/5

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

Schema description coverage is 0% across three parameters, including two required ones (site, project_id), and the description mentions none of them. It neither explains what site/project_id scope nor what date_range accepts (the schema only shows a 30d default), so the meaning must be reverse-engineered from the schema types alone.

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?

"Get usage statistics for the OpenPanel instance (events, users, etc.)" names a verb and resource, but the scope is vague and the "etc." leaves the returned metrics undefined. It gives no basis for choosing it over the many overlapping siblings (get_realtime_stats, get_storage_stats, get_overview_report, get_unique_users, get_event_count). The unexplained "[UNIFIED]" prefix adds no clarity.

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, no exclusions, and no reference to alternatives despite a dense sibling set of similarly named stats tools. The agent must guess whether this is a general summary or a specific metric report.

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

Deploy Server

Other Tools