Skip to main content
Glama

My analytics

get_my_analytics
Read-onlyIdempotent

Page views, visitors, website clicks, impressions, upvotes, new watchers and reviews for the last 7, 30 or 90 days against the period before: for one of the signed-in person's products (with top sources and referrers), or all of them.

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

Input Schema

NameRequiredDescriptionDefault
daysNo7, 30 or 90
listingNoThe listing's slug or id; all products when left out

Output Schema

NameRequiredDescriptionDefault
toYes
daysYes
fromYes
sourcesYes
upvotesYes
productsYes
visitorsYes
pageViewsYes
referrersYes
newReviewsYes
impressionsYes
newWatchersYes
dashboardUrlYes
websiteClicksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / products / items / properties / locked
      Removed value: -{
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / products / items / required
      Previous value: -[
      -  "product",
      -  "slug",
      -  "locked",
      -  "pageViews",
      -  "visitors",
      -  "websiteClicks",
      -  "impressions",
      -  "newWatchers"
      -]New value: +[
      +  "product",
      +  "slug",
      +  "pageViews",
      +  "visitors",
      +  "websiteClicks",
      +  "impressions",
      +  "newWatchers"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered. The description adds behavior beyond that: results are compared against the preceding period, and per-product results include top sources and referrers. It does not discuss latency, limits, or data freshness, but with an output schema present that is acceptable.

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 front-loaded sentence with no filler, but enumerating seven metrics and the three time windows partially duplicates what the schema enum and the output schema already convey. A tighter phrasing could have stated the comparison and scope without listing every metric.

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, full parameter coverage and rich annotations, the description fills the remaining gaps: window semantics, comparison baseline, and account-wide vs. single-product behavior. Only minor items such as data freshness or any limits are absent, which is reasonable for a read-only reporting tool.

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 coverage is 100%, so baseline is 3. The description goes further by giving 'days' comparative meaning (current window vs. the period before) and by explaining that supplying a listing narrows results to one product and enriches them with top sources and referrers, which the schema does not state.

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 resource (page views, visitors, clicks, impressions, upvotes, watchers, reviews) and scopes it to the signed-in person's products with a comparison period, which distinguishes it from sibling getters like get_product or get_tool. It lacks an explicit verb such as 'Get' or 'Returns', so the agent infers retrieval rather than being told.

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?

The phrase 'for one of the signed-in person's products ... or all of them' implies that omitting the listing aggregates across the account, which is useful routing context. However, there is no explicit when-to-use/when-not statement and no named alternative for other kinds of analytics or listing-level lookups.

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