Skip to main content
Glama

HamroLink Business OS MCP Server

analytics.get_journey_report

Read-only

Retrieves complete Business-plan+ Storefront Customer Acquisition & Purchase Journey analytics (visitors, HTTP referrers vs UTM campaigns, First-Touch vs Last-Touch attribution, session conversion funnel, product vs variant-level performance, sales & unattributed order split, order origins, and period comparison).

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": "analytics.get_journey_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLookback window in days (default 7, max 90)
pageNoPagination page number (default 1)
limitNoMax rows per table (default 20, max 100)
rangeNoDate range preset (default '7d')
siteIdNoOptional MongoDB Site ID (defaults to active storefront)
endDateNoOptional ISO end date
sectionNoOptional report focus (default 'all')
siteNameNoOptional storefront name filter (e.g. 'Pokhara Clothing')
startDateNoOptional ISO start date
attributionModelNoAttribution model (default last_touch)
includeComparisonNoInclude previous period comparison deltas (default true)
orderOriginFilterNoOptional order origin filter (default 'all')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful non-annotation context: it is restricted to Business-plan+ stores, and it discloses that output spans many distinct tables. It says nothing about the cost/weight of a 12-parameter multi-section report or how `section` affects payload size.

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?

Every phrase carries information and there is no filler, but the entire definition is one ~45-word sentence with an eight-item parenthetical list, so the most decision-relevant facts (plan gate, breadth of return, section focus) are buried mid-sentence rather than front-loaded. Readable, not efficient.

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

Completeness3/5

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

For a 12-parameter, no-output-schema tool, the description conveys scope and the plan restriction, which is the minimum needed to call it sensibly. It omits how pagination (page/limit) and `section` interact with the returned table structure, and with no output schema the agent has no picture of the response shape beyond a list of metric names.

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%, so every parameter is already documented with defaults, enums and max values; baseline 3 applies. The description's parenthetical list loosely mirrors the `section` enum values (acquisition, campaigns, funnel, products, sales, comparison), which helps an agent map sections to content, but no parameter is explained beyond the schema.

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 gives a specific verb ('Retrieves') plus a named resource ('Storefront Customer Acquisition & Purchase Journey analytics') and enumerates the concrete contents (visitors, referrers vs UTM, first/last touch, funnel, product/variant performance, sales split, order origins, period comparison). An agent can tell this is a broad multi-section analytics report. It stops short of differentiating itself from the sibling analytics.get_summary or commerce.sales_report, so it does not reach a 5.

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 exclusion of alternatives, and no routing hint toward analytics.get_summary or commerce.sales_report even though those siblings overlap on sales/acquisition data. The only implicit constraint is 'Business-plan+', which is a gating note rather than usage guidance.

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.