Skip to main content
Glama

Instalar o rastreador do site

install_site_tracker
Idempotent

Creates or changes the workspace's website tracker (the 'Visitou seu site' signal) and returns the install snippet: two script lines the customer puts before on every page of their site, the domains it accepts visits from (the workspace's site by default), and a default paragraph for their privacy policy. The script identifies the COMPANY behind a visit by its network (not the person); a person only when they identify themselves: tagCampaignLinks adds a signed nk parameter to the campaign links that point to the customer's own site, and a form can call nock.identify(email). consentMode 'notice' respects Do Not Track; 'opt_in' sends nothing before nock.consent(true). citeVisits lets messages mention the visit (off by default: the visit only times the message). Visits are kept 90 days. Free. Once installed, the visiting companies can feed a signal monitor of category 'visitor' (periodDays 7/14/30, minStrength 0-100, buyingPagesOnly; 2 credits per company, +8 per decision maker our search found).

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

Input Schema

NameRequiredDescriptionDefault
statusNo
domainsNoThe site's domains, e.g. ["acme.com.br"]; subdomains are included.
citeVisitsNo
consentModeNo
tagCampaignLinksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a non-read-only, idempotent, non-destructive, closed-world mutation, and the description goes well beyond that: it discloses the upsert nature ('creates or changes'), the exact returned artifact, that consentMode 'notice' honors Do Not Track while 'opt_in' sends nothing until nock.consent(true), that citeVisits is off by default, and that visits are retained 90 days at no cost. It stops short of stating permission requirements or what happens to previously accepted domains on re-install.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and return value are correctly front-loaded, but the single dense paragraph then drifts into downstream monetization detail ('a signal monitor of category visitor ... 2 credits per company, +8 per decision maker') that does not help an agent decide or invoke. That tail could be trimmed or pushed to a separate tool without loss.

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 five-parameter mutation tool with no output schema and sparse schema descriptions, this is nearly self-sufficient: it explains the returned snippet contents, the tracking model (company by network, person only via identify), consent behavior, retention, and default domains. The missing pieces are the 'status' parameter's meaning and the authorization prerequisites.

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

Parameters4/5

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

With only 20% schema description coverage, the description carries most of the load and does so for four of five parameters: domains accept visits and default to the workspace's site, tagCampaignLinks signs campaign links, consentMode values are explained operationally, and citeVisits is off by default. The 'status' enum (active/paused) is never mentioned anywhere, leaving one parameter fully opaque.

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?

Names a specific verb and resource — 'Creates or changes the workspace's website tracker' — and immediately states what it produces (the install snippet with two script lines). It is clearly distinct from read-side siblings like list_site_visitors, so an agent can pick it without opening the schema.

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?

Usage context is implied rather than stated: the description explains the effect of each toggle ('tagCampaignLinks adds a signed nk parameter', consentMode 'notice' vs 'opt_in') but never says when the agent should call this versus an alternative, nor what prerequisites exist (e.g. admin rights needed to install a tracker). Guidance is present but must be inferred from option semantics.

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.