Skip to main content
Glama

Price trend

get_price_trend
Read-onlyIdempotent

Month-by-month median sale price for an item, plus the first-to-last change — 'is this category softening?'. Computed from the same comps as get_sold_comps, so it never contradicts that range. Returns an empty series when too few months clear the sample threshold. Requires sign-in or an API key.

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": {
      "q": "<q>"
    },
    "name": "get_price_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesItem description, e.g. 'forklift'
stateNoOptional 2-letter state/region code.
countryNoUS
categoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "US",
      -  "UK",
      -  "CA",
      -  "AU",
      -  "DE",
      -  "FR"
      -]New value: +[
      +  "US",
      +  "UK",
      +  "CA",
      +  "AU",
      +  "DE",
      +  "FR",
      +  "NL"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "US",
      -  "UK",
      -  "CA",
      -  "AU",
      -  "DE"
      -]New value: +[
      +  "US",
      +  "UK",
      +  "CA",
      +  "AU",
      +  "DE",
      +  "FR"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "US",
      -  "UK",
      -  "CA",
      -  "AU"
      -]New value: +[
      +  "US",
      +  "UK",
      +  "CA",
      +  "AU",
      +  "DE"
      +]
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds genuinely non-obvious behavior: an empty series is returned when too few months clear the sample threshold, results are guaranteed consistent with get_sold_comps, and sign-in or an API key is required.

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?

Four dense sentences with no filler: what it returns, why it exists, how it relates to a sibling, and its edge-case/auth behavior. The core 'month-by-month median sale price' is front-loaded ahead of the caveats.

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 carries the return-shape burden and does so adequately: a monthly series plus a first-to-last delta, and an empty series case. Auth requirements are stated. Only minor gaps remain, such as the default time window and how the delta is expressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%: q and state are documented, but category has no description anywhere, and country is documented only by its enum and default. The description adds nothing about the geography parameters or category scoping, both of which materially change the series returned, so it does not compensate for the coverage gap.

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 resource (month-by-month median sale price for an item) and the derived metric (first-to-last change), framed around a concrete question. It explicitly distinguishes itself from get_sold_comps by noting it is computed from the same comps, so an agent can tell the two apart without opening a schema.

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?

The framing question 'is this category softening?' gives a clear scenario for selecting this tool, and the explicit tie to get_sold_comps tells the agent these two are complementary rather than competing. It stops short of stating when not to use it (e.g., for single-transaction lookups use get_listing or get_sold_comps).

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.