Skip to main content
Glama

AdsAgent — Google Ads MCP

mmp_save_cohort_config

Destructive

Save cohort fetch parameters for one MMP app on the Meta-owned MMP service. Only supplied fields are forwarded. Returns mmp_not_enabled while MMP is not enabled for the tenant.

Input Schema

NameRequiredDescriptionDefault
kpisNo
app_refYes
groupingsNo
cohort_typeNo
partial_dataNo
connection_idYes
period_filtersNo
min_cohort_sizeNo
aggregation_typeNo
connection_contextNo
preferred_currencyNo
preferred_timezoneNo
selected_source_refsNo

Output Schema

NameRequiredDescriptionDefault
okNo
codeNo
rowsNo
errorNo
needsNo
reasonNo
statusNo
enabledNo
providerNo
retryableNo
truncatedNo
error_codeNo
total_rowsNo
cohort_dataNo
connectionsNo
next_actionNo
next_cursorNo
support_refNo
connection_idNo
oversized_rowNo
invalid_fieldsNo
rejected_pathsNo
origin_support_refNo
metadata_by_connectionNo
cohort_configs_by_connectionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "cohort_configs_by_connection": {
      +      "additionalProperties": true,
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "cohort_data": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "connection_id": {
      +      "type": "string"
      +    },
      +    "connections": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "enabled": {
      +      "type": "boolean"
      +    },
      +    "error": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "additionalProperties": true,
      +              "properties": {
      +                "code": {
      +                  "type": "string"
      +                },
      +                "details": {
      +                  "additionalProperties": true,
      +                  "properties": {},
      +                  "type": "object"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "retryable": {
      +                  "type": "boolean"
      +                },
      +                "support_ref": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "error_code": {
      +      "type": "string"
      +    },
      +    "invalid_fields": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "metadata_by_connection": {
      +      "additionalProperties": true,
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "needs": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "next_action": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "additionalProperties": true,
      +              "properties": {},
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "next_cursor": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "origin_support_ref": {
      +      "type": "string"
      +    },
      +    "oversized_row": {
      +      "type": "boolean"
      +    },
      +    "provider": {
      +      "type": "string"
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "rejected_paths": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "retryable": {
      +      "type": "boolean"
      +    },
      +    "rows": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "support_ref": {
      +      "type": "string"
      +    },
      +    "total_rows": {
      +      "type": "integer"
      +    },
      +    "truncated": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

B3.1/5.0
Behavior3/5

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

Useful behavioral details are present: only supplied fields are forwarded (partial-update semantics) and the mmp_not_enabled error is surfaced. However, annotations declare destructiveHint=true, and the description never explains what gets overwritten or that existing cohort config for the app may be replaced — a material omission for a destructive write.

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?

Three short sentences with the core purpose front-loaded and no filler. The error-code sentence earns its place; only a slight expansion would be needed to keep it this tight while covering more.

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

Completeness2/5

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

For a 13-parameter destructive mutation with an output schema, the description leaves the agent guessing on which fields are meaningful, whether the save replaces or merges existing settings, and what makes the operation destructive. It covers the surface only.

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

Parameters2/5

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

Schema description coverage is 0% across 13 parameters, and the description adds almost nothing beyond 'only supplied fields are forwarded.' Nothing explains what kpis, groupings, cohort_type, period_filters, min_cohort_size, selected_source_refs, or the mctx_v1_ connection_context token mean or how they interact.

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 states a specific verb+resource: saving cohort fetch parameters for a single MMP app on the Meta-owned MMP service. It is clearly distinct from read-side siblings like mmp_fetch_cohorts, though it does not name that sibling explicitly.

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?

Usage is only implied — an agent can infer this is the write counterpart to mmp_fetch_cohorts, but the description never says when to save config versus fetch it, nor does it state prerequisites such as an enabled MMP or an established connection.

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