Skip to main content
Glama
leonardosepulvedat

MCP Google Analytics Server

ga_send_begin_checkout

Send a begin checkout event to Google Analytics to monitor when users start the checkout process and identify drop-off points.

Instructions

Send a begin checkout event to Google Analytics.

Ecommerce event for tracking when users start the checkout process.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesItems in checkout
valueYesTotal value of cart
couponNoCoupon code applied
user_idNo
currencyYesCurrency code
client_idNo
user_propertiesNoUser properties (e.g., {subscription_tier: {value: "premium"}})

Schema Changelog

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

  1. Changed20 schema fields changedv1.1.1
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / items / items / additionalProperties
      Added value: +false
    • addedInput schema / properties / items / items / properties / affiliation
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / coupon
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / currency
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / discount
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / items / items / properties / index
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / items / items / properties / item_brand
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / item_category
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / item_category2
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / item_category3
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / item_category4
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / item_category5
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / item_list_id
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / item_list_name
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / item_variant
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / location_id
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / user_properties / additionalProperties
      Previous value: -trueNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "value": {
      +      "type": [
      +        "string",
      +        "number"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "value"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / user_properties / description
      Added value: +"User properties (e.g., {subscription_tier: {value: \"premium\"}})"
  2. First observedv1.0.1

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already mark this as non-read-only and non-idempotent, and the description's 'Send' makes the outbound write nature clear. However, the description adds little beyond that—no mention of auth requirements, duplicate-event risk, or the Google Analytics side effects beyond sending the event.

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?

Two short sentences that lead with the core action and follow with the event's purpose. There is no filler or redundant detail, and the most important information is front-loaded.

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

Completeness4/5

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

For a straightforward event-sending tool, the description gives the event type, timing, and purpose. The schema covers the nested item structure and required parameters. It would be improved by noting when not to use it (e.g., use ga_send_purchase for completed checkout), but the description is otherwise sufficiently complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides no parameter-level guidance beyond what the schema already states. With 71% schema coverage, most parameters are documented, but user_id and client_id remain unexplained, and the description does not compensate for those gaps or add meaning to the required fields.

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 clearly states the action ('Send a begin checkout event to Google Analytics') and supplies the event's purpose ('tracking when users start the checkout process'). This is specific enough to distinguish from sibling tools like ga_send_purchase or ga_send_add_to_cart.

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 second sentence gives clear usage context: use this event when a user starts checkout. It does not explicitly call out sibling alternatives or exclusions, but the timing and event semantics are clear enough for an agent to select it appropriately.

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/leonardosepulvedat/mcp-google-analytics'

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