Skip to main content
Glama
the-up

tsb-kasko-mcp

by the-up

tsb-kasko-mcp — MCP-сервер и CLI для списка страховых сумм каско TSB

Сервер с открытым исходным кодом MCP, инструмент командной строки и клиент Python для запроса Списка страховых сумм каско, публикуемого Турецкой ассоциацией страхования (TSB). С помощью Claude, ChatGPT, Gemini и Cursor можно спросить: «Сколько стоит страховка каско на Audi A3 2025 года?»; написать в терминале tsb-kasko lookup 2025 "audi a3"; или использовать как библиотеку в своём проекте Python.

CI Python MCP Лицензия: MIT Покрытие тестами

Список сумм каско — это эталонная стоимость, по которой оценивается каждый полис каско, продаваемый в Турции. Она также является основой для выплаты в случае полного ущерба (перт) и кражи. Этот проект превращает конечные точки, используемые в фоновом режиме веб-сайта TSB и не требующие аутентификации, в типизированный клиент.

Интерфейс

Как запустить

Для кого

MCP-сервер

tsb-kasko-mcp

Claude, ChatGPT, Gemini, Cursor

Командная строка

tsb-kasko lookup 2025 "audi a3"

Терминал, скрипт, CI

Клиент Python

from tsb_kasko import TsbKaskoClient

Ваше собственное приложение

При установке пакета появляются обе команды; устанавливать отдельный пакет CLI не нужно.

Содержание

Related MCP server: Tabela FIPE

Для чего это нужно

  • Запрос суммы каско через ИИ-ассистента. Задаёте вопрос на естественном языке в Claude, ChatGPT и Gemini, модель вызывает инструмент и возвращает актуальную сумму.

  • Запрос из терминала. Команда tsb-kasko lookup 2025 "audi a3 sportback" выводит таблицу, JSON или CSV напрямую.

  • Код транспортного средства в полисе. Результаты также содержат пару код марки - код модели, которую запрашивает страховщик, например 9-1616.

  • Архивные списки. TSB публикует список каждый месяц. Вы можете скачать Excel-файл за прошлые месяцы или выполнить поиск внутри него.

  • Библиотека Python. В своём проекте вы можете напрямую использовать класс TsbKaskoClient.

Установка

Предварительное условие: uv. Он также установит Python.

Для пробы без установки:

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

Постоянная установка:

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

или с помощью pip:

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

Пакет ещё не опубликован на PyPI. Когда будет опубликован, uv tool install tsb-kasko-mcp и pip install tsb-kasko-mcp также будут работать; рабочий процесс публикации готов в репозитории.

Инструкции по установке для разработки из репозитория см. в разделе Разработка.

Установка MCP

Сервер поддерживает как транспорт stdio, так и потоковый HTTP, поэтому он работает как с настольными клиентами, так и с хостингованными коннекторами.

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:

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

Cursor / VS Code

Добавьте тот же блок mcpServers в файл .cursor/mcp.json или .vscode/mcp.json в рабочей области.

Gemini CLI

Добавьте в файл ~/.gemini/settings.json:

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

ChatGPT и другие удалённые клиенты

Коннекторы ChatGPT подключаются к серверу через HTTP. Запустите сервер в режиме HTTP:

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

или с любым ASGI-сервером:

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

Конечная точка по умолчанию публикуется по адресу http://сервер:8000/mcp. Самый простой способ — см. раздел Docker.

Инструменты MCP

Инструмент

Что делает

kasko_lookup

Находит автомобиль по произвольному тексту и возвращает страховую сумму для каждого совпадения. Это основной инструмент.

kasko_list_model_years

Возвращает модельные годы, охватываемые списком. Охватывает 2012 год и более поздние.

kasko_list_brands

Перечисляет марки для данного модельного года.

kasko_list_models

Перечисляет типы для данной марки в данном модельном году.

kasko_get_value

Читает стоимость одного автомобиля с известным идентификатором модели.

kasko_archive_file

Анализирует опубликованный Excel-файл за определённый месяц.

kasko_search_archive

Выполняет поиск в списке за прошлый месяц.

kasko_download_archive

Скачивает Excel-файл за определённый месяц на диск.

Все инструменты, кроме kasko_download_archive, помечены как readOnlyHint; то есть клиент может вызывать их без запроса подтверждения.

Использование командной строки

# 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

Пример вывода:

                      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

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

Контейнер публикует MCP-сервер через HTTP-транспорт. Использует двухэтапную сборку, работает от непривилегированного пользователя, файловая система только для чтения.

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

Чтобы только собрать образ и запустить CLI:

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

Версия Python фиксируется в образе через ARG PYTHON_VERSION и использует ту же версию, что и .python-version в репозитории.

Конфигурация

Все настройки можно переопределить через переменные окружения.

Переменная

Значение по умолчанию

Описание

TSB_KASKO_BASE_URL

https://www.tsb.org.tr

Корневой адрес приложения TSB.

TSB_KASKO_TIMEOUT

30

Тайм-аут на запрос, секунды.

