Skip to main content
Glama
Google Analytics MCP Plus

Google Analytics MCP Plus

by marcvrn

get_request_schema

Read-only

Inspect protobuf request fields and nested message types without credentials, using an Admin method or data.kind, to validate field masks before Google Analytics API calls.

Instructions

Inspect protobuf request fields without credentials. Method is an Admin method (e.g. create_key_event) or data. (e.g. data.report). Pass a returned message_type to inspect nested fields. Field masks are comma-separated strings.

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": {
      "method": "<method>"
    },
    "name": "get_request_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodYes
message_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already cover safety (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the description's contribution is the credential-free access note plus the recursive inspection workflow. Both are meaningful operational context an agent cannot get from the annotations. It does not describe output shape or any limits on recursion depth.

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?

Four short sentences, front-loaded with the core purpose followed by the two usage rules. The field-mask sentence is the weakest element because it does not attach to any named parameter in the schema, creating slight ambiguity rather than tight economy.

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?

Only two parameters, no nested objects, and safety is already declared by annotations, so the remaining burden is explaining how to supply values and why the tool exists without auth — both are covered. The recursion hint about re-passing message_type implicitly signals that the response contains a message_type, which suffices for a small read-only introspection tool with no output schema.

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

Parameters4/5

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

Schema coverage is 0%, so the description bears the full burden, and it largely delivers: `method` is defined as an Admin method name or a data.<kind> path with concrete examples, and `message_type` is defined as a returned type used to descend into nested fields. The trailing 'Field masks are comma-separated strings' line adds meaning for a concept with no corresponding parameter in the schema, so that detail reads as orphaned.

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?

Starts with a specific verb+resource ('Inspect protobuf request fields') and adds a scope qualifier ('without credentials') that distinguishes it from credential-requiring siblings like admin_read. It does not explicitly contrast with get_metadata or list_admin_methods, but the object of inspection (request fields) is concrete enough to separate it.

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?

Gives real guidance on invocation context: it works without credentials, the `method` value must be either an Admin method (e.g. create_key_event) or a data.<kind> path (e.g. data.report), and a returned message_type can be fed back in to recurse into nested fields. There are no explicit exclusions or named alternatives, so it stops 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.