Skip to main content
Glama
the-up

tsb-kasko-mcp

by the-up

tsb-kasko-mcp — TSB Kasko Değer Listesi için MCP sunucusu ve CLI

Türkiye Sigorta Birliği'nin (TSB) yayımladığı Kasko Değer Listesi'ni sorgulayan açık kaynak MCP sunucusu, komut satırı aracı ve Python istemcisi. Claude, ChatGPT, Gemini ve Cursor içinden "2025 model Audi A3'ün kasko bedeli ne kadar" diye sorabilir; terminalden tsb-kasko lookup 2025 "audi a3" yazabilir ya da kendi Python projenizde kütüphane olarak kullanabilirsiniz.

CI Python MCP Lisans: MIT Test kapsamı

Kasko değer listesi, Türkiye'de satılan her kasko poliçesinin fiyatlandığı referans bedeldir. Aynı zamanda pert (tam hasar) ve çalınma durumlarında ödenecek tutarın da dayanağıdır. Bu proje, TSB'nin web sitesinin arka planında kullandığı ve kimlik doğrulaması gerektirmeyen uçları tiplenmiş bir istemciye dönüştürür.

Arayüz

Nasıl çalıştırılır

Kime göre

MCP sunucusu

tsb-kasko-mcp

Claude, ChatGPT, Gemini, Cursor

Komut satırı

tsb-kasko lookup 2025 "audi a3"

Terminal, betik, CI

Python istemcisi

from tsb_kasko import TsbKaskoClient

Kendi uygulamanız

Paket kurulduğunda iki komut birden gelir; ayrı bir CLI paketi kurmanıza gerek yoktur.

İçindekiler

Related MCP server: Tabela FIPE

Ne işe yarar

  • Yapay zekâ asistanından kasko bedeli sorgulama. Claude, ChatGPT ve Gemini içinden doğal dille sorarsınız, model aracı çağırır, güncel bedeli döner.

  • Terminalden sorgulama. tsb-kasko lookup 2025 "audi a3 sportback" komutu tabloyu, JSON'u veya CSV'yi doğrudan basar.

  • Poliçedeki araç kodu. Sonuçlar sigortacının sorduğu marka kodu - model kodu ikilisini de içerir, örneğin 9-1616.

  • Geçmiş listeler. TSB her ay listeyi yeniden yayımlar. Geçmiş ayların Excel dosyasını indirebilir veya içinde arama yapabilirsiniz.

  • Python kütüphanesi. Kendi projenizde TsbKaskoClient sınıfını doğrudan kullanabilirsiniz.

Kurulum

Ön koşul: uv. Python'u da o kurar.

Kurulum yapmadan denemek için:

uvx --from git+https://github.com/hmtkyn/tsb-kasko-mcp tsb-kasko lookup 2025 "audi a3 sportback"

Kalıcı kurulum:

uv tool install git+https://github.com/hmtkyn/tsb-kasko-mcp

veya pip ile:

pip install git+https://github.com/hmtkyn/tsb-kasko-mcp

Paket henüz PyPI'de yayımlanmadı. Yayımlandığında uv tool install tsb-kasko-mcp ve pip install tsb-kasko-mcp de çalışacak; yayımlama iş akışı depoda hazır.

Depodan geliştirme kurulumu için Geliştirme bölümüne bakın.

MCP kurulumu

Sunucu hem stdio hem de streamable HTTP taşımasını destekler, bu yüzden hem masaüstü istemcileri hem de barındırılan bağlayıcılar için çalışır.

Claude Code

claude mcp add tsb-kasko -- uvx --from git+https://github.com/hmtkyn/tsb-kasko-mcp tsb-kasko-mcp

Claude Desktop

claude_desktop_config.json dosyasına ekleyin:

{
  "mcpServers": {
    "tsb-kasko": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/hmtkyn/tsb-kasko-mcp", "tsb-kasko-mcp"]
    }
  }
}

Cursor / VS Code

.cursor/mcp.json veya çalışma alanındaki .vscode/mcp.json dosyasına aynı mcpServers bloğunu ekleyin.

