Skip to main content
Glama
key-arg

Statable Analytics

get_tracking_snippet

Get the exact tracking snippet and script URL for any site, ready to install verbatim. Use it to add cookieless analytics tracking without modifying the code.

Instructions

The script tag to install on a site, and the url it loads. Response: {"site_id":123,"type":"default","script_url":"https://...","snippet":"<script ...>"}. Install snippet verbatim; do not rebuild a tag from script_url. A hobby site's snippet also carries data-id, which is the only place the counter in its bundle reads the site id. Read-only: it reports the code, it does not install or verify anything.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYessite_id from list_sites.
typeNoOptional bundle variant; omit for the default script.

Schema Changelog

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

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so thoroughly: it states the operation is read-only, does not install or verify anything, warns against rebuilding the tag, and documents the hobby-site data-id behavior. This is well beyond a minimal description.

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?

Four sentences, front-loaded with the core purpose, then a compact response example, then the two important caveats. No filler; every sentence adds operational value.

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?

The tool is simple, and the description covers the response shape, the read-only safety profile, and the critical installation edge case. With no output schema and no annotations, the description gives an agent enough to call the tool correctly without further inference.

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 both the site and type parameters. The description adds a response example and usage cautions but does not add parameter-level meaning beyond the schema, matching the baseline for high coverage.

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 opens with a concrete resource: the script tag and URL to install on a site. It clearly identifies the retrieval intent and distinguishes this tool from configuration-oriented siblings by framing the output as installation code and noting it is read-only.

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?

The context is clear: use this when you need the installation snippet for a site. It adds explicit guidance to install the snippet verbatim and not rebuild it from script_url. It does not name an alternative tool or state when not to use it, so it stops short of full routing guidance.

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