Skip to main content
Glama

Word of Agent

Check a lead event in Google Analytics now

check_lead_event
Read-only

Checks one event in the site's Google Analytics now: whether it fired in the last 30 minutes (the realtime report) and whether the property counts it as a key event. Returns the event with its setup steps (fires, keyEvent, lead: done, waiting or todo, with what to do). Use it right after the owner does the action on the site, to say whether it worked. Read-only. Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "site": "<site>",
      "event": "<event>"
    },
    "name": "check_lead_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes
eventYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint false and openWorldHint false, and 'Read-only. Free.' largely restates that safety profile rather than adding to it. The genuinely additive parts are the 30-minute realtime window and the shape of the returned setup steps (fires, keyEvent, lead: done/waiting/todo), which tell the agent what a result means; there is no mention of cost limits, auth prerequisites, or what happens when the event is unknown.

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?

The verb, resource and the two things being checked are front-loaded in the first sentence, and the usage instruction follows logically. The parenthetical '(the realtime report)' and the trailing 'Read-only. Free.' are the only low-value fragments, which is minor waste in an otherwise tight definition.

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?

With an output schema present, the description need not detail return values, and it still sketches the setup-step outcome, which helps interpret results. For a two-parameter read check the coverage is nearly sufficient; the remaining shortfall is the unresolved meaning of the 'site' and 'event' inputs.

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?

Schema description coverage is 0%, so both required parameters depend entirely on this text. The description only indirectly implies that 'site' is a site in the Google Analytics property and 'event' is a GA event name; it gives no format, no indication whether site is a domain, URL or internal identifier, and no guidance on matching the event name exactly (including the 40-character cap in the schema).

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?

The description opens with a specific verb and a precisely scoped resource: 'Checks one event in the site's Google Analytics now', and it names both sub-checks (realtime firing in the last 30 minutes and key-event status). The singular 'one event' implicitly separates it from list-style siblings such as get_lead_events, but no sibling is named explicitly, so differentiation is inferred rather than stated.

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?

'Use it right after the owner does the action on the site, to say whether it worked' gives a concrete triggering condition and the purpose of the call. It does not state when not to use it or point at an alternative tool when the event happened outside the 30-minute window, which keeps it short of a 5.

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