Gemini CLI

~/.gemini/settings.json dosyasına ekleyin:

{
  "mcpServers": {
    "tsb-kasko": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/hmtkyn/tsb-kasko-mcp", "tsb-kasko-mcp"]
    }
  }
}

ChatGPT ve diğer uzak istemciler

ChatGPT bağlayıcıları sunucuya HTTP üzerinden ulaşır. Sunucuyu HTTP modunda çalıştırın:

TSB_KASKO_TRANSPORT=http TSB_KASKO_HOST=0.0.0.0 TSB_KASKO_PORT=8000 tsb-kasko-mcp

veya herhangi bir ASGI sunucusuyla:

uvicorn tsb_kasko.asgi:app --host 0.0.0.0 --port 8000

Uç nokta varsayılan olarak http://sunucu:8000/mcp adresinde yayınlanır. En kolay yol için Docker bölümüne bakın.

MCP araçları

Araç

Ne yapar

kasko_lookup

Serbest metinden araç bulur ve her eşleşmenin kasko bedelini döner. Ana araç budur.

kasko_list_model_years

Listenin kapsadığı model yıllarını döner. Kapsam 2012 ve sonrasıdır.

kasko_list_brands

Bir model yılındaki markaları listeler.

kasko_list_models

Bir markanın o model yılındaki tiplerini listeler.

kasko_get_value

Model kimliği bilinen tek bir aracın bedelini okur.

kasko_archive_file

Belirli bir ayın yayımlanmış Excel dosyasını çözümler.

kasko_search_archive

Geçmiş bir ayın listesi içinde arama yapar.

kasko_download_archive

Belirli bir ayın Excel dosyasını diske indirir.

kasko_download_archive dışındaki tüm araçlar readOnlyHint ile işaretlidir; yani istemci onlar için onay istemeden çağrı yapabilir.

Komut satırı kullanımı

# Kapsanan model yılları
tsb-kasko years

# Bir model yılındaki markalar
tsb-kasko brands 2025

# Bir markanın tipleri
tsb-kasko models 2025 audi

# Serbest metinle sorgulama
tsb-kasko lookup 2025 "audi a3 sportback s line"

# Markayı sabitleyerek hızlandırma
tsb-kasko lookup 2025 "corolla hybrid" --brand toyota --limit 10

# JSON veya CSV çıktısı
tsb-kasko lookup 2025 "audi a3" --format json
tsb-kasko brands 2025 --format csv > markalar.csv

# Arşiv
tsb-kasko archive months
tsb-kasko archive file 2025 2
tsb-kasko archive search 2025 2 --query "sahin" --limit 20
tsb-kasko archive download 2025 2 --output ~/Downloads

# Önbellek
tsb-kasko cache path
tsb-kasko cache clear

# MCP sunucusunu CLI üzerinden çalıştırma
tsb-kasko serve --transport http --port 8000

Örnek çıktı:

                      audi a3 sportback in 2025
┏━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Vehicle Code ┃ Brand ┃ Model                               ┃ Kasko Value    ┃
┡━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ 9-1616       │ AUDI  │ A3 SPORTBACK 35 TFSI 150 S LINE ... │ 3.695.439,00 TL│
└──────────────┴───────┴─────────────────────────────────────┴────────────────┘

Python kütüphanesi olarak

import asyncio

from tsb_kasko import TsbKaskoClient


async def main() -> None:
    async with TsbKaskoClient() as client:
        for value in await client.lookup(2025, "audi a3 sportback"):
            print(value.vehicle_code, value.model_name, value.amount)


asyncio.run(main())

Docker

Konteyner, MCP sunucusunu HTTP taşımasıyla yayımlar. İki aşamalı derleme kullanır, kök olmayan bir kullanıcıyla çalışır ve dosya sistemi salt okunurdur.

docker compose up --build
# -> http://127.0.0.1:8000/mcp

Yalnızca imajı derleyip CLI'yi çalıştırmak için:

docker build -f .docker/python/Dockerfile -t tsb-kasko-mcp .
docker run --rm --entrypoint tsb-kasko tsb-kasko-mcp lookup 2025 "audi a3"

