Skip to main content
Glama

Mencoro

Rank tracking by keyword cluster

get_cluster_breakdown
Read-onlyIdempotent

Rank-tracking metrics broken down per keyword cluster for a project as of dateTo: one row per cluster with its positions, share of voice and sentiment, each equal to get_project_rank_tracking_stats restricted to that cluster's queries (read from every query active on dateTo through its latest check on or before it; a query whose latest check came back empty adds no figure and counts in no rate), trends against the snapshot on the day before dateFrom and stability over the window. Dates must fall within the data retention window. Answers questions like "which keyword clusters are strongest or weakest" or "how does my niche compare to my generic queries".

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "organizationId": "<organizationId>",
      "projectId": "<projectId>",
      "dateFrom": "<dateFrom>",
      "dateTo": "<dateTo>"
    },
    "name": "get_cluster_breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateToYes
enginesNoallowed values: chatgpt, claude, perplexity, google_ai_overview, google_ai_mode, google_serp, google_shopping
dateFromYes
countriesNoISO-3166 alpha-2 country codes (e.g. "US", "GB", "DE"); a project's configured codes are listed by get_available_filters
projectIdYes
organizationIdYes
queryClusterIdsNorestrict to these keyword clusters
includeUngroupedQueriesNoSent alone, returns only the ungrouped row: the tracked queries that belong to no cluster (refused if there are none). Sent with queryClusterIds, adds that row to those clusters. Omit both for every cluster plus the ungrouped row.

Output Schema

NameRequiredDescriptionDefault
rowsYes
dataDirtySinceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / rows / items / properties / mentionRate / description
      Previous value: -"Percentage 0-100 of AI checks (one per tracked query x engine x UTC day) in the period that mentioned the brand, each check counted as the share of its passes that did; higher is better."New value: +"Percentage 0-100 of the cluster's answered AI (tracked query x engine) pairs as of dateTo whose latest answer mentioned the brand, each counted as the share of its passes that did; higher is better."
    • changedOutput schema / properties / rows / items / properties / serpRate / description
      Previous value: -"Percentage 0-100 of traditional-search checks (one per tracked query x engine x UTC day) in the period in which the brand ranked; higher is better."New value: +"Percentage 0-100 of the cluster's answered traditional-search (tracked query x engine) pairs as of dateTo in whose latest result the brand ranked; higher is better."
  2. Changed3 schema fields changed
    • addedOutput schema / properties / rows / items / properties / checkedQueryCountByFamily
      Added value: +{
      +  "properties": {
      +    "ai": {
      +      "type": "integer"
      +    },
      +    "serp": {
      +      "type": "integer"
      +    },
      +    "shopping": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "ai",
      +    "serp",
      +    "shopping"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / rows / items / properties / lastCheckedAtByEngine
      Added value: +{
      +  "additionalProperties": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / rows / items / properties / trackedQueryCountByFamily
      Added value: +{
      +  "properties": {
      +    "ai": {
      +      "type": "integer"
      +    },
      +    "serp": {
      +      "type": "integer"
      +    },
      +    "shopping": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "ai",
      +    "serp",
      +    "shopping"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / includeUngroupedQueries / description
      Added value: +"Sent alone, returns only the ungrouped row: the tracked queries that belong to no cluster (refused if there are none). Sent with queryClusterIds, adds that row to those clusters. Omit both for every cluster plus the ungrouped row."
  4. Changed2 schema fields changed
    • changedInput schema / properties / engines / description
      Previous value: -"allowed values: chatgpt, perplexity, google_ai_overview, google_ai_mode, google_serp, google_shopping"New value: +"allowed values: chatgpt, claude, perplexity, google_ai_overview, google_ai_mode, google_serp, google_shopping"
    • changedInput schema / properties / engines / items / enum
      Previous value: -[
      -  "chatgpt",
      -  "perplexity",
      -  "google_ai_overview",
      -  "google_ai_mode",
      -  "google_serp",
      -  "google_shopping"
      -]New value: +[
      +  "chatgpt",
      +  "claude",
      +  "perplexity",
      +  "google_ai_overview",
      +  "google_ai_mode",
      +  "google_serp",
      +  "google_shopping"
      +]
  5. Changed2 schema fields changed
    • changedOutput schema / properties / rows / items / properties / mentionRate / description
      Previous value: -"Percentage 0-100 of tracked queries with a result in the period; higher is better."New value: +"Percentage 0-100 of AI checks (one per tracked query x engine x UTC day) in the period that mentioned the brand, each check counted as the share of its passes that did; higher is better."
    • changedOutput schema / properties / rows / items / properties / serpRate / description
      Previous value: -"Percentage 0-100 of tracked queries with a result in the period; higher is better."New value: +"Percentage 0-100 of traditional-search checks (one per tracked query x engine x UTC day) in the period in which the brand ranked; higher is better."
  6. Changed26 schema fields changed
    • addedOutput schema / properties / dataDirtySince / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / dataDirtySince / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedOutput schema / properties / rows / items / properties / avgLinkPosition / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / avgLinkPosition / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / rows / items / properties / avgMentionCount / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / avgMentionCount / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / rows / items / properties / avgMentionPosition / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / avgMentionPosition / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / rows / items / properties / avgSerpPosition / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / avgSerpPosition / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / rows / items / properties / clusterId / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / clusterId / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedOutput schema / properties / rows / items / properties / mentionRate / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / mentionRate / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / rows / items / properties / positivityIndex / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / positivityIndex / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / rows / items / properties / sentimentNegative / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / sentimentNegative / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / rows / items / properties / sentimentNeutral / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / sentimentNeutral / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / rows / items / properties / sentimentPositive / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / sentimentPositive / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / rows / items / properties / serpRate / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / serpRate / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / rows / items / properties / shareOfVoice / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / shareOfVoice / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
  7. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds genuinely non-obvious behavior: which queries are counted, that an empty latest check contributes no figure and no rate, that trends compare against the snapshot the day before dateFrom, and that stability spans the window. It also discloses the hard constraint that dates must fall inside the retention window.

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 purpose and output shape are front-loaded in the first clause, and the follow-on clauses all carry real information (aggregation semantics, trend baseline, retention limit). It is dense and somewhat parenthetical, but no sentence is filler.

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?

With an output schema present and annotations covering the safety profile, the description supplies everything else an agent needs: what each row means, the base-metric equivalence, the counting rule for empty checks, trend/stability baselines, and the retention constraint.

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 only 50%, but the description compensates for the undocumented date parameters by explaining dateTo ('as of'), dateFrom (snapshot the day before it, stability window), and date scoping generally, while engines, countries, queryClusterIds and includeUngroupedQueries are fully documented in the schema itself. Only organizationId/projectId remain unexplained, which is a minor residual gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb+resource ('Rank-tracking metrics broken down per keyword cluster') and specifies the exact output shape ('one row per cluster with its positions, share of voice and sentiment'), which lets an agent distinguish it from sibling aggregations like get_project_rank_tracking_stats or get_engine_breakdown without opening schemas.

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?

It anchors usage with concrete example questions ('which keyword clusters are strongest or weakest', 'how does my niche compare to my generic queries') and implicitly routes project-level needs to get_project_rank_tracking_stats by defining each row as that tool restricted to a cluster. There is no explicit when-not or stated alternative, so it stops short of a 5.

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.