Skip to main content
Glama

devtune_get_brand_sentiment

Read-onlyIdempotent

Get the sentiment of AI answers towards the project's primary brand over a fixed window of completed UTC days ending yesterday: overall and for each day, across every platform. Each answer that mentions the primary brand is scored from -1 to 1 for its stance towards that brand, never competitors. Sentiment uses an LLM scorer, or Jev where enabled, with LLM fallback when Jev abstains (below 0.5 confidence), fails, or is unavailable. Each answer counts once, including answers whose brand has since stopped being primary. There is no per-platform breakdown. averageScore is the mean score of scored answers; label applies the scorer's cut (above 0.3 positive, below -0.3 negative, otherwise neutral). positive, neutral and negative count scored answers. Days before 20 September 2026 are withheld: they were stored by an earlier version that scored a different subject and counted failed attempts. overall leaves withheld days out, window.dataFrom is the first day it counts and overall.coverage.daysWithheld how many days it left out; a withheld trend day has every figure null. averageScore and label are null when no answer was scored, never 0. coverage.responses counts answers in the window and coverage.scoredResponses those with a score; answers that do not mention the primary brand are never scored. Read coverage before comparing averages.

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": "devtune_get_brand_sentiment"
  }
}

Input Schema

NameRequiredDescriptionDefault
windowDaysNoRolling window in days: 30 or 90. Defaults to 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / windowDays / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "30",
      -      "90"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "enum": [
      -      30,
      -      90
      -    ],
      -    "type": "number"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "30",
      +      "90"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "anyOf": [
      +      {
      +        "const": 30,
      +        "type": "number"
      +      },
      +      {
      +        "const": 90,
      +        "type": "number"
      +      }
      +    ]
      +  }
      +]
  2. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare this a safe, idempotent read, so the description focuses on disclosing behavior that annotations cannot capture: the scoring pipeline (LLM scorer or Jev with LLM fallback below 0.5 confidence), that each answer counts once even if its brand is no longer primary, and exactly how restatements like null versus 0 behave. It also explains the data-quality hazard of days before 20 September 2026 being withheld and how overall, window.dataFrom, and coverage.daysWithheld account for them.

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 scope are front-loaded in the first sentence, and the long body is dense with operational detail rather than filler. It is still a single wall of text, and a few clauses, such as the repeated withholding explanation, could be tightened without loss.

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?

Even though there is no output schema, the description fully documents what the agent will receive: averageScore, label thresholds above 0.3 and below -0.3, the positive/neutral/negative counts, coverage.responses versus coverage.scoredResponses, and the null conventions. Together with the withholding caveats, this is complete for a one-parameter read tool.

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 the windowDays parameter (30 or 90, default 30) is already documented in the schema. The description adds real meaning by clarifying that the window consists of completed UTC days ending yesterday, which is not in the schema, but it never references the parameter by name or repeats its allowed values, so the added value is modest.

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 verb and resource (sentiment of AI answers toward the primary brand), plus the exact scope: a fixed window of completed UTC days ending yesterday, overall and daily, across every platform. It also draws boundaries that separate it from nearby tools, noting scores are 'never competitors' and that there is 'no per-platform breakdown.'

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?

The description gives interpretive guidance ('Read coverage before comparing averages') and explains when figures are withheld, which helps an agent use the output correctly. However, it never says when to choose this tool over a sibling, such as the competitive-position or accuracy tools in the catalog, nor does it state prerequisites for calling 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.

Resources