Skip to main content
Glama

pangea_enable_analytics

Enable cookieless Umami web analytics for an HTTP project and return the embed script snippet plus share URL.

Instructions

Enable cookieless web analytics (Umami) for an HTTP project and return its embed script snippet and share URL.

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": "pangea_enable_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoOptional primary hostname override
projectNoOptional project ID (prj_...) or name
directoryNoOptional local directory containing pangea.yaml
project_idNoOptional project ID (prj_...)
rotate_shareNoRotate the public read-only Umami share link ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose that this is an enabling mutation and what the response contains (embed snippet and share URL) — useful since there is no output schema. It omits idempotency, whether re-enabling is safe, permission/auth requirements, and whether the config change requires a redeploy.

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?

A single sentence that front-loads the action and follows with the return values; there is no redundant or filler wording.

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 a zero-annotation mutation with no output schema, the description covers the action and the return shape reasonably well. It still leaves an agent guessing about prerequisites (existing project/directory, auth) and about side effects such as whether the embed snippet is regenerated or the share link is publicly readable.

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 explains all five optional parameters, including the prj_ format and the rotate_share effect. The description adds no parameter-level meaning beyond implying an HTTP project target, 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?

The description pairs a specific verb (Enable) with a specific resource (cookieless web analytics/Umami) and scopes it to an HTTP project, then states what it returns. The verb itself cleanly separates it from pangea_disable_analytics and pangea_get_analytics, though it never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. The phrase 'for an HTTP project' hints at a constraint but doesn't state what happens for non-HTTP projects or that pangea_get_analytics should be used to inspect existing config.

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

Deploy Server

Other Tools