Skip to main content
Glama

Get AI sentiment

get_ai_sentiment
Read-only

Retrieve AI-answer sentiment for an app or competitor across ChatGPT and Gemini, including net tone, praised and criticised excerpts, drawbacks, and worst-performing prompts.

Instructions

What the answers say about the app, or a competitor (app). summary and by_engine: net tone (-100 to 100, % positive minus % negative) with counts. apps: each tracked app's net tone and top drawbacks. drawbacks: what is held against it, with a quote. criticised, praised: excerpts. by_prompt: prompts treating it worst. when_asked_about_it: answers to direct questions about it. Prompt texts in prompts. Read-only.

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": {
      "ai_app_id": "<ai_app_id>"
    },
    "name": "get_ai_sentiment"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoA competitor, to read its tone instead
endNoLast day, YYYY-MM-DD (default today)
daysNoDays in the window (default 7)
engineNoDefault both
countryNoOne market, ISO code (default all)
ai_app_idYesid from list_ai_visibility_apps

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.9.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint=false/destructiveHint=false, and the trailing 'Read-only.' merely restates them. The real added value is that, with no output schema, the description spells out the response sections (summary, by_engine, apps, drawbacks, criticised/praised, by_prompt, when_asked_about_it, prompts) and the -100..100 net-tone metric definition. It stops short of noting cost, latency, or behavior on empty/insufficient data.

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?

Roughly five dense sentences, each mapping a distinct output section, with the core purpose front-loaded. The telegraphic fragment style ('criticised, praised: excerpts') is efficient but slightly cryptic on first read.

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 6-parameter analytics read with no output schema, the description covers what an agent most needs: what the numeric tone means and what each returned section contains. The remaining gap is invocation guidance (which sibling to prefer) rather than return-value understanding.

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 coverage is 100% and the schema already explains each parameter, including 'A competitor, to read its tone instead' for `app`. The description echoes that same point and otherwise leaves windowing (days/end/country/engine) to the schema, so it adds little beyond the baseline.

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 'What the answers say about the app, or a competitor' names the resource (AI answers) and the dimension extracted (tone/sentiment), and the closing enumeration makes concrete what comes back. It is not a clean verb+resource phrasing and never names a sibling like get_ai_visibility or get_ai_answer to delineate scope, but an agent can still tell what question this tool answers.

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

Usage Guidelines2/5

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

The only routing hint is the `app` parameter for reading a competitor's tone instead. There is no statement of when to reach for this versus get_ai_visibility, get_ai_opportunities, or get_ai_answer, and no prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.