Skip to main content
Glama

connect_ga

DestructiveIdempotent

Initiate the Google Analytics connection flow for a site.

Input Schema

NameRequiredDescriptionDefault
site_idYesThe site ID to connect GA for
property_idYesThe GA4 property ID to connect

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, idempotent, open-world operation, so the safety bar is lowered. The word 'flow' usefully signals an interactive/redirect-based auth exchange, which annotations do not convey, but the description never discloses the destructive consequence declared by destructiveHint=true (e.g. overwriting or replacing an existing GA connection).

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?

A single front-loaded sentence naming the verb and resource with no filler. It is efficient, though so terse that it omits information the six dimensions above show is missing.

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

Completeness2/5

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

For a state-mutating, open-world connection tool with destructiveHint=true and no output schema, the description says nothing about preconditions, what the returned flow requires, or what existing data may be affected. An agent could call it correctly but not safely.

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 site_id and property_id are already documented in the schema, and the description adds nothing about their format or relationship (e.g. that the property must belong to the site). Baseline 3 applies when the schema carries parameter meaning.

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?

States a specific verb ('Initiate') and resource ('Google Analytics connection flow for a site'), which separates it from connect_google_ads, connect_framer, connect_github and the other connect_* siblings by resource. It is clear but does not explain how it differs from the read-side siblings like get_ga_status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance about when to use this tool versus an alternative, no mention of prerequisites such as a connected site or an existing OAuth session, and no note on what to do if a GA connection already exists.

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