Skip to main content
Glama

Where a product is cheapest per unit

unit_price

Links to OutletPicks listings matching a product description, lowest cost per unit (per ml, per diaper, per page, per lb) first, with the shelf each sits on. The pages show today's Amazon price, pack size and cost per unit; the tool returns links, not prices. Use for "what should X cost" and "is this a good price", then read the page.

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": {
      "query": "<query>"
    },
    "name": "unit_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMatches to return (default 5).
queryYesProduct words, e.g. "aa batteries" or "dove body wash 22 oz".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses the return type (links, not prices), the sort order (lowest cost per unit first), what the linked pages contain (today's Amazon price, pack size, cost per unit), and the modes of comparison (per ml, per diaper, per page, per lb). It omits freshness guarantees, rate limits, and what happens when no match is found.

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?

Three tight sentences: what it returns, the critical caveat that it returns links rather than prices, and when to use it. Front-loaded and no filler, despite 'cost per unit' recurring as a deliberate motif.

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 two-parameter, read-only link-returning tool with no output schema and no annotations, the description supplies everything an agent needs: return shape, sort semantics, unit dimensions, and the follow-up step of reading the page.

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. The description reinforces 'matching a product description' for query and explains that results are ordered by unit cost, but adds no syntax, format, or limit-related detail beyond the schema — baseline 3 is appropriate.

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 concrete verb and resource: returns links to listings matching a product description, sorted by cost per unit and annotated with the shelf. The unit-price framing plus the 'returns links, not prices' caveat makes the tool's identity distinct, though no sibling (category_price, bigger_pack) is named to sharpen the boundary.

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

Usage Guidelines4/5

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

Gives explicit usage contexts — 'what should X cost' and 'is this a good price' — plus the follow-up action 'then read the page'. It does not state when NOT to use it or how it differs from category_price or bigger_pack, so the routing guidance is contextual rather than exhaustive.

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