Skip to main content
Glama
key-arg

Statable Analytics

update_tracking_settings

Update a site's tracking script features by replacing the full feature selection. Send the complete list of feature IDs to enable; omitted features are disabled.

Instructions

Set which tracking features the site's script includes. REPLACES the whole selection: send every feature you want enabled, not just the new one — anything omitted is turned off. Call get_tracking_settings first for the valid ids. Rebuilds and republishes the script, so the change reaches visitors after the CDN cache clears.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYessite_id from list_sites.
featuresYesFeature ids to enable, from get_tracking_settings. The complete list, not a delta; [] disables every optional feature.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries full responsibility and does an excellent job: it warns that the selection is fully replaced, any omitted feature is disabled, and the script is rebuilt and republished with a CDN propagation delay. These are critical behavioral traits beyond the basic schema.

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?

The description is compact and well-structured: purpose first, then the critical replacement warning, then the prerequisite, then the side-effect timing. Every sentence contributes actionable information with no redundancy.

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?

For a two-parameter mutation tool with no output schema and no annotations, the description covers all necessary aspects: what changes, how the parameter should be provided, how to get valid values, and when the change takes effect. Nothing critical is missing for correct invocation.

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?

The schema already covers both parameters at 100%, so the baseline is 3. The description adds significant value by clarifying that 'features' is the complete list, not a delta, and that an empty array disables all optional features. It also instructs calling get_tracking_settings first for valid IDs.

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 description uses a specific verb and resource: 'Set which tracking features the site's script includes.' This clearly distinguishes it from get_tracking_settings (reading) and update_site (general site updates), and the replacement behavior is stated up front.

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?

Clear context is provided: the tool is for setting tracking features and should be preceded by get_tracking_settings to obtain valid IDs. It does not explicitly state when not to use it or name alternatives beyond get_tracking_settings, but the purpose is specific enough that an agent can route correctly.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/key-arg/statable-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server