Skip to main content
Glama

Set project Google Analytics property

set_google_analytics_property
DestructiveIdempotent

Set which GA4 property a project reads, through a Google account the user already connected in the FastestRank dashboard. Pass the propertyId and ga4AccountId from list_google_analytics_properties. Replaces the project's previous binding. Requires permission to manage integrations. Uses no credits.

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": {
      "projectId": "<projectId>",
      "propertyId": "<propertyId>",
      "ga4AccountId": "<ga4AccountId>"
    },
    "name": "set_google_analytics_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
propertyIdYesGA4 property exactly as list_google_analytics_properties returns it (e.g. "properties/123456789").
ga4AccountIdYesaccountId of the connected Google account from the list tool.

Output Schema

NameRequiredDescriptionDefault
okYes
metaNo
projectIdYes
propertyIdYes
ga4AccountIdYes
connectedByEmailYes
propertyDisplayNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description explains *what* is destroyed — "Replaces the project's previous binding" — plus the permission requirement (manage integrations) and the cost profile (no credits). That is exactly the context annotations cannot convey, and it is consistent with destructive/idempotent hints.

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?

Four short sentences, each carrying distinct load: action, provenance of inputs, destructive effect, permission, cost. The mutating/replacement consequence is front-loaded right after the input source, with zero filler.

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

Completeness5/5

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

With an output schema present, return values need no explanation; the description instead covers the gaps that matter for a destructive setter — prior binding loss, auth/permission requirement, input source, and credit cost. Nothing an agent needs before invoking it is missing.

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 each parameter is already documented in the schema, including the properties/123456789 format and the list-tool provenance. The description repeats the same sourcing hint, adding no syntax or constraint detail beyond the structured fields, 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?

Opens with a specific verb+resource ("Set which GA4 property a project reads") and scopes it to a connected Google account, which clearly separates it from the read-only list_google_analytics_properties sibling. An agent knows exactly what the tool changes without opening the schema.

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 to list_google_analytics_properties as the source of propertyId and ga4AccountId, which is the real prerequisite. It does not state when *not* to use it or what to do if no account is connected, but for a single-purpose setter the usage context is effectively complete.

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.