Skip to main content
Glama

Refora

Sentiment breakdown

get_sentiment_breakdown
Read-onlyIdempotent

How AI models talk about a brand: sentiment scores overall and per model, with example excerpts showing tone and framing.

Use when the user asks how AI talks about their brand -- phrases like 'how does AI describe us', 'what's the sentiment', 'is ChatGPT positive or negative about us', or 'how do AI engines talk about [brand]'.

Returns: overall sentiment score (0-100, 50 is neutral), per-model breakdown, and up to 3 examples per label (positive/neutral/negative), each a short excerpt around the mention.

Example: 'How does ChatGPT describe Kassaro -- positively or negatively?'

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "get_sentiment_breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back to look, counted back from end_date (default today). Default 30, max 90. Ignored when start_date is given. Prompts are re-run on a schedule, so a window shorter than a week can be empty.
end_dateNoOptional end of the window, as an ISO date (YYYY-MM-DD). Default today. Cannot be in the future.
brand_nameNoOptional brand to analyse, e.g. a tracked competitor. Omit for the workspace's own brand.
start_dateNoOptional explicit start of the window, as an ISO date (YYYY-MM-DD). A full ISO datetime is accepted and its date is used. Overrides days.
workspace_idYesThe workspace's numeric id, as returned by list_workspaces.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered; the description adds genuinely useful behavior: the 0-100 scale with 50 as neutral, per-model breakdown, and a cap of up to 3 examples per label that are short excerpts. It omits latency, auth/prerequisite requirements, and what happens when data is sparse, which is the remaining gap.

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?

It is front-loaded with the purpose, then a use-case paragraph, then labeled 'Returns' and 'Example' blocks, which is easy to scan. The content earns its place, though the example question largely restates the earlier trigger phrases and could be trimmed.

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?

Despite having no output schema, the definition explains the return shape (overall score, per-model breakdown, capped excerpts), the scale semantics, and when to invoke it. For a read-only single-resource reporting tool with fully documented parameters, an agent has everything needed to call it correctly.

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?

Schema description coverage is 100%, so parameters like days, start_date, end_date, and brand_name are already fully documented, and the baseline of 3 applies. The description adds nothing about parameter behavior such as the timeframe window or the optional competitor brand_name, so it neither compensates nor subtracts.

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 opening sentence names a specific subject and resource: sentiment scores for a brand, overall and per model, with example excerpts. The trigger phrases ('how does AI describe us', 'what's the sentiment', 'is ChatGPT positive or negative') make clear this retrieves sentiment rather than visibility, share of voice, or raw answers, distinguishing it from siblings like get_visibility_score and get_ai_answers.

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 gives strong positive-trigger guidance with several concrete user phrasings and a worked example question, so an agent can recognize when to call it. It stops short of naming a when-not condition or an alternative sibling to use instead, which keeps it below 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.

Resources