Skip to main content
Glama

Get performance overview

get_performance_overview
Read-onlyIdempotent

Use this when the user asks how the brand's marketing is doing in numbers: KPIs for the window with their trend, reach and the top posts, per connected account, each on its own and never combined (pass account for one). Numbers are the platform's own; a rate the platform does not report is absent. Engagement rate is (likes + comments + shares + saves) / reach × 100 for organic, and post engagements / reach × 100 for paid.

Input Schema

NameRequiredDescriptionDefault
accountNoOne connected account to read. Omit it for every connected analytics account; each comes back on its own, never combined.
brandIdNoA brand id from get_workspace or list_brands, or the brand's name. Omit it when the organization has a single brand.
windowDaysNoReporting window in days. Defaults to 90.

Output Schema

NameRequiredDescriptionDefault
accountsYesOne entry per connected analytics account, never combined.
windowDaysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / account
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "One connected account to read. Omit it for every connected analytics account; each comes back on its own, never combined.",
      +  "properties": {
      +    "accountId": {
      +      "description": "The account's id, as a result's account.accountId names it.",
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "platform": {
      +      "description": "The account's platform, as a result's account.platform names it.",
      +      "enum": [
      +        "instagram",
      +        "facebook",
      +        "tiktok",
      +        "meta_ads",
      +        "linkedin",
      +        "linkedin_ads",
      +        "tiktok_ads",
      +        "google_ads",
      +        "snapchat_ads",
      +        "shopify"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "platform",
      +    "accountId"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / accounts
      Added value: +{
      +  "description": "One entry per connected analytics account, never combined.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "account": {
      +        "additionalProperties": false,
      +        "description": "The connected account every number beside it belongs to.",
      +        "properties": {
      +          "accountId": {
      +            "type": "string"
      +          },
      +          "accountName": {
      +            "type": "string"
      +          },
      +          "platform": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "platform",
      +          "accountId",
      +          "accountName"
      +        ],
      +        "type": "object"
      +      },
      +      "audience": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "dimension": {
      +              "type": "string"
      +            },
      +            "segments": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "followers": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "followersPct": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "paidImpressions": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "reach": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "roas": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "segment": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "segment",
      +                  "followers",
      +                  "followersPct",
      +                  "reach",
      +                  "paidImpressions",
      +                  "roas"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "dimension",
      +            "segments"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "currency": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "hasData": {
      +        "type": "boolean"
      +      },
      +      "kpiTotals": {
      +        "description": "Only the metrics the platform reports for the account; LinkedIn follower gain is two metrics, organicFollowerGain and paidFollowerGain. Meta counts ads inside organicReach and organicImpressions; organicReachAds and organicImpressionsAds are the part of each that came from ads.",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "deltaPct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "metric": {
      +              "type": "string"
      +            },
      +            "value": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "metric",
      +            "value",
      +            "deltaPct"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "kpiTrends": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "changePct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "first": {
      +              "type": "number"
      +            },
      +            "firstDay": {
      +              "type": "string"
      +            },
      +            "last": {
      +              "type": "number"
      +            },
      +            "lastDay": {
      +              "type": "string"
      +            },
      +            "metric": {
      +              "type": "string"
      +            },
      +            "peak": {
      +              "type": "number"
      +            },
      +            "peakDay": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "metric",
      +            "firstDay",
      +            "lastDay",
      +            "first",
      +            "last",
      +            "peakDay",
      +            "peak",
      +            "changePct"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "organicBaselines": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "current": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "median": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "metric": {
      +              "type": "string"
      +            },
      +            "p25": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "p75": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "sampleSize": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "metric",
      +            "current",
      +            "median",
      +            "p25",
      +            "p75",
      +            "sampleSize"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "topPublications": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "engagementRate": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "impressions": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "performanceScore": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "platform": {
      +              "type": "string"
      +            },
      +            "publicationId": {
      +              "type": "string"
      +            },
      +            "rank": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "reach": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "roas": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "spend": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "publicationId",
      +            "platform",
      +            "performanceScore",
      +            "rank",
      +            "reach",
      +            "impressions",
      +            "engagementRate",
      +            "spend",
      +            "roas"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "account",
      +      "currency",
      +      "hasData",
      +      "kpiTotals",
      +      "kpiTrends",
      +      "topPublications",
      +      "organicBaselines",
      +      "audience"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / audience
      Removed value: -{
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "dimension": {
      -        "type": "string"
      -      },
      -      "segments": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "followers": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "followersPct": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "paidImpressions": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "reach": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "roas": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "segment": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "segment",
      -            "followers",
      -            "followersPct",
      -            "reach",
      -            "paidImpressions",
      -            "roas"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "dimension",
      -      "segments"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / channels
      Removed value: -{
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "channel": {
      -        "type": "string"
      -      },
      -      "ctr": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "engagementRate": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "followerCount": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "impressions": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "platform": {
      -        "type": "string"
      -      },
      -      "reach": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "reachDeltaPct": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "roas": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "spend": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "spendDeltaPct": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "platform",
      -      "channel",
      -      "reach",
      -      "impressions",
      -      "engagementRate",
      -      "followerCount",
      -      "spend",
      -      "roas",
      -      "ctr",
      -      "reachDeltaPct",
      -      "spendDeltaPct"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / currency
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / hasData
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / kpiTotals
      Removed value: -{
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "deltaPct": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "metric": {
      -        "type": "string"
      -      },
      -      "value": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "metric",
      -      "value",
      -      "deltaPct"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / kpiTrends
      Removed value: -{
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "changePct": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "first": {
      -        "type": "number"
      -      },
      -      "firstDay": {
      -        "type": "string"
      -      },
      -      "last": {
      -        "type": "number"
      -      },
      -      "lastDay": {
      -        "type": "string"
      -      },
      -      "metric": {
      -        "type": "string"
      -      },
      -      "peak": {
      -        "type": "number"
      -      },
      -      "peakDay": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "metric",
      -      "firstDay",
      -      "lastDay",
      -      "first",
      -      "last",
      -      "peakDay",
      -      "peak",
      -      "changePct"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / organicBaselines
      Removed value: -{
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "current": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "median": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "metric": {
      -        "type": "string"
      -      },
      -      "p25": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "p75": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "sampleSize": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "metric",
      -      "current",
      -      "median",
      -      "p25",
      -      "p75",
      -      "sampleSize"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / reachByChannel
      Removed value: -{
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "channel": {
      -        "type": "string"
      -      },
      -      "platform": {
      -        "type": "string"
      -      },
      -      "reach": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "platform",
      -      "channel",
      -      "reach"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / topPublications
      Removed value: -{
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "engagementRate": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "impressions": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "performanceScore": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "platform": {
      -        "type": "string"
      -      },
      -      "publicationId": {
      -        "type": "string"
      -      },
      -      "rank": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "reach": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "roas": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "spend": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "publicationId",
      -      "platform",
      -      "performanceScore",
      -      "rank",
      -      "reach",
      -      "impressions",
      -      "engagementRate",
      -      "spend",
      -      "roas"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "windowDays",
      -  "currency",
      -  "hasData",
      -  "kpiTotals",
      -  "kpiTrends",
      -  "channels",
      -  "reachByChannel",
      -  "topPublications",
      -  "organicBaselines",
      -  "audience"
      -]New value: +[
      +  "windowDays",
      +  "accounts"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / brandId / description
      Previous value: -"A brand id from get_workspace or list_brands. Omit it when the organization has a single brand."New value: +"A brand id from get_workspace or list_brands, or the brand's name. Omit it when the organization has a single brand."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's remaining burden is domain behavior, which it meets: it discloses that numbers are the platform's own, that unreported rates are simply absent rather than zero, and gives the exact engagement-rate formulas for organic vs. paid. It does not discuss caching/freshness or data latency, which is the main residual gap for a metrics tool.

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 trigger condition is front-loaded in the first clause, followed by the returned payload, the scoping rule, and then the metric definitions. It is dense but each sentence carries information an agent needs; the formulas are slightly heavy for a description but justify their space by preventing misreading of engagement rate.

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

Completeness5/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 shapes need not be explained, and the description fills the remaining gaps: what is measured, at what granularity, over what window, and how derived rates are computed or omitted. Combined with the fully described three-parameter schema, an agent can call this correctly without opening anything else.

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 coverage is 100%, so the baseline is 3, and the description earns an increment by clarifying the aggregation semantics of 'account' — one account when passed, all accounts returned separately and never combined — which is the parameter's most consequential behavior. It adds nothing about windowDays beyond the schema's stated default of 90, and brandId resolution is already handled in the schema text.

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 ('how the brand's marketing is doing in numbers') and enumerates the payload: KPIs with trend, reach, and top posts. It also pins the granularity ('per connected account, each on its own and never combined'), which separates it from aggregate siblings like get_brand_analysis. It never names those siblings explicitly, so the differentiation is inferential rather than stated.

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?

The opening clause gives a clear triggering condition tied to a user intent, and 'pass account for one' vs. omitting it for every account gives concrete selection guidance. There is no explicit when-not or named alternative tool, so an agent facing an overlapping analysis request (e.g. get_creative_insights) must still reason about which to pick.

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