Python sürümü imaja ARG PYTHON_VERSION ile sabitlenmiştir ve depodaki .python-version ile aynı sürümü kullanır.

Yapılandırma

Tüm ayarlar ortam değişkenleriyle geçersiz kılınabilir.

Değişken

Varsayılan

Açıklama

TSB_KASKO_BASE_URL

https://www.tsb.org.tr

TSB uygulamasının kök adresi.

TSB_KASKO_TIMEOUT

30

İstek başına zaman aşımı, saniye.

TSB_KASKO_MAX_RETRIES

3

Geçici hatalarda deneme sayısı.

TSB_KASKO_CACHE

1

0 verilirse önbellek tamamen kapanır.

TSB_KASKO_CACHE_TTL

21600

Marka ve model listelerinin önbellek ömrü, saniye.

TSB_KASKO_CACHE_DIR

~/.cache/tsb-kasko

Önbellek dizini.

TSB_KASKO_TRANSPORT

stdio

MCP taşıması: stdio, http veya sse.

TSB_KASKO_HOST

127.0.0.1

HTTP taşımasının dinleme adresi.

TSB_KASKO_PORT

8000

HTTP taşımasının portu.

TSB_KASKO_MCP_PATH

/mcp

ASGI uygulamasındaki uç nokta yolu.

Kullanılan TSB uçları

TSB bir API sözleşmesi yayımlamıyor. Aşağıdaki uçlar sitenin ön yüzünün kullandığı, kimlik doğrulaması ve çerez gerektirmeyen uçlardır. Hepsi src/tsb_kasko/endpoints.py içinde tek yerde tanımlıdır.

Parametreler

Döner

GET /InsuranceData/GetVehicleYearList

yok

Kapsanan model yılları

GET /InsuranceData/GetVehicleBrandList

VehicleYear

Markalar

GET /InsuranceData/GetVehicleModelList

vehicleYear, VehicleBrandId

Tipler

GET /InsuranceData/GetInsuranceDatas

VehicleYear, VehicleModelId

Kasko bedeli ve araç kodu

GET /InsuranceData/GetMonthList

yok

Arşiv ayları

GET /InsuranceData/GetInsuranceDataArchiveFile

Year, MonthId

Aylık Excel dosyasının yolu

İki ayrıntı dikkat çekicidir:

  1. Marka listesindeki VehicleBrandCode alanı her zaman 0 gelir. Poliçede yazan gerçek marka kodu yalnızca GetInsuranceDatas yanıtında dolu gelir.

  2. GetMonthList içindeki Id alanı takvim ayı değildir. Ocak 2, Ekim ise 1 kimliğine sahiptir. Bu yüzden istemci ay kimliğini hesaplamaz, canlı listeden çözer.

Proje yapısı

Üç arayüz de aynı çekirdeğin üstünde duran ince kabuklardır. Bu yüzden hepsi tek repoda yaşar: TSB bir ucu yeniden adlandırdığında düzeltme tek dosyada yapılır, üç ayrı sürüm senkronu gerekmez.

src/tsb_kasko/
├── client.py      # çekirdek: HTTP, yeniden deneme, önbellek
├── endpoints.py   # TSB uçlarının tek tanım yeri
├── models.py      # Pydantic modelleri
├── parsing.py     # zarf açma, Türkçe sayı ve metin normalleştirme
├── archive.py     # aylık Excel listelerinin okuyucusu
├── server.py      # kabuk 1: FastMCP sunucusu
├── cli.py         # kabuk 2: Typer komut satırı
└── asgi.py        # HTTP taşıması için ASGI uygulaması

Aynı düzen github/github-mcp-server, microsoft/playwright-mcp ve grafana/mcp-grafana projelerinde de kullanılıyor: ortak çekirdek, üstünde birden fazla giriş noktası.

Geliştirme

