Skip to main content
Glama

Set integrations

set_integrations
DestructiveIdempotent

Set analytics and verification ids, rendered as real tags on published pages: GA4, GTM, Search Console, Meta Pixel, Google Ads. Other third-party scripts go in ROOT inject.head/footer via patch_site_node. Per-action conversions: get_style_reference({ topic: "integrations" }).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoSite id.
googleAdsNoAW-XXXXXXXXXX. Needed for per-action google-ads conversions.
metaPixelNoMeta Pixel id.
googleAnalyticsNoGA4 id, G-XXXXXXXXXX.
googleTagManagerNoGTM-XXXXXXX.
googleSearchConsoleNoVerification content value only, not the meta tag.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Site id. Pass it on every call."New value: +"Site id."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the agent knows this mutates state. The description adds useful context that ids are 'rendered as real tags on published pages', but never clarifies the destructive side the annotation flags — e.g., whether omitting a field clears an existing id or leaves it untouched.

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

Conciseness4/5

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

Three tight sentences, front-loaded with the core action and scope, then the exclusions and the pointer to further docs. No filler, though the get_style_reference call syntax is slightly cryptic without explanation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, idempotent mutation with six all-optional parameters and no output schema, the description omits the most decision-relevant behavior: what happens to existing integrations when fields are omitted. The tag-rendering note and sibling routing partially compensate.

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% and the schema already supplies format examples (G-XXXXXXXXXX, AW-XXXXXXXXXX, GTM-XXXXXXX) plus the note that Search Console takes the verification content value only. The description adds no per-parameter meaning, so the baseline 3 applies.

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 ('Set analytics and verification ids') and enumerates exactly which integrations are covered: GA4, GTM, Search Console, Meta Pixel, Google Ads. It also distinguishes itself from the sibling patch_site_node, which handles other third-party scripts.

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?

Explicitly routes adjacent use cases: non-listed third-party scripts go through patch_site_node, and per-action conversion setup is delegated to get_style_reference({ topic: 'integrations' }). It does not state prerequisites (e.g., that tags only materialize on published pages is implied but not framed as a condition of use).

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