Skip to main content
Glama

AdsAgent — Meta Ads MCP

mmp_get_state

Read-only

Read MMP mapping, cohort, and funnel state

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "apps_count": {
      -        "type": "integer"
      -      },
      -      "available_channel_pids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "available_events_sample": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "connected": {
      -        "type": "boolean"
      -      },
      -      "providers": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "safe_mode_reduced": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "connected",
      -      "providers",
      -      "apps_count",
      -      "available_channel_pids",
      -      "available_events_sample",
      -      "safe_mode_reduced"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "cohort_configs_by_connection": {
      -        "additionalProperties": {
      -          "additionalProperties": {
      -            "properties": {
      -              "aggregation_type": {
      -                "type": "string"
      -              },
      -              "cohort_type": {
      -                "type": "string"
      -              },
      -              "groupings": {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "kpis": {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "last_used_from": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "last_used_to": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "min_cohort_size": {
      -                "type": "integer"
      -              },
      -              "partial_data": {
      -                "type": "boolean"
      -              },
      -              "period_filters": {
      -                "items": {
      -                  "type": "integer"
      -                },
      -                "type": "array"
      -              },
      -              "preferred_currency": {
      -                "type": "boolean"
      -              },
      -              "preferred_timezone": {
      -                "type": "boolean"
      -              },
      -              "provider": {
      -                "type": "string"
      -              },
      -              "provider_app_id": {
      -                "type": "string"
      -              },
      -              "selected_channel_pids": {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "type": "object"
      -        },
      -        "type": "object"
      -      },
      -      "connections": {
      -        "items": {
      -          "properties": {
      -            "created_at": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "display_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "last_synced_at": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "provider": {
      -              "type": "string"
      -            },
      -            "status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "updated_at": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "degraded": {
      -        "type": "boolean"
      -      },
      -      "degraded_reasons": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "metadata_by_connection": {
      -        "additionalProperties": {
      -          "items": {
      -            "properties": {
      -              "app_name": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "channel_pid": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "event_mappings": {
      -                "items": {
      -                  "properties": {
      -                    "event_name": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "mapped_events": {
      -                "items": {
      -                  "properties": {
      -                    "event_name": {
      -                      "type": "string"
      -                    },
      -                    "send_revenue": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "provider": {
      -                "type": "string"
      -              },
      -              "provider_app_id": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "connections",
      -      "metadata_by_connection",
      -      "cohort_configs_by_connection"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "apps_count": {
      +        "type": "integer"
      +      },
      +      "available_channel_pids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "available_events_sample": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "connected": {
      +        "type": "boolean"
      +      },
      +      "degraded": {
      +        "description": "Secondary stored configuration reads were unavailable.",
      +        "type": "boolean"
      +      },
      +      "degraded_reasons": {
      +        "description": "Allowlisted public missing-data reasons only.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "providers": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "safe_mode_reduced": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "connected",
      +      "providers",
      +      "apps_count",
      +      "available_channel_pids",
      +      "available_events_sample",
      +      "safe_mode_reduced"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "cohort_configs_by_connection": {
      +        "additionalProperties": {
      +          "additionalProperties": {
      +            "properties": {
      +              "aggregation_type": {
      +                "type": "string"
      +              },
      +              "cohort_type": {
      +                "type": "string"
      +              },
      +              "groupings": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "kpis": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "last_used_from": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "last_used_to": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "min_cohort_size": {
      +                "type": "integer"
      +              },
      +              "partial_data": {
      +                "type": "boolean"
      +              },
      +              "period_filters": {
      +                "items": {
      +                  "type": "integer"
      +                },
      +                "type": "array"
      +              },
      +              "preferred_currency": {
      +                "type": "boolean"
      +              },
      +              "preferred_timezone": {
      +                "type": "boolean"
      +              },
      +              "provider": {
      +                "type": "string"
      +              },
      +              "provider_app_id": {
      +                "type": "string"
      +              },
      +              "selected_channel_pids": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "object"
      +        },
      +        "type": "object"
      +      },
      +      "connections": {
      +        "items": {
      +          "properties": {
      +            "created_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "display_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "last_synced_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "provider": {
      +              "type": "string"
      +            },
      +            "status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "updated_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "degraded": {
      +        "type": "boolean"
      +      },
      +      "degraded_reasons": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "metadata_by_connection": {
      +        "additionalProperties": {
      +          "items": {
      +            "properties": {
      +              "app_name": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "channel_pid": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "event_mappings": {
      +                "items": {
      +                  "properties": {
      +                    "event_name": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "mapped_events": {
      +                "items": {
      +                  "properties": {
      +                    "event_name": {
      +                      "type": "string"
      +                    },
      +                    "send_revenue": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "provider": {
      +                "type": "string"
      +              },
      +              "provider_app_id": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "connections",
      +      "metadata_by_connection",
      +      "cohort_configs_by_connection"
      +    ]
      +  }
      +]
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds the scope of what is read (mapping, cohort, funnel state), a modest amount of context, but says nothing about freshness, volume, or whether state is cached.

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?

A single front-loaded sentence with zero filler. The verb leads and the enumerated resources follow; nothing is wasted.

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?

The tool is simple (no params) and has an output schema, so return values need not be explained. However, given the dense cluster of mmp_insights_* siblings, the description leaves the agent without enough to confidently route between them, which is the main remaining gap.

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?

The tool takes zero parameters, so the baseline of 4 applies. There are no arguments whose meaning the description could clarify, and the schema description coverage is 100%.

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?

Names a specific verb ('Read') and a concrete resource ('MMP mapping, cohort, and funnel state'), so the agent knows the tool surfaces MMP-related state. It does not distinguish itself from the many sibling mmp_insights_* tools, which query product events, cohorts, and summaries in the same domain.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to call this versus mmp_insights_get_product_today, mmp_insights_query_product_cohort, or any other sibling. Nothing states prerequisites, frequency, or the condition that selects this tool over its near-neighbors.

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