git clone https://github.com/hmtkyn/tsb-kasko-mcp.git
cd tsb-kasko-mcp
uv sync --all-extras --all-groups
uv run pre-commit install
uv run pytest                                  # 146 test, kayıtlı gerçek yanıtlarla
uv run pytest --cov --cov-report=term-missing  # kapsam raporu
uv run ruff check .                            # lint
uv run ruff format .                           # biçimlendirme
uv run mypy src/tsb_kasko                      # strict tip denetimi
uv run pre-commit run --all-files              # CI'ın yaptığının tamamı

Testler TSB'den alınmış gerçek yanıtların birebir kopyalarını kullanır, bu sayede sözleşme değiştiğinde testler kırılır. Ağa çıkan test yoktur.

Windows, macOS ve Linux'ta aynı sonuç

Bu depo üç işletim sisteminde de aynı davranacak şekilde ayarlandı:

  • .python-version Python sürümünü 3.14'e sabitler; uv gerekirse indirir. Paketin desteklediği aralık ise >=3.11 ve CI dört sürümü birden test eder.

  • .gitattributes her metin dosyasını depoda LF ile saklar. Windows'ta core.autocrlf açık olsa bile depoya CRLF girmez. CI'da bir adım bunu ayrıca denetler.

  • .editorconfig girinti, kodlama ve satır sonunu editörden bağımsız sabitler.

  • .devcontainer/ ile hiçbir şey kurmadan konteyner içinde geliştirebilirsiniz.

Ayrıntılar için CONTRIBUTING.md.

Sık sorulanlar

Kasko değeri nedir, neye göre belirlenir? TSB'nin her ay yayımladığı, marka ve tip bazında referans araç bedelidir. Sigorta şirketleri poliçe primini ve hasar ödemesini bu bedel üzerinden hesaplar.

Aracımın kasko bedelini nasıl öğrenirim? tsb-kasko lookup <model_yılı> "<marka ve tip>" komutunu çalıştırın ya da MCP sunucusunu kurup asistanınıza sorun. Resmî kaynak her zaman tsb.org.tr adresidir.

Poliçedeki araç kodu nedir? Sigortacının sorduğu marka kodu - model kodu ikilisidir, örneğin 9-1616. Sonuçlarda vehicle_code alanında döner.

Hangi model yılları kapsanıyor? 2012 ve sonrası. Güncel listeyi tsb-kasko years ile görebilirsiniz.

Geçmiş bir ayın listesine ulaşabilir miyim? Evet. tsb-kasko archive search 2025 2 --query "sahin" geçmiş ayın Excel dosyasında arar, archive download ise dosyanın kendisini indirir.

Bu proje resmî mi? Hayır. Aşağıdaki sorumluluk reddine bakın.

Sorumluluk reddi

Bu proje TSB ile ilişkili değildir ve TSB tarafından desteklenmemektedir. Veriler TSB'nin herkese açık sayfasından alınır. TSB'nin kendi ifadesiyle, bu değerlerin işlemlerde kullanılmasından doğacak sonuçlardan TSB sorumluluk kabul etmemektedir. Resmî kaynak her zaman tsb.org.tr adresidir.

Uçlar TSB tarafından belgelenmediği için haber verilmeden değişebilir. Böyle bir durumda src/tsb_kasko/endpoints.py dosyasını güncellemek yeterlidir.

Katkı ve lisans

MIT lisansı ile yayımlanmıştır. 中文信息翻译:docs/lisans.md

Available Tools

8 tools
kasko_archive_fileA
Read-only

Resolve the monthly kasko list spreadsheet published by TSB.

TSB republishes the full list every month and keeps the past editions online. Use this to cite or hand the user the exact file for a given month, or to compare a current value against an older one.

ParametersJSON Schema
NameRequiredDescriptionDefault
yearYesPublication year of the list, for example 2025.
monthYesCalendar month of the list, 1 for January.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already provide readOnlyHint and openWorldHint, so the description's addition is minimal. It does not contradict annotations, but it adds little behavioral detail beyond stating it 'resolves' a file—no mention of network dependency, file size, or error handling.

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?

The description is extremely concise (~50 words) and front-loaded with the core purpose. Every sentence serves a function: stating purpose, explaining context, listing use cases. No wasted words.

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?

