Skip to main content
Glama

AdsAgent — Google Ads MCP

mmp_fetch_cohorts

Fetch and store one cohort window for one MMP app on the Meta-owned MMP service. Synchronous and slow. Returned cohort rows are paged at up to 1000 rows and 256KiB per page (a single oversized row is returned whole with oversized_row=true); when truncated=true call again with next_cursor as cursor. Returns mmp_not_enabled while MMP is not enabled for the tenant.

Input Schema

NameRequiredDescriptionDefault
cursorNo
app_refYes
date_toYes
date_fromYes
connection_idYes
connection_contextNo
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

A3.5/5.0
Behavior4/5

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

Annotations already state it is not read-only and not destructive, and the description adds valuable behavioral context: it is synchronous and slow, pages rows at 1000 rows/256KiB, handles oversized rows with oversized_row=true, requires cursor continuation when truncated=true, and can return mmp_not_enabled. This is strong disclosure beyond annotations, though it lacks permission or rate-limit details.

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?

The description is compact and front-loaded with purpose, followed by performance and pagination behavior, then error behavior. Every sentence adds useful information with no filler.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the description covers important behavior like pagination and error handling. However, for a 7-parameter mutation-ish tool with 0% schema description coverage, the missing parameter semantics make the definition incomplete.

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%, so the description must carry parameter meaning. It explains cursor/next_cursor and implies app and date-window semantics, but says nothing about connection_id, connection_context, or selected_source_refs, leaving most of the 7 parameters undocumented.

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 and resource: fetching and storing one cohort window for one MMP app on the Meta-owned MMP service. It is clear what the tool does, but it does not explicitly distinguish itself from sibling MMP tools such as mmp_get_state or mmp_save_cohort_config.

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 implied by the fetch-and-store cohort purpose, and there is explicit continuation guidance for pagination via truncated/next_cursor. However, it gives no guidance on when to choose this tool over sibling MMP tools or when not to use it.

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