Skip to main content
Glama
yulanventures

@prompteden/mcp-server

Official

List analytics goals

analytics_list_goals
Read-onlyIdempotent

Retrieve destination-URL goals with per-goal completions and per-source splits, plus attribution rules like within-visit counting. Use stable numeric IDs to act on a goal.

Instructions

List destination-URL goals via GET /api/v1/analytics/goals: per-goal completions and per-source split, with the attribution disclosure (within-visit model, one completion per goal per visit, prospective counting from goal creation). Goal names are customer-authored data; use the stable numeric id to act on a goal. Does not use credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoISO end date.
tzNoIANA time zone for day bucketing.
fromNoISO start date (alternative to range).
rangeNoDay count (default 30).
projectIdNoNumeric project id (convenience shape; do not combine with propertyId).
propertyIdNoExplicit analytics property id (primary target). Pass ALONE — combining with a project reference is rejected. When omitted, pass a project reference instead; that resolves only when the project has exactly one property (409 property_scope_ambiguous otherwise).
projectUuidNoProject UUID (alternative to projectId).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and open-world traits, but the description adds genuinely non-redundant behavior: the attribution model (within-visit, one completion per goal per visit, prospective counting from creation), the caveat that goal names are user-authored data, and the notable 'does not use credits' cost disclosure. It stops short of describing pagination or result-size behavior.

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?

Front-loads the verb, resource, and endpoint, then adds the return-shape and caveats. Dense but largely waste-free; the parenthetical attribution clause is long but carries real information.

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

Completeness4/5

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

With no output schema, the description helpfully sketches what is returned (completions and per-source split) and flags the attribution semantics. For a 7-param read tool whose defaults and exclusivity rules live in a fully-covered schema, this is close to complete; only pagination/volume behavior is unaddressed.

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 the schema already documents all 7 params including the projectId/propertyId exclusivity and range defaults. The description adds no parameter syntax or format detail, so baseline 3 applies.

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 verb ('List') and resource ('destination-URL goals'), plus the endpoint and the shape of the returned data (per-goal completions, per-source split). This is enough to distinguish it from the goal-mutating siblings like analytics_create_goal and analytics_archive_goal.

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?

It advises using the stable numeric id rather than the customer-authored name when acting on a goal, which is useful context, but it never says when to prefer this tool over siblings or what preconditions apply. Usage is only implied by the read/list nature of the tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.