Given the tool's simplicity (2 params, output schema present), the description covers purpose, usage context, and practical applications. It could mention what happens if the requested month doesn't exist, but openWorldHint reduces the need. Overall, it feels complete for this tool.

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?

The input schema already covers both parameters with clear descriptions (year with example, month with min/max/example). The description adds no additional meaning or context for the parameters, meeting the baseline for 100% schema coverage.

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 clearly states the tool resolves a monthly spreadsheet and provides use cases like citing or comparing. It distinguishes from siblings by focusing on retrieving a specific month's file, though the verb 'resolve' is slightly vague compared to 'retrieve' or 'fetch'.

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 description explains when to use this tool (to get a file for a given month or compare values) and provides background on TSB's publishing pattern. It does not explicitly state when not to use it, but the context is clear enough to avoid misuse.

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

kasko_download_archiveA

Download a monthly kasko list spreadsheet to disk.

Use this when the user wants the whole list as a file rather than a few rows. Prefer kasko_search_archive when they only need specific vehicles.

ParametersJSON Schema
NameRequiredDescriptionDefault
yearYesPublication year of the list, for example 2025.
monthYesCalendar month of the list, 1 for January.
destinationNoDirectory to save into. Defaults to the current working directory.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already indicate a write operation (readOnlyHint: false) with no destructiveness (destructiveHint: false). The description adds that it saves a spreadsheet to disk, which is consistent and provides useful context about output format. It does not go into details like file naming or overwrite behavior, but given the annotations, the transparency is strong.

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?

Two sentences, no fluff, front-loaded with the action. Every word serves a purpose. Perfectly concise for the tool's simplicity.

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?

Given the low complexity (3 parameters, simple semantics), perfect schema coverage, existing output schema, and clear annotations, the description covers all necessary aspects. It includes usage guidelines and sibling differentiation, making it fully self-contained for an AI agent.

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 baseline is 3. The description does not add extra meaning to parameters beyond what the schema provides (year, month, destination). It correctly implies monthly granularity, but this is already clear from the parameter names and tool title.

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?

The description explicitly states 'Download a monthly kasko list spreadsheet to disk,' providing a clear verb and resource. It distinguishes itself from sibling kasko_search_archive by noting when to use each, making the purpose unambiguous.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use guidance ('when the user wants the whole list as a file rather than a few rows') and explicitly names an alternative tool for a different case ('Prefer kasko_search_archive when they only need specific vehicles'). This fully satisfies the criteria.

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

kasko_get_valueA
Read-only

Read the kasko value of one exact model by its identifier.

Use this after the user picks a specific row from kasko_list_models. When the vehicle is only described in words, use kasko_lookup instead.

ParametersJSON Schema
NameRequiredDescriptionDefault
model_idYesModel identifier returned by kasko_list_models or kasko_lookup.
model_yearYesVehicle model year, for example 2025.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already provide readOnlyHint and openWorldHint, so the description's claim of reading aligns. However, the description adds no extra behavioral context (e.g., latency, auth needs, or that results may vary per openWorldHint). It is adequate but does not add value beyond what annotations convey.

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?

The description is two sentences with no redundancy. The first sentence states the core purpose; the second provides usage guidance. Every word earns its place.

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?

Given the simplicity of the tool (two required params, output schema exists), the description is sufficient. It covers what the tool does, when to use it, and how to differentiate from siblings. No gaps are evident.

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% and the schema already includes meaningful descriptions for both parameters. The description mentions 'by its identifier' but does not add new semantic 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Read the kasko value of one exact model by its identifier'), specifies the resource ('kasko value'), and distinguishes it from siblings by referencing kasko_list_models and kasko_lookup. This is specific and leaves no ambiguity.

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

Usage Guidelines5/5

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

The description explicitly tells when to use the tool ('after the user picks a specific row from kasko_list_models') and when to use an alternative ('When the vehicle is only described in words, use kasko_lookup instead'). This provides clear decision context.

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

kasko_list_brandsA
Read-only

List the vehicle brands available for a model year.

