Skip to main content
Glama

Honeyfield Marketing MCP

GA4: Archive custom metric

ga4_archive_custom_metric
Destructive

GA4 Custom Metric archivieren. metric_name akzeptiert die reine ID oder den vollen Ressourcen-Pfad. property_id: die GA4-Property des Workspace (andere werden abgelehnt). workspace: Slug des Kunden-Workspace (optional bei nur einem Workspace).

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": {
      "property_id": "<property_id>",
      "metric_name": "<metric_name>"
    },
    "name": "ga4_archive_custom_metric"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceNo
metric_nameYes
property_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds the useful validation rule that a foreign property_id is rejected, but does not disclose whether archiving is reversible, what happens to historical report data, or any permission requirements beyond annotation 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?

Three tight sentences, purpose front-loaded, each subsequent sentence covering a distinct parameter concern with no filler.

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 destructive 3-param tool with an output schema, the definition covers purpose, parameter meaning, and validation constraints. The only meaningful gap is an explicit note on irreversibility/what archiving removes, which matters given destructiveHint=true.

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?

With 0% schema description coverage, the description carries the parameter burden and does so for all three: metric_name accepts either the bare ID or full resource path, property_id is tied to the workspace property, and workspace is optional for single-workspace customers. It stops short of a concrete property_id format example, which keeps it from a 5.

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?

States a specific verb (archivieren) and resource (GA4 Custom Metric), which cleanly separates it from siblings like ga4_create_custom_metric, ga4_list_custom_metrics, and ga4_archive_custom_dimension. An agent can identify the operation 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides prerequisites (property_id must belong to the workspace; others are rejected; workspace is optional with a single workspace), but does not explicitly say when to choose archive over other lifecycle operations (e.g., delete vs. archive) or name alternatives. Usage is implied rather than directed.

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