Skip to main content
Glama

list_ratings

Read-only

Satisfaction ratings from web chats. When a web chat is closed, the widget asks the customer to rate it 1 to 5 (1 very bad, 5 great) with an optional comment; mobile apps ask for a store review instead and have no ratings. Returns the totals (average, csat = % rated 4 or 5, responseRate = % of asks answered, count per score), the same per web platform, and the ratings newest first with the customer, comment and who closed the chat. Without appId on an all-apps key it covers every app. Page back with before = the previous answer's next.

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

Input Schema

NameRequiredDescriptionDefault
daysNoOnly the last N days. Default all time
appIdNoOne app (platform) from list_apps, or omit for every app the key covers
limitNoRatings per page. Default 50
ratedNoOnly answered ratings, leaving out asks nobody answered
beforeNoFrom a previous answer's next, for the page before it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and scope are covered. The description goes further by disclosing the returned aggregates (average, csat, responseRate, count per score), the per-platform breakdown, the newest-first ordering, and pagination via 'before = the previous answer's next' — genuinely useful behavior beyond annotations. It stops short of noting rate limits, default windowing behavior for days, or whether the list is complete across pages.

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?

Front-loaded with purpose and the crucial mobile caveat, then returns, then scoping, then pagination — a logical progression. It is dense and long-ish, and the returns sentence is heavily compressed, but no sentence is filler.

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?

With no output schema, the description carries the return contract, and it does: aggregate metrics, per-platform totals, and the per-rating records with customer, comment, and closer. Combined with the readOnly annotation and full schema coverage, an agent has everything needed to call and interpret this correctly.

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 all five parameters are already documented; the baseline is 3. The description does add meaning the schema does not spell out: 'without appId on an all-apps key it covers every app' clarifies the omission semantics, and 'before = the previous answer's next' restates the cursor contract. It says nothing extra about rated or days beyond the schema.

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?

Opens with a specific verb+resource ('Satisfaction ratings from web chats') and immediately scopes the data domain: 1-5 CSAT from the chat-closing widget, with mobile apps explicitly excluded. No sibling tool in the list covers ratings, and the description makes that uniqueness unmistakable.

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 implied rather than stated: the reader can infer this is the tool for CSAT reporting, and the mobile-app caveat prevents a wrong attempt (no ratings there). However, it never says when to prefer it over e.g. coming_up or list_subscribers, nor mentions any preconditions such as needing list_apps to resolve appId — that hint lives only in the schema.

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