Brand availability differs per model year, so the year is required. The returned brand_id is the identifier kasko_list_models expects; it is not the brand code printed on policies.

ParametersJSON Schema
NameRequiredDescriptionDefault
model_yearYesVehicle model year, for example 2025.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, which the description reinforces. It adds behavioral nuance by clarifying that the returned brand_id is not the brand code printed on policies, preventing misuse. It could mention the exact return format but the output schema likely covers that.

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?

The description is brief, with exactly two short paragraphs. The first sentence delivers the core purpose, and the second adds essential details. Every sentence earns its place; there is zero waste.

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?

Given the tool's simplicity (one parameter, no nested objects), the description fully covers the purpose, requirements, and the key distinction about brand_id. The output schema exists, so return values are documented elsewhere, making this description complete.

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

Parameters4/5

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

Schema already describes model_year with an example, and the description emphasizes its necessity and the fact that availability varies by year. This adds meaningful context beyond the schema, such as why the parameter is required and its impact on results.

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?

The description clearly states the tool lists vehicle brands for a model year, using a specific verb and resource. It distinguishes from siblings like kasko_list_models by mentioning it returns brand_id for that consumer.

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

Usage Guidelines5/5

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

Explicitly states the year is required because availability differs per year, and notes the relationship to kasko_list_models. This provides clear when-to-use guidance and key context for the expected workflow.

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

kasko_list_modelsA
Read-only

List the models of one brand in a model year.

Model names carry trim, engine and gearbox information, which is what makes two rows of the same nameplate differ in value. The returned model_id is the identifier kasko_get_value expects.

ParametersJSON Schema
NameRequiredDescriptionDefault
brandYesBrand name or fragment, for example 'audi' or 'vw'.
model_yearYesVehicle model year, for example 2025.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so no destructive behavior is expected. The description adds behavioral context about model name composition (carrying trim, engine, gearbox info) and that model_id is the key for kasko_get_value, enhancing transparency beyond 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?

The description is concise with three sentences. The first sentence is a clear purpose statement, and the additional sentences provide useful detail without being verbose. However, the first sentence could more explicitly front-load the essential action.

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?

Given the low complexity (2 required parameters, 100% coverage, no enums), the description is adequate. It explains the meaning of returned data and how it connects to another tool (kasko_get_value). The presence of an output schema means return values don't require further explanation.

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% and the schema already describes both parameters (brand and model_year) with examples. The description does not add further parameter semantics; the example values in the description are redundant with the schema descriptions.

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?

The description clearly states the verb ('List') and the specific resource ('models of one brand in a model year'). It also distinguishes itself from siblings by noting that the returned model_id is used by kasko_get_value, which differentiates it from tools like kasko_list_brands or kasko_list_model_years.

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?

The description explains what the tool returns (model names with trim, engine, gearbox info) and the significance of model_id for downstream use, but does not explicitly state when to use this tool over alternatives or mention any prerequisites or exclusions.

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

kasko_list_model_yearsA
Read-only

List the vehicle model years covered by the TSB kasko value list.

Call this when the user gives no model year, or to check whether a year is covered before querying it. Coverage starts at 2012.

Returns: A mapping with the covered model years in descending order.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.7/5.0
Behavior4/5

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

The readOnlyHint and openWorldHint annotations already indicate this is a non-destructive, open-ended read operation. The description adds that coverage starts at 2012 and the result is a mapping in descending order, which are useful behavioral details beyond the annotations. However, it does not disclose whether the output always includes a fixed set of years or may vary (e.g., if coverage is updated). The annotations cover the safety profile well, so the description's incremental value is solid but not maximal.

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?

The description is very concise: three clear sentences covering purpose, usage scenario, and a key behavioral constraint (start year). It immediately states the tool's function, then gives a concrete use case, and wraps with a brief note on the output format. No words are wasted, and every sentence serves a distinct purpose.

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?

Given the tool's simplicity (zero parameters, a mapping output, and clear semantics), the description is complete enough. The output schema exists (though the content is not shown here, but the description mentions the return type), and the start year constraint is disclosed. For a list tool with straightforward behavior, no additional info is needed to enable correct invocation and interpretation.

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

