Skip to main content
Glama

Get Price Star Boundaries

get_price_star_boundaries
Read-only

Fetch price ranges mapped to star ratings for a product by EAN to identify pricing thresholds for each rating level.

Instructions

Get the price star boundaries for a product by EAN. Shows the price ranges that correspond to different star ratings.

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": {
      "ean": "<ean>"
    },
    "name": "get_price_star_boundaries"
  }
}

Input Schema

NameRequiredDescriptionDefault
eanYesEAN (European Article Number) barcode of the product.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-scope behavior are covered structurally. The description adds that the result is a mapping of price ranges to star ratings, which is useful shape information. It says nothing about behavior when the EAN is unknown, or about currency/marketplace scoping of the ranges.

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 action and keyed by EAN. The second sentence is slightly redundant with the title but earns its place by explaining what 'boundaries' means.

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?

This is a simple single-parameter read tool, and no output schema exists, so the description carries the burden of describing return content. It gestures at the return value (price ranges per star rating) but leaves out the structure, units, currency, and marketplace context an agent would need to interpret results.

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 one parameter at 100% schema description coverage, the schema already defines 'ean' as the product barcode. The description's 'by EAN' merely restates it and adds no format, validation, or sourcing detail beyond the schema.

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 verb and resource ('Get the price star boundaries for a product') and names the lookup key (EAN). The second sentence clarifies what a 'price star boundary' actually is, which makes the resource concrete. It does not differentiate from siblings, but the resource is distinctive enough that confusion is unlikely.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use, when-not-to-use, or alternative-tool guidance. Nothing tells the agent whether this is the right call versus get_offer, get_product_ranks, or get_offer_insights when it needs pricing or ranking context.

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