Skip to main content
Glama

Send the help center's page views to GA4 or Plausible

colliedesk_help_center_analytics_set
Idempotent

Save where the help center's page views go: provider ga4 with a measurement ID and a Measurement Protocol API secret, or plausible with the site domain (and the address of a self-hosted Plausible). Every field replaces the stored one except ga4_api_secret, which stays when left out. GA4 gets the page address, title, referrer, language and search words, with a client id that changes every day instead of the reader's address; Plausible gets the page address and referrer with the reader's browser and address, which it turns into its own daily visitor id. An invalid field is refused by name and nothing is saved. Call colliedesk_help_center_analytics_test next to check the service accepts the events. It is safe to repeat.

Needs: help_center:update.

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": {
      "provider": "<provider>",
      "enabled": "<enabled>"
    },
    "name": "colliedesk_help_center_analytics_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYestrue sends every reader's page view from now on; false keeps the settings and sends nothing.
providerYesga4 (Google Analytics 4) or plausible.
ga4_api_secretNoThe secret value of a Measurement Protocol API secret (GA4 Admin > Data streams > the web stream). Left out or null: the stored one stays. Empty: removed. Never answered.
help_center_idNoOne of colliedesk_help_centers_list; left out, the primary help center.
plausible_domainNoThe site domain exactly as it is in Plausible, for example help.example.com. Needed when provider is plausible and enabled is true.
ga4_measurement_idNoThe measurement ID of the GA4 web stream, for example G-ABC123XYZ9. Needed when provider is ga4 and enabled is true.
plausible_base_urlNoWhere Plausible runs: https://plausible.io (the default when left out) or a self-hosted Plausible on a public https address.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / help_center_id
      Added value: +{
      +  "description": "One of colliedesk_help_centers_list; left out, the primary help center.",
      +  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations it discloses the precise replace semantics ('Every field replaces the stored one except ga4_api_secret, which stays when left out'), that an empty value removes the secret, that the secret is never returned, and that an invalid field is refused by name with nothing saved — i.e. all-or-nothing validation. It also spells out the differing data each provider receives, which is material behavior an operator must know before turning collection on.

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?

It is a single dense paragraph, front-loaded with the core action and credential requirements, then branching into per-provider data flows. Every sentence carries information, though the provider-behavior sentences are long and could be split for faster scanning.

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?

With an output schema present, annotations covering safety and idempotency, and full schema coverage on all seven parameters, the remaining burdens are privacy/behavioral disclosure and validation failure semantics — both addressed. An agent can call this correctly without consulting anything else.

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 per-field meaning is already fully documented and the baseline is 3. The description does add cross-field semantics the schema cannot express — the ga4_api_secret retention/removal rule and the conditional domain/measurement-ID requirements — but it does not restate or enrich individual field formats.

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?

The opening clause names a concrete verb and object ('Save where the help center's page views go') and immediately enumerates the two supported providers with their required credentials, so the agent knows this configures an analytics destination rather than reading one. It is clearly distinguishable from colliedesk_help_center_analytics_get and colliedesk_help_center_analytics_test, the latter named explicitly.

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 explicitly routes the agent to colliedesk_help_center_analytics_test as the follow-up verification step and states 'It is safe to repeat', which tells the agent retries are acceptable. It does not explicitly contrast with the get sibling (reading current config) or state preconditions beyond the 'Needs: help_center:update' scope, so it stops short of full when/when-not coverage.

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