Parameters4/5

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

The tool has zero parameters, and schema description coverage is 100%. The description does not need to explain parameters since there are none, but it clarifies that no input is required and the call itself is a self-contained check. This achieves a high baseline (4) because the schema is trivially complete and the description confirms the stateless nature.

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?

The description clearly states it lists vehicle model years from the TSB kasko value list, specifying it returns them in descending order. The verb 'list' and the resource 'vehicle model years' are explicit, and it distinguishes from siblings by being a parameterless year-coverage check, unlike tools like kasko_lookup or kasko_get_value which operate on specific entries.

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

Usage Guidelines5/5

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

The description explicitly tells when to call this tool: when the user provides no model year, or to verify coverage before querying a specific year. This contrasts with siblings like kasko_list_brands or kasko_list_models which list other entities, and kasko_get_value which retrieves a specific value once a year is known. The guidance is direct and actionable, leaving no ambiguity about prerequisites or context.

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

kasko_lookupA
Read-only

Look up the kasko value of a vehicle from a free text description.

This is the primary tool. It resolves the description to matching models and returns the value of each, so no identifier lookup is needed first. Every result carries vehicle_code, the brand and model code pair printed on policies, which is the value an insurer will ask for.

When several trims match, present them to the user rather than guessing: the spread between trims of the same nameplate is often large.

ParametersJSON Schema
NameRequiredDescriptionDefault
brandNoOptional brand name to restrict the search and speed it up.
limitNoMaximum number of priced matches to return.
queryYesFree text vehicle description. Include brand, nameplate and any trim or engine detail the user gave, for example 'audi a3 sportback s line' or 'corolla 1.6 hybrid'.
model_yearYesVehicle model year, for example 2025.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.4/5.0
Behavior4/5

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

注释已提供readOnlyHint(只读)和openWorldHint(结果可能变化)。描述在此基础上增加了关键行为:解析描述后匹配模型并按车辆返回价值;每个结果携带vehicle_code(保单上使用的品牌型号对);当多个配置匹配时,要求代理呈现给用户而非猜测。这些行为准则超出了注释的覆盖范围,但未解释openWorldHint的具体含义(如结果集是否随时间变化)。

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?

描述仅用三个句子便涵盖了核心功能、使用定位(主工具)、返回值关键字段以及多匹配处理原则。每句承载明确信息,无冗余或无关内容,信息密度高且前端加载了最重要信息。

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?

针对4个参数(含2个必需)且有输出模式的场景,描述给出了基本完整的介绍:工具做什么、参数使用建议、返回值关键含义、以及用户交互策略。但缺少对无匹配或查询不精确时的处理说明,也未涉及与其他兄弟工具(如kasko_list_models)协作的典型流程。考虑到复杂度,描述已覆盖核心用例,留有少量改进空间。

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

Parameters4/5

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

模式描述覆盖率为100%,基线为3。描述通过示例(“Include brand, nameplate and any trim or engine detail the user gave”)解释了如何填充query参数,并强调了brand可选以加速搜索。同时描述了返回值中的vehicle_code字段及其业务意义(保险公司要求的值),这为参数的使用提供了语义上下文,超过了模式本身的描述。

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?

描述以“Look up the kasko value of a vehicle from a free text description”开篇,明确动词(look up)和资源(kasko value),并指出输入是自由文本。后续强调这是“primary tool”,无需预先进行标识符查找,直接区隔于需要编码的兄弟工具(如kasko_get_value),使目的高度清晰且区分于同类工具。

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?

描述明确说“This is the primary tool”并给出使用时的行为准则(当多个配置匹配时呈现给用户而非猜测),暗示了这是首选入口。但未明确说明何时应转向其他工具(如kasko_list_brands或kasko_get_value),也缺少当自由文本无法解析时的回退建议,从而遗漏了明确的替代路径。

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

kasko_search_archiveA
Read-only

Search inside a past monthly kasko list.

Answers historical questions the live endpoints cannot, such as what a vehicle was valued at earlier in the year. The spreadsheet is downloaded and filtered server side, so keep the query specific.

