Skip to main content
Glama

Google Analytics 4 MCP by InsightfulPipe

GA4 Prompts

prompts_menu
Read-only

Google Analytics skills (prompts). To run a skill the user names, find it by name with request='menu', then read it with request='prompt_details'.

  1. request='menu' – List public/system prompts (optionally pass workspace_id + prompt_type).

  2. request='prompt_details' – Fetch prompt body by prompt_id. Set is_custom=True + workspace_id for workspace prompts.

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": {
      "request": "<request>"
    },
    "name": "prompts_menu"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes
is_customNo
prompt_idNo
prompt_typeNo
workspace_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With readOnlyHint=true already declaring a safe read, the description adds the operational context that matters: 'menu' returns a public/system list, and workspace prompts require is_custom=True plus workspace_id when fetching details. It does not mention auth requirements or rate limits, but the dispatch behavior — the trait most likely to cause misuse — is disclosed.

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 lead sentence states the overall intent and the two-step workflow up front, then a numbered list maps each mode to its parameters. There is minor redundancy between the workflow sentence and the list items, but every line still adds routing information.

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 two-mode dispatcher with five optional-heavy parameters, the description covers the mode selection, the parameter combinations, and the call ordering; return values need not be explained since an output schema exists. Remaining gaps are small — no error/precondition guidance for prompt_details without prompt_id.

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 description coverage is 0%, so the description must carry the load, and it largely does: it explains both 'request' enum values, prompt_type's optional pairing with workspace_id, prompt_id's role for prompt_details, and the is_custom/workspace_id combination. Only the default behavior when prompt_id is omitted is left implicit.

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 names the resource (Google Analytics skills/prompts) and the two concrete operations behind the 'request' discriminator ('menu' lists prompts, 'prompt_details' fetches a prompt body). An agent can tell what the tool returns without opening the schema. It does not differentiate itself from the siblings (execute_action, query_contexts, query_data), leaving the boundary to be inferred.

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 gives an explicit two-step workflow: 'To run a skill the user names, find it by name with request=menu, then read it with request=prompt_details' — clear on when each mode applies and in what order. It does not state when not to use the tool or which sibling to prefer instead, so it stops short of full alternative guidance.

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.