Skip to main content
Glama

Get Dealer Price Position

get_dealer_price_position
Read-only

For one product, compare a dealer's delivered price with every other dealer's delivered price, return its rank and gap to the lowest offer, and compare its premium over spot with the field median.

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": {
      "slugOrId": "<slugOrId>",
      "dealerId": "<dealerId>"
    },
    "name": "get_dealer_price_position"
  }
}

Input Schema

NameRequiredDescriptionDefault
dealerIdYesDealer ID or slug (e.g., 'jm-bullion', 'JM Bullion', or 'jmbullion.com').
slugOrIdYesProduct slug or canonical product ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish the read-only, non-destructive profile, so the description's job is to add substance beyond that, which it does by enumerating the derived outputs (rank, gap to lowest offer, premium vs. spot compared to field median). It does not disclose edge cases such as behavior when the dealer has no offer for the product or how ties in rank are handled. No contradictions with the annotations.

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?

A single sentence with no filler, and the scoping condition ('For one product') is front-loaded ahead of the computed outputs. The three stacked clauses make it dense to parse but every clause carries real information.

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 must carry the return-value burden, and it names the three headline results (rank, gap to lowest, premium vs. median). For a two-parameter read-only tool that is nearly sufficient; the remaining gap is that 'delivered price' and the comparison population (which dealers are included) are never defined.

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 both slugOrId and dealerId are already documented with examples, and the baseline of 3 applies. The description reinforces that the call is scoped to exactly one product and one dealer, but adds no format, casing, or resolution detail beyond what the schema states.

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 verb and resource: compare one dealer's delivered price against every other dealer's for a single product, plus rank, gap to lowest, and premium vs. field median. That is unambiguous about what is computed. It falls short of a 5 only because it never contrasts itself with the sibling compare_product_dealers, leaving the agent to infer which of the two to pick.

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?

Usage is implied by the scope ('For one product... a dealer's... every other dealer's'), which signals a single product/dealer positional lookup rather than a catalog-wide comparison. There is no explicit when-to-use or when-not-to-use statement and no named alternative among the siblings such as compare_product_dealers or list_dealer_offers.

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