Skip to main content
Glama

ai_review_insights

Read-only

Customer review insights — Analyze 1-40 customer reviews (separated by | or new lines) with Workers AI: per-review sentiment, estimated 1-5 rating, aspects and a verbatim quote (checked against the text), then offline aggregation into aspect scores (mentions, positive/negative, net score), sentiment distribution, net sentiment, pros, cons, feature requests, next actions and keyword risk flags (safety, fraud, refund, broken, legal). Optional product= for context. Price: $0.01 USDC (Base, via x402).

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": {
      "reviews": "<reviews>"
    },
    "name": "ai_review_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
reviewsYesBattery lasts forever but too expensive|Stopped working after a week, want a refund|Great sound, fast shipping

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), and the description adds genuinely non-obvious behavior: quotes are 'checked against the text', aggregation is 'offline', and the call costs $0.01 USDC on Base via x402. The paid-call requirement in particular is behavior an agent must know before invoking. It stops short of describing failure modes or what happens with malformed input.

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 and input contract are front-loaded in the first clause, followed by the output inventory and then the pricing note. It is a dense single passage with no filler sentences, though the long parenthetical enumerations make it slightly harder to scan than a short bulleted structure would.

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?

There is no output schema, so the description must carry the return-value burden, and it does so thoroughly — sentiment, rating, aspects, quotes, aggregation, distribution, pros/cons, feature requests, next actions, and risk flags. Payment mechanics and input limits are also covered. The only real completeness gap is the phantom product parameter and the absence of any error/limit-exceeded behavior.

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?

With 100% schema coverage on a single parameter, the baseline is 3, and the description does add real value by stating the delimiter convention ('separated by | or new lines') and the 1-40 count limit that the schema does not convey. The offsetting defect is the mention of 'Optional product= for context', a parameter that does not exist in the input schema — this can mislead an agent into passing an unsupported argument.

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 description opens with a specific verb and resource ('Customer review insights — Analyze 1-40 customer reviews') and then enumerates the exact outputs produced. An agent can distinguish this from siblings like ai_classify or ai_moderate purely from the text, since it names the domain, the unit of work (reviews), and the derived artifacts (aspect scores, sentiment distribution, pros/cons, risk flags).

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 strongly implied — feed it 1-40 reviews to get structured sentiment analysis — and the input shape constraint is spelled out. However, there is no explicit when-to-use/when-not-to-use guidance and no sibling is named as an alternative, so an agent choosing between this and a generic classifier has to infer the distinction.

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