Skip to main content
Glama
sahibinden-car-mcp

sahibinden-car-mcp

by gkdgbilal

Piyasa istatistiği

market_stats

Computes segment price statistics and comparable bands from locally saved listings, adjusting for km/year, to show a target vehicle's percentile position and price versus median.

Instructions

Yerel store'daki ilan (istek) fiyatlarından segment istatistiği (medyan, çeyrekler, P10/P90, n) ve verilen araç için emsal bandı ile fiyat konumunu (yüzdelik, medyana göre %) hesaplar. Km/model yılı farkı şeffaf Theil–Sen eğimleriyle düzeltilir; hasar/boya/tramer düzeltmeye girmez, ayrı tablolarda raporlanır. İki kullanım: target.ref ile store'daki bir ilanın konumu, ya da target.year+km(+price) ile kendi aracınız için emsal bandı. confidence alanını kullanıcıya AYNEN aktar; insufficient/low ise kesin yorum yapma. İstek fiyatı satış fiyatı değildir. Sonuçlar yalnızca kullanıcının kaydettiği sayfalara dayanır. İnternete bağlanmaz.

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

Input Schema

NameRequiredDescriptionDefault
adjustNoauto
targetNo
segmentNo
minSampleNo
maxAgeDaysNo
comparablesNo
damagePolicyNomatch-target

Output Schema

NameRequiredDescriptionDefault
rawYes
methodYes
sampleYes
targetYes
sameTrimYes
warningsYes
confidenceYes
comparablesYes
segmentUsedYes
damageBreakdownYes
tramerBreakdownYes
basisDistributionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full transparency burden and does substantial work: it discloses that km/year differences are corrected via transparent Theil-Sen slopes, that damage/paint/tramer are excluded from correction and reported in separate tables, that the asking price is not a sale price, that results depend only on pages the user has saved, and that the tool does not access the internet. It stops short of stating read-only/non-mutating behavior explicitly, though the compute framing implies it.

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 purpose and the two usage modes are front-loaded, and each following sentence adds a distinct constraint or caveat rather than restating the name. It is information-dense but well ordered; the confidence-handling instruction sits slightly awkwardly mid-paragraph, where it could be a separate lead-in to the usage modes.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values and the confidence field do not need describing here. However, for a complex statistical tool with two nested objects and several tuning parameters, leaving adjust, segment, minSample, maxAgeDays, comparables and damagePolicy unexplained leaves an agent guessing about how to scope the sample correctly.

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 0% and there are 7 top-level parameters including two nested objects, so the description must compensate. It meaningfully explains target.ref versus target.year/km/price and touches on damage handling, but it never explains the adjust switch (auto/none), the segment filter object, minSample, maxAgeDays, comparables, or how damagePolicy values map onto the described damage reporting. Coverage is therefore partial rather than decisive.

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?

Description opens with a concrete verb-plus-resource statement: computing segment statistics (median, quartiles, P10/P90, n) from asking prices in the local store, plus an emsal (comparables) band and price position for a given vehicle. This is clearly distinct from sibling tools such as search_cars, rank_cars, compare_cars or get_listing, none of which compute statistics or percentiles.

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?

It explicitly enumerates two invocation modes: target.ref to locate one store listing within the distribution, or target.year+km(+price) to build a band for the user's own car. It also gives a normative handling rule for the confidence field (act verbatim; no definitive claims when insufficient/low), which is real usage guidance. It does not, however, name a sibling alternative or say when another tool would be the better choice, which keeps it off a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.