Skip to main content
Glama

Get Content Performance

get_content_performance
Read-onlyIdempotent

Reports how content performed over a period, the numbers Performance › Social shows: performance.rows, one per pillar plus No pillar and Total, each with its posts in postRows. impressions and engagement are what each social post gained on days in the period, wherever it was published, so an older post still gaining counts (its postRows entry has publishedBeforeRange true); clicks are tracked-link clicks in the period. pageviews is a blog, FAQ or competitor page's views on the period's days, from the site tag in PostHog, from every country even with marketId, each day counted once it's over in the workspace time zone; 0 for social posts and without PostHog; a row whose posts are all social reads 0, which the app shows as n/a since social posts have no pageviews. posts counts posts published in the period, measured those with a gain dated in it, or for a website post Search numbers or a pageview day in it; an older website post with pageviews in the period is listed with publishedBeforeRange true. performance.daily is every day of the period with the impressions and engagement social posts gained on it, 0 on a day with none (blog Search numbers are only in the rows). previous has each row's impressions, engagement, clicks and pageviews, and its daily, for the same number of days just before. Mark reads a post daily to day 30, then weekly to day 90, and spreads a gain evenly over the days between readings; posts read only at day 1 and day 7 show nothing after day 7. A blog or other website post's impressions and clicks are Google Search's for its page in the period, from Search Console (with marketId, only searches from that market's country when it is an ISO code, as get_performance_overview and Performance › Search filter), with no engagement. Does not change anything. Related: get_search_performance, get_calendar, search_posts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_content_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoRange end YYYY-MM-DD.
fromNoRange start YYYY-MM-DD. Defaults to the last 28 settled days.
marketIdNoFilter to one market's posts; website posts' Search numbers filter to its country.
pillarIdNoFilter to one pillar.

Output Schema

NameRequiredDescriptionDefault
appUrlYes
previousYes
performanceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / kpis
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "appUrl": {
      -      "type": "string"
      -    },
      -    "currentMonth": {
      -      "type": "string"
      -    },
      -    "targets": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "actual": {
      -            "anyOf": [
      -              {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "value": {
      -                        "type": "number"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "note": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "note"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ]
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "label": {
      -            "type": "string"
      -          },
      -          "metric": {
      -            "type": "string"
      -          },
      -          "month": {
      -            "type": "string"
      -          },
      -          "period": {
      -            "enum": [
      -              "past",
      -              "current",
      -              "not_started"
      -            ],
      -            "type": "string"
      -          },
      -          "progressPercent": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "target": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "actual",
      -          "id",
      -          "label",
      -          "metric",
      -          "month",
      -          "period",
      -          "progressPercent",
      -          "target"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "appUrl",
      -    "currentMonth",
      -    "targets"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "appUrl",
      -  "kpis",
      -  "performance",
      -  "previous"
      -]New value: +[
      +  "appUrl",
      +  "performance",
      +  "previous"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / marketId / description
      Previous value: -"Filter to one market."New value: +"Filter to one market's posts; website posts' Search numbers filter to its country."
  3. Changed2 schema fields changed
    • addedOutput schema / properties / previous / properties / rows / items / properties / pageviews
      Added value: +{
      +  "type": "number"
      +}
    • changedOutput schema / properties / previous / properties / rows / items / required
      Previous value: -[
      -  "clicks",
      -  "engagement",
      -  "impressions",
      -  "key",
      -  "label"
      -]New value: +[
      +  "clicks",
      +  "engagement",
      +  "impressions",
      +  "key",
      +  "label",
      +  "pageviews"
      +]
  4. Changed2 schema fields changed
    • addedOutput schema / properties / previous
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "daily": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "date": {
      +            "type": "string"
      +          },
      +          "engagement": {
      +            "type": "number"
      +          },
      +          "impressions": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "date",
      +          "engagement",
      +          "impressions"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "from": {
      +      "type": "string"
      +    },
      +    "rows": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "clicks": {
      +            "type": "number"
      +          },
      +          "engagement": {
      +            "type": "number"
      +          },
      +          "impressions": {
      +            "type": "number"
      +          },
      +          "key": {
      +            "type": "string"
      +          },
      +          "label": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "clicks",
      +          "engagement",
      +          "impressions",
      +          "key",
      +          "label"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "to": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "daily",
      +    "from",
      +    "rows",
      +    "to"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "appUrl",
      -  "kpis",
      -  "performance"
      -]New value: +[
      +  "appUrl",
      +  "kpis",
      +  "performance",
      +  "previous"
      +]
  5. Changed4 schema fields changed
    • addedOutput schema / properties / kpis / additionalProperties
      Added value: +false
    • addedOutput schema / properties / kpis / properties
      Added value: +{
      +  "appUrl": {
      +    "type": "string"
      +  },
      +  "currentMonth": {
      +    "type": "string"
      +  },
      +  "targets": {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "actual": {
      +          "anyOf": [
      +            {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "value": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [
      +                    "value"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "note": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "note"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "metric": {
      +          "type": "string"
      +        },
      +        "month": {
      +          "type": "string"
      +        },
      +        "period": {
      +          "enum": [
      +            "past",
      +            "current",
      +            "not_started"
      +          ],
      +          "type": "string"
      +        },
      +        "progressPercent": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "target": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "actual",
      +        "id",
      +        "label",
      +        "metric",
      +        "month",
      +        "period",
      +        "progressPercent",
      +        "target"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +}
    • addedOutput schema / properties / kpis / required
      Added value: +[
      +  "appUrl",
      +  "currentMonth",
      +  "targets"
      +]
    • addedOutput schema / properties / kpis / type
      Added value: +"object"
  6. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description's 'Does not change anything' only restates that. It earns credit for genuine behavioral context beyond annotations: the day-30 daily / day-90 weekly reading schedule with even spreading, the fact that posts read only at day 1 and day 7 show nothing after day 7, that pageviews are 0 for social-only rows and display as n/a, and that pageviews span all countries despite marketId.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a dense, multi-hundred-word run-on with sentences spanning several clauses ('posts counts posts published in the period, measured those with a gain dated in it, or for a website post Search numbers or a pageview day in it...'). Purpose is front-loaded, but much of the bulk narrates return-value fields (performance.rows, postRows, performance.daily, previous) that an output schema already covers, and the density makes it hard to parse during tool selection.

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 complex, computation-heavy read tool the description supplies nearly everything an agent needs to interpret results — metric definitions, range behavior, previous-period comparison, and flag semantics — while annotations cover safety and an output schema covers return shape. The main gap is that it never states when this report is the right choice over the related performance tools it names.

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, but the description adds real meaning to marketId — it filters posts by market, restricts website Search numbers to that market's country when it is an ISO code, and behaves like the Performance › Search filter. It restates the schema's from/to defaults rather than elaborating them, so it falls short of a 5.

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 opening clause states a specific verb and resource — 'Reports how content performed over a period, the numbers Performance › Social shows' — which makes the report identifiable. It does not explicitly contrast itself with get_performance_overview or get_search_performance, which it only references for marketId filtering semantics, so sibling differentiation is left implicit.

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?

There is no explicit when-to-use/when-not guidance; the closing 'Related:' list names get_search_performance, get_calendar and search_posts without saying which condition should route the agent to them. Usage is inferable from the described scope (social + website content performance over a period) but never stated.

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