Skip to main content
Glama

Get product rating

loox_get_product_rating
Read-only

Review count and average star rating of ONE product (published reviews; 0 when it has none). Public Storefront API. GET /storefront/v1/store/{id}/product-reviews/bottomline/{productId}.

Input Schema

NameRequiredDescriptionDefault
product_idYesShopify product id (digits, e.g. 7891234567890).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, open-world behavior, so the bar is lower. The description still adds real context: only published reviews are counted, the result is 0 rather than an error for unrated products, and it is a public Storefront endpoint (GET path given), which signals auth/surface expectations.

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?

Two short sentences, front-loaded with the returned metrics, followed by API surface and endpoint path. Nearly zero waste, though the endpoint path is arguably redundant with the sibling-tool prefix.

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?

With one required parameter, no output schema, and full annotation coverage, the description supplies what is needed: what is returned (count and average rating), the fallback value (0), and the data scope (published reviews). Only the boundary against loox_get_product_reviews_summary is left unresolved.

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 product_id is documented with a digit pattern and example, so the schema carries the parameter semantics. The description does not mention product_id, its format, or that it is a Shopify numeric ID, adding nothing beyond the structured field; baseline 3 applies.

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?

States a specific resource and metric (review count plus average star rating for one product), which is clearly narrower than the list_* siblings. It does not, however, distinguish itself from the close sibling loox_get_product_reviews_summary, leaving the agent to infer which aggregate to call.

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: the 'ONE product' phrasing signals a single-item lookup rather than a list, and 'published reviews; 0 when it has none' hints at the data scope. There is no explicit when-to-use or when-not-to-use statement, and no sibling is named as an alternative.

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.