Skip to main content
Glama

NaKus unit price

Compare NaKus unit prices

compare_unit_prices
Read-onlyIdempotent

Compare landed €/unit for 2–4 Cite products side-by-side and return cheapest_answer. Use when the user asks which of several known products is cheaper per unit (same or different brands). Pass exact answer slugs and/or EANs — discover slugs via search_cite_answers first. Does NOT replace get_unit_price (single product quote) or get_cite_answer (full Cite + offer table). Read-only, idempotent. Brand: nakus.sk ≠ nakup.sk.

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

Input Schema

NameRequiredDescriptionDefault
eansNoOptional GTIN/EAN list (8–14 digits) instead of or mixed with answers
answersNo2–4 exact Cite slugs, e.g. ['persil-color-gel-100-prani','ariel-gel-color-100-prani']

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / answers / description
      Previous value: -"2–4 exact Cite slugs, e.g. ['persil-color-gel-100-prani','ariel-color-gel-100-prani']"New value: +"2–4 exact Cite slugs, e.g. ['persil-color-gel-100-prani','ariel-gel-color-100-prani']"
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so restating "Read-only, idempotent" earns no credit. Beyond that the description adds genuine context: the comparison basis is landed €/unit, the headline return field is cheapest_answer, and the brand scope warning "nakus.sk ≠ nakup.sk" guards against cross-brand confusion.

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-loads the action and output, then usage, then exclusions, then constraints — a logical ordering with little waste. The trailing "Brand: nakus.sk ≠ nakup.sk" is terse to the point of being cryptic, and the read-only/idempotent clause duplicates annotations.

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 no output schema, the description names the key return value (cheapest_answer) and the comparison metric, which is the essential piece. It stops short of describing the rest of the comparison payload, but inputs, alternatives and scope are all covered.

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%, so both parameters are already documented, including the 2–4 bounds and the mixing of EANs with slugs. The description reinforces exactness of slugs and the mix-and-match option but adds no format or syntax detail the schema lacks, so the baseline 3 applies.

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?

States a specific verb and resource ("Compare landed €/unit for 2–4 Cite products side-by-side") plus the output it produces (cheapest_answer), and explicitly distinguishes itself from get_unit_price and get_cite_answer. An agent can select it without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit triggering condition ("user asks which of several known products is cheaper per unit"), names the sibling tools it does not replace with their respective scopes, and states the prerequisite of discovering slugs via search_cite_answers first.

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.