Skip to main content
Glama

reeflip

Get the analytics overview

app_get_analytics
Read-onlyIdempotent

Called by Reeflip's app in the chat, never by you. Visits and enquiries over a range of days, for every flipbook and catalog of the business, one kind of them, or one flipbook or catalog: the totals, the same totals for the period of the same length just before it, each day's, each flipbook's and catalog's, each tracked link's, and the top products and countries. The dashboard's Analytics page shows this answer as it is.

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

Input Schema

NameRequiredDescriptionDefault
toNoThe last UTC day counted, included. Leave it out, or give a later day, for today.
fromNoThe first UTC day counted. Leave it out for the 30 days that end with `to`. Visits and taps are kept 90 days, so an earlier day counts from the oldest one kept; the answer's `from` says which.
kindNoA flipbook or a catalog.
catalog_idNoCount only this catalog. Not with `flipbook_id`, or with `kind` flipbook.
flipbook_idNoCount only this flipbook. Not with `catalog_id`, or with `kind` catalog.

Output Schema

NameRequiredDescriptionDefault
toYesThe last UTC day counted.
fromYesThe first UTC day counted.
dailyYesEvery day from `from` to `to`, oldest first, days with nothing included.
itemsYesEach flipbook and catalog counted that had any visit or enquiry, the most visits first.
linksYesFlipbooks' visits and enquiries by the tracked link they came through, with one line of empty code for those that came through none, each line that had any, the most visits first. Catalogs have no tracked links, so this is empty when only catalogs are counted.
shownYesHow much the business's plan shows. `opens` (Free): only `current.visits` and `previous.visits`; the enquiries are 0 and the lists empty. `basic` (Starter): the visits, enquiries, `daily` and `items`; `links`, `products` and `countries` are empty. `advanced` (Pro and Business): everything.
currentYesVisits and enquiries in a period.
previousYesThe same numbers for the period of the same length just before `from`; null when its days are not all kept, which is always so for 90 days.
productsYesThe ten products in the most enquiries.
countriesYesThe ten countries with the most visits.
previous_toYesThe last day of the period compared with, the day before from; null with previous_from.
previous_fromYesThe first day of the period compared with; null when that period's days are not all kept.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.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 safety and repeatability are covered. The description adds the useful caller context (app-invoked, dashboard renders this answer verbatim) and implies the retention boundary on historical data. Beyond that it mostly re-enumerates return contents that the output schema already carries, and says nothing about latency, response size, or what happens when the requested window exceeds retained data.

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?

The important constraint is front-loaded, which is correct. But the body is a single run-on sentence that even breaks mid-phrase ("one kind of them, or / one flipbook or catalog") and then spends most of its length cataloguing return values that the output schema already defines. Trimming the output enumeration would make the definition sharper without losing information.

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 a rich annotation set and an output schema present, the description does not need to explain return shapes, and its main job — telling the agent this is not its tool to call — is done clearly in the first six words. Completeness is slightly reduced because no substitute tool is identified, leaving an agent that does need analytics data without a next step.

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 the schema itself documents each parameter and even the mutual exclusions. The description still adds meaning beyond it by framing the three selection modes as a coherent choice — all flipbooks and catalogs, one kind, or a single item — and by stating that results are compared against a preceding period of equal length, which shapes how the from/to pair is interpreted. That is genuine semantic value on top of the schema, though not exhaustive per-parameter detail.

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 the resource precisely (visits and enquiries) and enumerates the exact scope and breakdowns: totals, prior-period comparison, per-day, per-flipbook/catalog, per tracked link, top products and countries. That is far more specific than a title restatement. It stops short of a 5 because it never contrasts itself with the closely named sibling show_analytics or with app_get_link_stats, so the agent must infer the boundary from scope wording alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The opening clause "Called by Reeflip's app in the chat, never by you" is an explicit and unusually strong exclusion: it tells the agent not to select this tool even though it can. That is real guidance an agent could act on. It lacks the complementary half of a 5, however — it does not name the alternative the agent should reach for instead (e.g. show_analytics).

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