Skip to main content
Glama

Mencoro

AI mention sentiment breakdown

get_sentiment_breakdown
Read-onlyIdempotent

Positive/neutral/negative sentiment split of the brand's AI mentions as of dateTo, per AI engine and per competitor: the mentions in each active query's latest answer on or before dateTo (a query whose latest check came back empty adds none). Use for tone/sentiment questions. For the brand's own mention counts by type, tone and qualifier use get_mention_mix; to read the actual mention texts use get_mention_samples. Dates must fall within the data retention window. Answers questions like "is anything negative being said about my brand" or "how positive is my coverage".

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_sentiment_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, restricts to tracked queries that belong to no cluster (refused if there are none). Sent with queryClusterIds, adds them to those clusters. Omit both for all tracked queries.

Output Schema

NameRequiredDescriptionDefault
perEngineYes
perCompetitorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / includeUngroupedQueries / description
      Added value: +"Sent alone, restricts to tracked queries that belong to no cluster (refused if there are none). Sent with queryClusterIds, adds them to those clusters. Omit both for all tracked queries."
  2. 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"
      +]
  3. Changed4 schema fields changed
    • addedOutput schema / properties / perCompetitor / items / properties / positivityIndex / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / perCompetitor / items / properties / positivityIndex / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / perEngine / items / properties / positivityIndex / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / perEngine / items / properties / positivityIndex / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
  4. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish a safe read-only, idempotent operation, and the description adds the important counting rule: only each active query's latest answer on or before dateTo counts, and empty latest checks add none. It also discloses the data-retention constraint, which affects valid calls.

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?

Purpose is front-loaded, followed by methodology, routing to alternatives, retention constraint, and examples. The first sentence is dense and the final example questions partly repeat the tone/sentiment use case, but there is little wasted text.

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 read-only analytics tool with annotations and an output schema, the description covers purpose, counting logic, alternatives, and retention. It is not fully complete because required dateFrom and several filter parameters are left to the schema, but the core invocation context is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds meaning for dateTo via the 'as of dateTo' and 'latest answer on or before dateTo' aggregation rule, and indicates engine/competitor breakdown. However, with 8 parameters and 50% schema coverage, it leaves dateFrom, organizationId, projectId, countries, and cluster filters largely unexplained beyond the schema.

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?

States a specific metric and resource: the positive/neutral/negative sentiment split of the brand's AI mentions as of dateTo, broken down per AI engine and competitor. It explicitly distinguishes itself from get_mention_mix and get_mention_samples, so an agent can select it without opening sibling schemas.

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

Usage Guidelines5/5

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

Says 'Use for tone/sentiment questions' and names alternatives for mention counts and raw mention texts. It also gives example questions and a retention-window constraint, leaving little ambiguity about when to call 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.