Skip to main content
Glama

Sharpest price search

price_per_unit

Read-only

Cheapest price per unit, best first: per GB/TB for storage and RAM, per GB of VRAM for GPUs, per battery, per ounce, per foot of cable and so on. category = a key from list_categories (e.g. 'storage', 'ram', 'gpus', 'Batteries', 'Coffee & tea'). Optional condition for eBay categories: new, used or refurb.

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": {
      "category": "<category>"
    },
    "name": "price_per_unit"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many rows to return (integer, default shown in the schema), e.g. 5
categoryYesA category key exactly as list_categories returns it, e.g. 'gpus', 'storage' or 'Batteries'
conditionNoListing condition for eBay categories: 'new', 'used', 'refurb' or 'any' (default)any

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / category / description
      Added value: +"A category key exactly as list_categories returns it, e.g. 'gpus', 'storage' or 'Batteries'"
    • addedInput schema / properties / condition / description
      Added value: +"Listing condition for eBay categories: 'new', 'used', 'refurb' or 'any' (default)"
    • addedInput schema / properties / limit / description
      Added value: +"How many rows to return (integer, default shown in the schema), e.g. 5"
  2. 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 readOnlyHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds behavior beyond that: results come back ordered best-first by normalized unit price, and the condition filter only applies to eBay categories. It does not discuss pagination or what to do when a category yields no normalized units.

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?

The core ranking behavior is front-loaded in the first clause, followed by illustrative examples and then two short operational notes. The trailing 'and so on' and mid-sentence category examples add some sprawl, but no sentence is redundant.

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?

For a three-parameter read-only tool with full schema coverage and existing annotations, this covers the essentials plus a useful return-order hint. With no output schema, the omission of what a returned row actually contains (product, price, computed unit price) is the main remaining gap.

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 description coverage is 100%, so the schema already documents all three parameters including the enum and defaults. The description adds one genuinely new constraint — condition is only meaningful for eBay categories — but says nothing about limit semantics or tradeoffs. Baseline 3 with a small increment 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?

The description states a specific resource and operation: cheapest price per unit, ranked best-first, with concrete normalization examples (per GB/TB, per GB VRAM, per battery, per ounce, per foot). This is far more specific than a restated title. It stops short of naming which sibling it supersedes (deals, search_prices), so the boundary is inferred rather than stated.

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?

It establishes one real prerequisite by pointing at list_categories as the source of valid category keys, and it constrains condition to eBay categories only. It gives no explicit guidance on when to pick this over deals, search_prices or used_vs_new, so the agent must infer the comparison-shopping use case.

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