Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: measurement codes and scripts

describe_tracking
Read-onlyIdempotent

AddSynapse: The measurement codes of the site: Google Analytics 4, Google Tag Manager, Google Ads, Meta Pixel, Microsoft Clarity and TikTok Pixel added through AddSynapse; codes that other plugins (Site Kit, MonsterInsights, PixelYourSite, GTM4WP, Facebook for WooCommerce…) or the theme already add, so nothing is counted twice; the cookie banner (consent tool); and the scripts added by the AI with their full code, pages and whether JavaScript from the AI is allowed on this site. Read-only. Call it before plan_tracking_code or plan_custom_script.

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

Input Schema

NameRequiredDescriptionDefault
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
check_pageNoalso look at the rendered home page for codes (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the 'Read-only' sentence is partly redundant. However, the description adds real behavioral context beyond them: it discloses de-duplication logic ('codes that other plugins ... or the theme already add, so nothing is counted twice') and that it inspects the rendered home page, which matters for interpreting results.

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?

The content is dense and useful but delivered as one long run-on sentence with a parenthetical plugin list, a trailing ellipsis, and a brand prefix that earns nothing. Front-loading the actual purpose before the enumeration would improve scannability without losing 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 carries the burden of describing returns, and it does so well: full script code, the pages they appear on, and whether AI JavaScript is permitted. For a two-parameter read-only inspection tool this is close to complete; only the shape/size of the result is unspecified.

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 both parameters (site, check_page) are already documented in the schema with defaults. The description adds no extra parameter meaning such as what 'site' accepts or the cost of enabling check_page; it instead spends its words on the returned content, 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 names a concrete resource and enumerates its scope precisely: GA4, GTM, Google Ads, Meta Pixel, Clarity, TikTok Pixel, consent/cookie banner, and AI-added scripts. It distinguishes itself from the planning siblings by being the inspection step, though the opening 'AddSynapse:' brand prefix and the list-like phrasing delay the core 'this reads the site's existing tracking inventory' statement.

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?

Explicit sequencing guidance is given: 'Call it before plan_tracking_code or plan_custom_script', which tells the agent exactly where this fits in a workflow and names the alternatives it precedes. It does not state a when-not condition or what to do if the site is not yet connected, but the core usage context is unambiguous.

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