Skip to main content
Glama

PageHub

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. Pass it on every call.
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. 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 readOnlyHint=false, destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds the useful fact that ids become real tags on published pages, but it never says whether omitting an id clears an existing integration or what happens to previously configured providers – important context for a destructive, idempotent setter.

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 clauses, front-loaded with the primary purpose before the routing notes. No filler sentences, though the get_style_reference pointer is somewhat tangential to the core action.

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?

With six optional parameters, no output schema, and a destructive+idempotent annotation profile, the description covers the providers but leaves the omit-vs-clear semantics and any partial-update behavior unstated. Adequate but not complete for a mutation tool of this shape.

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 coverage is 100% and each parameter already carries its own format hint (AW-XXXXXXXXXX, G-XXXXXXXXXX, GTM-XXXXXXX, verification value only). The description restates the provider names but adds no format, constraint, or interaction detail beyond the schema, so 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?

The description states a specific verb (set) and resource (analytics/verification ids), names the concrete providers (GA4, GTM, Search Console, Meta Pixel, Google Ads), and clarifies they render as real tags on published pages. It explicitly carves out the sibling tool patch_site_node for other scripts, so an agent can distinguish it from neighbors without opening schemas.

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?

It routes the agent correctly: other third-party scripts belong in ROOT inject.head/footer via patch_site_node, and per-action conversions require get_style_reference({topic: 'integrations'}). That is clear when-to-use guidance with a named alternative, though it doesn't state when this tool should be preferred over e.g. set_checkout or other set_* siblings beyond the script case.

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