TSB_KASKO_MAX_RETRIES

3

Количество попыток при временных ошибках.

TSB_KASKO_CACHE

1

При 0 кэш полностью отключается.

TSB_KASKO_CACHE_TTL

21600

Время жизни кэша для списков марок и моделей, секунды.

TSB_KASKO_CACHE_DIR

~/.cache/tsb-kasko

Директория кэша.

TSB_KASKO_TRANSPORT

stdio

Транспорт MCP: stdio, http или sse.

TSB_KASKO_HOST

127.0.0.1

Адрес прослушивания для HTTP-транспорта.

TSB_KASKO_PORT

8000

Порт для HTTP-транспорта.

TSB_KASKO_MCP_PATH

/mcp

Путь конечной точки в ASGI-приложении.

Используемые конечные точки TSB

TSB не публикует контракт API. Ниже приведены конечные точки, используемые внешним интерфейсом сайта, не требующие аутентификации и куки. Все они определены в одном месте в src/tsb_kasko/endpoints.py.

Конечная точка

Параметры

Возвращает

GET /InsuranceData/GetVehicleYearList

нет

Охватываемые модельные годы

GET /InsuranceData/GetVehicleBrandList

VehicleYear

Марки

GET /InsuranceData/GetVehicleModelList

vehicleYear, VehicleBrandId

Типы

GET /InsuranceData/GetInsuranceDatas

VehicleYear, VehicleModelId

Сумма каско и код автомобиля

GET /InsuranceData/GetMonthList

нет

Архивные месяцы

GET /InsuranceData/GetInsuranceDataArchiveFile

Year, MonthId

Путь к ежемесячному Excel-файлу

Две детали примечательны:

  1. Поле VehicleBrandCode в списке марок всегда равно 0. Реальный код марки, указанный в полисе, приходит только в ответе GetInsuranceDatas.

  2. Поле Id в GetMonthList не является номером месяца календаря. Январь имеет идентификатор 2, Октябрь — 1. Поэтому клиент не вычисляет идентификатор месяца, а получает его из живого списка.

Структура проекта

Все три интерфейса — это тонкие обёртки поверх одного и того же ядра. Поэтому все они живут в одном репозитории: если TSB переименует какую-либо конечную точку, исправление вносится в один файл, и не требуется синхронизация трёх отдельных версий.

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ı

Такая же структура используется в проектах github/github-mcp-server, microsoft/playwright-mcp и grafana/mcp-grafana: общее ядро, поверх него несколько точек входа.

Разработка

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ı

Тесты используют точные копии реальных ответов от TSB, поэтому при изменении контракта тесты сломаются. Нет тестов, выходящих в сеть.

Одинаковый результат на Windows, macOS и Linux

Этот репозиторий настроен для одинакового поведения на всех трёх операционных системах:

  • .python-version фиксирует версию Python на 3.14; uv при необходимости загрузит её. Однако поддерживаемый пакетом диапазон — >=3.11, и CI тестирует все четыре версии.

  • .gitattributes хранит каждый текстовый файл в репозитории с окончанием строки LF. Даже если core.autocrlf включён в Windows, в репозиторий не попадут символы CRLF. В CI есть отдельный шаг для проверки этого.

  • .editorconfig фиксирует отступы, кодировку и конец строки независимо от редактора.

  • С помощью .devcontainer/ вы можете разрабатывать внутри контейнера, ничего не устанавливая.

Подробности см. в CONTRIBUTING.md.

Часто задаваемые вопросы

Что такое стоимость каско и как она определяется? Это эталонная стоимость транспортного средства по марке и типу, публикуемая TSB ежемесячно. Страховые компании рассчитывают на основе этой стоимости премию полиса и выплату по ущербу.

Как узнать стоимость каско моего автомобиля? Выполните команду tsb-kasko lookup <модельный_год> "<марка и тип>" или установите MCP-сервер и спросите своего ассистента. Официальный источник всегда — tsb.org.tr.

Что такое код транспортного средства в полисе? Это пара код марки - код модели, которую запрашивает страховщик, например 9-1616. В результатах возвращается в поле vehicle_code.

Какие модельные годы охватываются? 2012 и более поздние. Актуальный список можно увидеть с помощью tsb-kasko years.

Могу ли я получить список за прошлый месяц? Да. tsb-kasko archive search 2025 2 --query "sahin" выполняет поиск в Excel-файле за прошлый месяц, а archive download скачивает сам файл.

Этот проект официальный? Нет. См. отказ от ответственности ниже.

Отказ от ответственности

Этот проект не связан с TSB и не поддерживается TSB. Данные берутся с общедоступной страницы TSB. По собственному заявлению TSB, они не несут ответственности за последствия использования этих значений в сделках. Официальный источник всегда — tsb.org.tr.

Поскольку конечные точки не задокументированы TSB, они могут измениться без предупреждения. В таком случае достаточно обновить файл src/tsb_kasko/endpoints.py.

Вклад и лицензия

MIT опубликовано под лицензией. Перевод на турецкий язык: 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