Skip to main content
Glama

get_product_reviews

Retrieve customer reviews for a Tokopedia product, including ratings, user info, and seller responses. Specify product ID and optional review count.

Instructions

Fetch customer reviews for a Tokopedia product.

Returns a dict with a "reviews" list (messages, ratings, user info, seller responses, attached media) and the "count" of reviews returned.

Args: product_id: The numeric product id (from search_products). max_count: Maximum number of reviews (1-100, default 20).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_countNo
product_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently explains the return format (a dict with 'reviews' list and 'count') and the effect of max_count (maximum number of reviews, range 1-100, default 20). This adds meaningful context beyond the name and schema, though it does not discuss potential errors, auth, or rate limits, which would elevate it further.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is optimally concise and well-structured: a one-sentence summary, a clear return value explanation, and a two-line Args section. Every sentence is informative, with no filler or redundant repetition.

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?

For a simple read tool with two parameters and an existing output schema, the description is complete. It covers the return structure, parameter ranges, and source of the key input. The sibling tools are distinct, and nothing critical is missing for an agent to invoke it correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must fully compensate. It does: product_id is explained as 'the numeric product id (from search_products),' and max_count is given a range and default. This adds semantic meaning far beyond the type-only schema, clarifying how and why each parameter is used.

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 clearly states the tool 'Fetch customer reviews for a Tokopedia product.' This is a specific verb+resource that immediately distinguishes it from siblings like get_product_details and search_products. The scope (reviews, not details or search) is unambiguous.

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?

The description implies usage context by noting that product_id comes 'from search_products', suggesting a typical workflow. However, it does not explicitly state when to prefer this tool over siblings or provide exclusion criteria. The usage guidance is implicit rather than explicit, earning a mid-range score.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fauzanmhr/tokopedia-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server