Skip to main content
Glama

Register New PrismUV Site

create_site

Provisions a new tracked PrismUV property for a domain and returns its site_id, snippet script tag, and ingestion secret. Use only for new domains; manage existing properties with list_sites.

Instructions

Create a new tracked property in PrismUV and return its site_id, snippet script tag, and ingestion secret. Use this only to provision a new domain; for existing properties, use list_sites. Requires a write token (HTTP 403 if read-only) and persists in the workspace until deleted.

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": {
      "name": "<name>",
      "domains": "<domains>"
    },
    "name": "create_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable display name for the tracked property.
domainsYesAllowed hostnames without scheme (e.g. ["example.com", "www.example.com"]).
site_idNoOptional URL-safe slug identifier; generated automatically from name when omitted.
adguard_modeNoInitial Fail-Open AdGuard invalid-traffic defense mode (default "shadow").shadow
primary_goal_eventNoPrimary custom conversion event name tracked for this site (default "tool_run_success").tool_run_success
public_share_enabledNoWhether a read-only public dashboard share link should be enabled (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.1.1
    • addedInput schema / properties / adguard_mode / default
      Added value: +"shadow"
    • addedInput schema / properties / adguard_mode / description
      Added value: +"Initial Fail-Open AdGuard invalid-traffic defense mode (default \"shadow\")."
    • changedInput schema / properties / domains / description
      Previous value: -"Allowed hostnames e.g. [\"example.com\", \"www.example.com\"]"New value: +"Allowed hostnames without scheme (e.g. [\"example.com\", \"www.example.com\"])."
    • changedInput schema / properties / name / description
      Previous value: -"Display name of the site"New value: +"Human-readable display name for the tracked property."
    • addedInput schema / properties / primary_goal_event / default
      Added value: +"tool_run_success"
    • changedInput schema / properties / primary_goal_event / description
      Previous value: -"Primary conversion event name (default tool_run_success)"New value: +"Primary custom conversion event name tracked for this site (default \"tool_run_success\")."
    • addedInput schema / properties / public_share_enabled / default
      Added value: +false
    • addedInput schema / properties / public_share_enabled / description
      Added value: +"Whether a read-only public dashboard share link should be enabled (default false)."
    • changedInput schema / properties / site_id / description
      Previous value: -"Optional custom slug ID"New value: +"Optional URL-safe slug identifier; generated automatically from name when omitted."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, open-world, and non-idempotent behavior, so the bar is lower. The description adds genuinely new context: a write token is required and read-only tokens get HTTP 403, and the property persists until explicitly deleted. The one gap is that idempotentHint=false is never elaborated — it does not say what happens on a duplicate name or site_id — but the auth and persistence disclosures are real value beyond the structured fields.

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?

Three sentences, each doing distinct work: what it creates and returns, when not to use it, and the auth/persistence constraints. The purpose is front-loaded and nothing is repeated from the schema or annotations.

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?

For a provisioning mutation with no output schema, the description supplies the return payload, the auth precondition, and lifecycle semantics, which is most of what an agent needs. It stops short of covering collision behavior (duplicate domains or explicit site_id) despite idempotentHint=false, which is the only meaningful remaining gap.

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 six parameters, including the AdGuard enum values and defaults. The description adds no parameter-level meaning beyond what is in the schema; its mention of site_id refers to the return value, not the optional input slug. Baseline 3 is appropriate.

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 and resource ('Create a new tracked property in PrismUV') and immediately names the three artifacts returned (site_id, snippet script tag, ingestion secret). It also names the sibling it is not (list_sites), so an agent can distinguish provisioning from browsing without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit positive condition ('only to provision a new domain') and an explicit exclusion plus alternative ('for existing properties, use list_sites'). The when-not and the fallback tool are both spelled out rather than inferred.

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