ParametersJSON Schema
NameRequiredDescriptionDefault
yearYesPublication year of the list, for example 2025.
limitNoMaximum number of rows to return.
monthYesCalendar month of the list, 1 for January.
queryNoOptional free text filter applied to brand and model names.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already provide readOnlyHint: true and openWorldHint: true, indicating a safe, read-only operation with potentially expanding data. The description adds value by explaining that the spreadsheet is downloaded and filtered server-side, which implies a delayed response and potential size limits. It also clarifies the historical scope limitation, which is not in 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very concise: two sentences covering purpose, use case, and a behavioral caveat. Every sentence provides essential information without redundancy. The layout is front-loaded with the core action, making it easy for an AI agent to quickly grasp the tool's role.

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?

Given the tool's complexity (4 parameters, 2 required, no enums) and the presence of a full input schema and output schema, the description is complete enough. It explains the historical query purpose, the server-side processing behavior, and advises on query specificity. The annotations fill in safety and scope, and the sibling tools provide alternatives for other use cases.

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

Parameters4/5

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

Schema coverage is 100%, so each parameter has a description. The description adds meaning by clarifying that 'query' is an optional free text filter for brand and model names, which is consistent with the schema. While the schema already provides details, the description's mention of filtering 'server side' and keeping queries specific adds pragmatic context. The example year '2025' in the year field description is also helpful.

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?

The description explicitly states the tool searches inside a past monthly kasko list, addressing historical questions like vehicle valuations earlier in the year. The verb 'search' and resource 'archive' are clear, and the purpose is distinguished from siblings by focusing on historical data not available via live endpoints.

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 description clearly states when to use this tool: for historical questions that live endpoints cannot answer. It provides an example ('what a vehicle was valued at earlier in the year') and advises to keep queries specific, implying efficient usage. However, it doesn't explicitly exclude other scenarios or mention when not to use it, but the context of eight sibling tools and the open-world hint suggests alternatives exist.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 8 tool updatesv0.1.0
    • First observedkasko_archive_file
    • First observedkasko_download_archive
    • First observedkasko_get_value
    • First observedkasko_list_brands
    • First observedkasko_list_model_years
    • First observedkasko_list_models
    • First observedkasko_lookup
    • First observedkasko_search_archive

TDQS

A4.4/5.0

Scored across 8 tools

Disambiguation5/5

Each tool has a distinct purpose: browsing hierarchy (years, brands, models), direct value lookup (free-text vs exact ID), and archive handling (resolve, search, download). No two tools overlap enough to cause confusion, and the descriptions clearly differentiate kasko_lookup from kasko_get_value.

Naming Consistency4/5

Most tools follow the kasko_<verb>_<object> pattern (list_brands, get_value, search_archive). Minor deviations: kasko_lookup lacks an object, and kasko_archive_file is noun-like rather than verb-led. Overall the convention is consistent and readable.

Tool Count5/5

With 8 tools, the set is well-scoped for a kasko lookup service. Three tools cover hierarchical browsing, two cover value retrieval, and three cover archive operations. No tool feels redundant or missing.

Completeness5/5

The surface covers the full user journey: discover coverage years, browse brands/models, get current value by text or exact ID, and access historical data via archive tools. No critical operations are missing for a read-only reference service.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Provides an MCP interface for accessing YOKATLAS (Turkish Higher Education Council Atlas) data, enabling LLM applications like Claude to search and retrieve details about undergraduate and associate degree programs in Turkey.
    4
    71
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides vehicle reference prices in Brazil (Tabela FIPE) for cars, motorcycles, and trucks, enabling navigation by brand/model/year, historical price queries, depreciation curves, and fuzzy model search.
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP server that unifies official Turkish open data sources into a single interface, letting AI agents query and compare normalized indicators like population, inflation, and GDP through natural language.
    10
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Read-only MCP server for querying DPVAT (Brazilian insurance) guide issuance information from an official source. It provides a single tool that allows users to consult DPVAT guide data via natural language in any MCP-compatible client.
    MIT