Skip to main content
Glama

HamroLink Business OS MCP Server

analytics.get_summary

Read-only

Retrieves Business-plan+ measured visitor analytics, sessions, traffic sources, funnel metrics, and top viewed products for a site (requires Business plan or higher).

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

Input Schema

NameRequiredDescriptionDefault
daysNoLookback window in days (default 7, max 90)
rangeNoDate range preset (default '7d')
siteIdNoOptional MongoDB Site ID (defaults to active storefront)
endDateNoOptional ISO end date
siteNameNoOptional storefront name filter (e.g. 'Pokhara Clothing')
startDateNoOptional ISO start date
attributionModelNoAttribution model
orderOriginFilterNoOptional order origin filter (default 'all')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the plan entitlement requirement (an access precondition not expressed in annotations) and by enumerating the metric families returned, which matters since no output schema exists.

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

Conciseness4/5

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

A single front-loaded sentence with no filler; the resource enumeration and the plan caveat both carry information. It is dense but readable, with only minor cost from packing the entitlement note into a parenthetical at the end.

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 an eight-parameter, zero-required tool with no output schema, the description usefully previews returned metrics and the entitlement gate. It stops short of explaining the overlapping date parameters or the attribution and order-origin filters, which are the main sources of ambiguity for an agent composing the call.

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 all eight parameters (including the three enums) are already documented with defaults and the 90-day cap. The description adds no extra meaning about how days, range, startDate and endDate interact or how attributionModel affects results, so the baseline 3 applies.

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?

Uses a specific verb ("Retrieves") with a concrete resource list: visitor analytics, sessions, traffic sources, funnel metrics, and top viewed products for a site. It is clearly a metrics/summary read tool, though it does not explicitly distinguish itself from the sibling analytics.get_journey_report or bi.get_insights.

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 parenthetical "requires Business plan or higher" is a useful gating precondition that tells the agent when the call is viable. However, there is no explicit guidance on when to pick this over the journey report or BI insights, and no statement about when not to use it.

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.