Skip to main content
Glama

classify_review

Classifies review text and rating into sentiment band, score, topics, and escalation flag so you can triage customer feedback and prioritize follow-up.

Instructions

Classify a review for triage: positive / mixed / negative band, sentiment score, topics and escalation flag.

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": {
      "review_text": "<review_text>",
      "rating": "<rating>"
    },
    "name": "classify_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
ratingYes
review_textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/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 disclose the shape of the result (band, score, topics, escalation flag), which matters because there is no output schema, but it says nothing about determinism, cost, whether the classification is model-based or rule-based, or how the required rating influences the result.

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?

A single dense sentence, front-loaded with the verb and resource, and the output list packs useful information into few words. Slight ambiguity in 'topics' is the only waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The missing output schema is partially compensated by the enumerated return fields, which is the right instinct. However, for a two-parameter tool with zero schema coverage and no annotations, leaving the required rating parameter entirely unexplained is a real gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters, and the description never mentions them. In particular the required 'rating' parameter is never defined: its scale, allowed range, and how it interacts with review_text are all left unknown.

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?

Names a specific verb (classify) and resource (a review) and enumerates the outputs: band, sentiment score, topics, escalation flag. That is enough to separate it from the sibling draft_review_reply, though the description never explicitly contrasts the two.

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?

'for triage' implies the context in which the tool is called, but there is no explicit statement of when to prefer it over alternatives, no prerequisites, and no exclusions. The agent must infer the workflow.

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

Deploy Server

Other Tools