Skip to main content
Glama

ga4_property_from_firebase

Find the GA4 property and Android/iOS data streams linked to a Firebase project, so you can configure analytics when you only know the Firebase project.

Instructions

Find the GA4 property linked to a Firebase project, with the data stream for each Android and iOS app. Use it before ga4_configure when you only know the Firebase project. Requires: Firebase Management API (firebase.googleapis.com) enabled on the quota project; Firebase Viewer (o Lector) en el proyecto de Firebase. If it fails for access, the error explains how to fix it; ga4_check_access checks everything at once.

Input Schema

NameRequiredDescriptionDefault
firebase_projectYesFirebase / Google Cloud project id, e.g. "my-firebase-project"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses required API enablement (firebase.googleapis.com on the quota project), required IAM role (Firebase Viewer/Lector), and that failures return actionable access errors. It stops short of stating whether it performs any writes or how large the response can get.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the 'use before ga4_configure' guidance are front-loaded, which is good. However the prerequisite sentence mixes languages ('Firebase Viewer (o Lector) en el proyecto de Firebase'), reducing clarity for an agent parsing requirements.

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 single-parameter lookup with no output schema, the description covers purpose, prerequisites, error behavior, and a related alternative. The main omission is a hint about the shape of the returned property/stream data, though the opening sentence partially implies it.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains the project id format. The description adds no extra meaning about the parameter, which matches the baseline for full coverage.

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 and resource ('Find the GA4 property linked to a Firebase project') plus the returned detail (data streams per Android/iOS app). It does not distinguish itself from similarly-named siblings like ga4_firebase_links or ga4_firebase_apps, which an agent could easily confuse it with.

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?

Explicitly says to use it before ga4_configure when only the Firebase project is known, and routes access-checking to ga4_check_access. This covers the main selection decision, though it doesn't rule out when not to use it versus the firebase/apps siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.