Skip to main content
Glama

agentanalytics.sh: Analytics Your Agent Can Use

Growth audit

growth_audit

Use when you need where visitors drop before signup. Returns findings, funnel, and traffic_by_hostname. A successful call uses the account's one free audit. Pro accounts can repeat it. Pass cta_event or detection ranks event names by count. Stopped events use 3 firings, not 3 users. Default excludes hosts whose names start with app. An empty list includes every host. Text includes Traffic by hostname and Excluding app.* (default). If hosts split, ask the user which hosts count as the landing site. 403 PRO_REQUIRED with reason free_audit_used. 429 free_audit_in_progress with Retry-After.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>"
    },
    "name": "growth_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesProject name
hostnameNoHosts to include. Omit to exclude names starting with app.
cta_eventNoEvent fired by the main signup CTA. Overrides detection, which ranks by count.
signup_eventNoEvent fired when an account is created. Overrides detection.
exclude_hostnamesNoHosts to leave out. An empty list includes every host.

Output Schema

NameRequiredDescriptionDefault
dataNo
typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The description explains the non-obvious cost model that justifies its readOnlyHint=false: one free audit per account, repeatable only on Pro, with 403 PRO_REQUIRED (reason free_audit_used) and 429 free_audit_in_progress (Retry-After) surfaced up front. It also discloses detection heuristics (stopped events need 3 firings, not 3 users) and filtering defaults that the annotations cannot convey.

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?

Effectively front-loaded: trigger condition first, then cost/auth behavior, then parameter and error details, in terse sentences with no filler. The one arguable waste is enumerating returned keys (findings, funnel, traffic_by_hostname) despite an output schema, but it is a short clause and it orients the agent before the details.

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?

For a one-shot, quota-consuming, non-idempotent tool, the definition covers the trigger, the cost and upgrade path, the two failure modes with their codes, the default host filtering, and the escalation path for ambiguous host splits. Nothing an agent needs in order to call it correctly, or to explain a failure to a user, is 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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond it: cta_event overrides the count-based detection ranking, and the empty-list inclusion rule is stated explicitly for exclude_hostnames. The hostname default-exclusion nuance is largely duplicated from the schema, which keeps this from a 5.

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?

"Use when you need where visitors drop before signup" names the analytical question and resource (pre-signup drop-off / growth audit) rather than restating the tool name, and the return surface (findings, funnel, traffic_by_hostname) confirms the scope. It does not name a sibling such as analytics_funnel to route an agent away from a generic funnel tool, so the differentiation is left implicit.

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?

It gives a concrete trigger condition, explains that one free audit is consumed (so it is not a casual repeat call), tells the agent to prefer an explicit cta_event over rank-by-count detection when known, and instructs the agent to ask the user which hosts count as the landing site when hosts split. There is no explicit "do not use when" clause, so it stops just short of a 5.

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