Skip to main content
Glama

Bucket Publication Analytics

bucket_publication_analytics
Read-onlyIdempotent

Get a bucket website's analytics with bucket_id, or pass publication_id from bucket_get, bucket_publish, or bucket_publication_list. Event instants are UTC; calendar boundaries use the returned account time_zone. 24h is live/hourly; 7d/30d/90d are daily. Exact inclusive windows use both from and to. The returned from/to are the effective retained window; retention_limited is true when a preset was shortened. totals.views excludes bots, totals.hits includes them, and totals.views_all_time is the durable lifetime human-view count even after detailed daily rows expire. visitors is privacy-safe daily uniqueness, so a return on another day counts again. previous_period is null, and comparison values are null, unless the complete preceding window is retained; never treat null as zero. Free returns Basic analytics for 30 days with totals plus up to three paths and sources; paths_truncated or sources_truncated indicates more results exist. Personal and Pro return Detailed analytics with one- and two-year Rails retention respectively. activity is the newest outcome timeline; paths contains page views, downloads explicit file downloads, and document_pages document-page engagement. Static support assets are excluded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoInclusive end date in YYYY-MM-DD format; requires from.
fromNoInclusive start date in YYYY-MM-DD format; requires to.
rangeNoAnalytics window: all, 24h, 7d, 30d, or 90d.30d
bucket_idNoRevdoku bucket id returned by bucket_list or bucket_get, for example bkt_...
publication_idNoWebsite publication id returned by bucket_publish, bucket_publication_list, or bucket_get.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNo
botsNo
fromNo
dailyNo
pathsNo
rangeNo
totalsNo
bucketsNo
sourcesNo
activityNoNewest outcomes in the selected range, including privacy-safe aggregate public-site views/downloads/clicks plus protected opens, document views, forms, and recipient-link views.
countriesNo
downloadsNo
last_weekNoPrevious complete Monday-Sunday outcome totals: views, visitors, downloads, form submissions, password unlocks, and unique Require Email unlock contacts.
referrersNo
time_zoneNoIANA time zone used for calendar boundaries and labels. This is the account time zone; event instants are recorded in UTC.
granularityNo
manual_refsNo
availabilityNo
last_event_atNo
analytics_tierNo
document_pagesNo
external_linksNo
first_event_atNo
retention_daysNo
details_visibleNo
paths_not_foundNo
paths_truncatedNo
previous_periodNoThe immediately preceding equal-length comparison window. Null for range all or when that complete window is outside retained history. Daily dates are inclusive; hourly timestamps form a contiguous 24-hour window.
retention_limitedNo
sources_truncatedNo
previous_period_totalsNoTotals for previous_period. views excludes bots; hits includes them. Detailed values are null when unavailable for the account, and live 24h comparison values are null when either hourly window is unavailable.
diff_vs_previous_periodNoSigned current-minus-previous differences for views, hits, visitors, clicks, downloads, asset hits, missing-path hits, and bot hits. Positive means growth; negative means decline. Detailed values are null when unavailable for the account, and live 24h differences are null when either hourly window is unavailable; never treat null as zero.

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark it readOnly/idempotent/non-destructive; the description goes far beyond by explaining timezone handling, retention windows, bot inclusion/exclusion, null-vs-zero semantics, plan-dependent detail levels, and truncation flags. No contradiction with annotations.

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?

The first sentence front-loads the core purpose and identifier options, and every subsequent sentence adds non-obvious decision-relevant detail such as retention limits, previous_period null behavior, and plan differences. It is dense but not redundant; the length is proportional to the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity, the description is unusually complete: it covers calling conventions, timezone/date behavior, plan tiers, retention, bot filtering, uniqueness semantics, truncation flags, and content-type definitions. The output schema further covers return structure, so nothing needed for correct selection or invocation appears missing.

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?

Input schema covers all parameters, so baseline is 3, but the description adds real value: it explains the live/daily distinction for range values, the inclusive from/to pairing, and which prior calls produce valid publication_id values. This is above baseline, though the schema already documents the basic parameter shapes.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific action ('Get ... analytics') and resource ('bucket website's analytics'), and shows two identifier routes (bucket_id or publication_id). The description clearly separates it from sibling get/list tools by focusing on analytics, so an agent can tell it apart without opening the schema.

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?

Gives clear invocation context: use bucket_id or supply publication_id from bucket_get, bucket_publish, or bucket_publication_list. It does not explicitly list when-not-to-use or name alternative analytics tools, but the identifier provenance and window semantics make selection unambiguous.

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.

TDQS

A3.6/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, but a few overlaps exist: bucket_file_move and bucket_file_rename both handle same-bucket renames/moves, and bucket_file_reorganize overlaps with copy/move operations. The detailed descriptions help clarify, but the boundaries aren't always obvious.

Naming Consistency4/5

The naming follows predictable patterns: bucket_<verb> for bucket-level actions, bucket_file_<verb> for file operations, bucket_publication_<verb> for publications, and website_preview_* for previews. Minor deviations like bucket_create_from_template, bucket_set_public_slug, and bucket_update_publication_access deviate slightly but remain readable.

Tool Count2/5

At 42 tools, the server is overweight for its scope. While the platform is feature-rich, many tools are narrowly specialized (e.g., bucket_publication_leads, bucket_lock_visibility_changes) and some are redundant (file_move vs file_rename vs file_reorganize), making the surface larger than necessary for an MCP server.

Completeness3/5

The tool set covers the full bucket lifecycle and most file operations, but there is no direct file delete tool (only via delete_missing in write_many or cross-bucket move soft-delete) and binary uploads are explicitly delegated to the CLI/REST. These are notable gaps for a complete file management workflow.