Skip to main content
Glama

review_sentiment

Score customer reviews in English, Italian, Spanish, German, or French for sentiment, labels, and topics like price, shipping, and quality, while flagging defects and rating-text mismatches.

Instructions

Score the sentiment of customer reviews (English, Italian, Spanish, German, French): score -1..1, label, topics such as price, shipping or quality, defect flags and rating/text mismatches. Rule-based, no LLM cost.

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

Input Schema

NameRequiredDescriptionDefault
reviewsNoReviews as plain strings or objects with text, optional title, rating and id.
datasetIdNoID of an Apify dataset in your account that contains reviews, instead of inline reviews.
extraInputNoAny other input field of the Actor, as documented on its Apify page. Overrides the fields above.
maxResultsNoMaximum number of result items returned to the assistant (default 50). The full dataset stays in your Apify account.
ratingScaleNoHighest rating in your data (default 5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does usefully disclose that scoring is rule-based and incurs no LLM cost (deterministic, cheap), which is real behavioral context. It omits authentication/credit requirements, whether the call is synchronous or runs an Apify Actor job, and any error behavior, which matters given the Apify-backed dataset parameters.

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?

One dense sentence that front-loads the core action and then lists the output shape, with no filler. The parenthetical language list interrupts the flow slightly and the output enumeration packs several concepts together, but nothing is redundant.

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?

There is no output schema, and the description compensates by enumerating the returned fields (score scale, label, topics, defect flags, mismatch detection). With five all-optional parameters at full schema coverage and the dataset-retention behavior documented in the schema, an agent has enough to call this correctly.

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 description coverage is 100%, so the schema already documents reviews, datasetId, extraInput, maxResults and ratingScale, giving a baseline of 3. The description modestly adds meaning by naming the languages accepted for review text and by describing the output fields (score range, label, topics, defect flags, mismatches) that the result depends on, though it says nothing extra about datasetId vs inline reviews or extraInput precedence.

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 ("Score the sentiment of customer reviews") and then enumerates what the score consists of: a -1..1 value, a label, topics like price/shipping/quality, defect flags, and rating/text mismatches. The supported languages are named explicitly, so an agent can tell this is a review-sentiment scorer rather than any of the unrelated siblings (ats_jobs, seo_audit, document_to_markdown).

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?

Usage is only implied: by describing the tool as "Rule-based, no LLM cost" it signals when to prefer it (cheap, deterministic scoring over an LLM), and the language list signals a constraint. There is no explicit when-to-use/when-not guidance, no statement about what to do with unsupported languages, and no exclusion pointing at a more appropriate approach.

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