Skip to main content
Glama

Tracwell

Preview a goal

analytics_goal_preview
Read-onlyIdempotent

Evaluates an unsaved event or page matcher without saving it. Completions count matching events; conversion rate is unique anonymous visitors divided by all visitors with recorded activity in the window.

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": {
      "projectId": "<projectId>",
      "from": "<from>",
      "to": "<to>",
      "match": "<match>"
    },
    "name": "analytics_goal_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
matchYes
toTimeNo
fromTimeNo
timezoneNo
projectIdYes

Output Schema

NameRequiredDescriptionDefault
rangeYes
trendYes
peopleYes
meaningNo
previewYes
projectIdYes
definitionYes
completionsYes
totalVisitorsNo
conversionRateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds real value beyond that by defining how the two output metrics are computed (completions = matching events; conversion rate = unique anonymous visitors over all visitors with recorded activity), which an agent needs to interpret results.

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?

Two tight sentences with the non-persistence constraint front-loaded, no filler. The second sentence on metric definitions is slightly tangential to the act of previewing but still earns its place by making the returned numbers interpretable.

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

Completeness2/5

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

For a 7-parameter tool with zero schema descriptions and a nested oneOf matcher, the description says nothing about date/time precedence, timezone defaults, or required field combinations. The output schema exists so return values needn't be described, but the input side is materially under-documented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 7 parameters, so the description carries the full burden and largely fails: it hints that 'match' is an event or pageview matcher but never explains the from/to vs fromTime/toTime relationship, the timezone parameter, or projectId. An agent could mis-set overlapping date/time fields without noticing.

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?

States a specific verb ('Evaluates') and resource ('an unsaved event or page matcher'), plus the key property that nothing is persisted. That implicitly separates it from the saving sibling analytics_goal, but no alternative is named, so the agent must infer the pairing.

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?

'without saving it' implies this is a dry-run before committing a goal, which is usable context, but there is no explicit statement of when to choose this over analytics_goal or analytics_goals, and no prerequisites or exclusions are given.

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