tsb-kasko-mcp
tsb-kasko-mcp — TSB Kasko Değer Listesi用MCPサーバーとCLI
Türkiye Sigorta Birliği(TSB)が公開しているKasko Değer Listesi(カスコ価格リスト)を照会する
オープンソースのMCPサーバー、コマンドラインツール、Pythonクライアントです。
Claude、ChatGPT、Gemini、Cursor内から「2025年型Audi A3のカスコ価格はいくらですか」と尋ねたり、
ターミナルから tsb-kasko lookup 2025 "audi a3" と入力したり、
自分のPythonプロジェクトでライブラリとして使用できます。
カスコ価格リストは、トルコで販売されるすべてのカスコ保険の保険料を決定する基準価格です。 また、全損(完全損害)や盗難の場合に支払われる金額の根拠でもあります。 このプロジェクトは、TSBのウェブサイトのバックグラウンドで使用されている、 認証不要のエンドポイントを型付けされたクライアントに変換します。
インターフェース | 実行方法 | 対象 |
MCPサーバー |
| Claude, ChatGPT, Gemini, Cursor |
コマンドライン |
| ターミナル、スクリプト、CI |
Pythonクライアント |
| 自作アプリケーション |
パッケージをインストールすると、2つのコマンドが同時に利用可能になります。別途CLIパッケージをインストールする必要はありません。
目次
Related MCP server: Tabela FIPE
このツールの目的
AIアシスタントからのカスコ価格照会。 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-mcpClaude 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
.cursor/mcp.json またはワークスペースの .vscode/mcp.json ファイルに同じ mcpServers ブロックを追加します。
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://sunucu:8000/mcp で公開されます。最も簡単な方法はDockerのセクションを参照してください。
MCPツール
ツール | 機能 |
| フリーテキストから車両を検索し、各マッチのカスコ価格を返します。これがメインツールです。 |
| リストがカバーするモデル年を返します。対象は2012年以降です。 |
| 特定のモデル年のブランドを一覧表示します。 |
| 特定のブランドのそのモデル年におけるタイプを一覧表示します。 |
| モデルIDがわかっている単一の車両の価格を読み取ります。 |
| 特定の月の公開済みExcelファイルを解析します。 |
| 過去の月のリスト内を検索します。 |
| 特定の月の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トランスポートで公開します。マルチステージビルドを使用し、非rootユーザーで実行され、ファイルシステムは読み取り専用です。
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アプリケーションのルートアドレス。 |
|
| リクエストごとのタイムアウト(秒)。 |
|
| 一時的なエラー時の再試行回数。 |
|
|
|
|
| ブランドとモデルリストのキャッシュ有効期限(秒)。 |
|
| キャッシュディレクトリ。 |
|
| MCPトランスポート: |
|
| HTTPトランスポートのリスニングアドレス。 |
|
| HTTPトランスポートのポート。 |
|
| ASGIアプリケーションのエンドポイントパス。 |
使用するTSBエンドポイント
TSBはAPI契約を公開していません。以下のエンドポイントは、サイトのフロントエンドが使用している、認証やクッキーを必要としないものです。
すべて src/tsb_kasko/endpoints.py で一箇所に定義されています。
エンドポイント | パラメータ | 戻り値 |
| なし | カバーされるモデル年 |
|
| ブランド |
|
| タイプ |
|
| カスコ価格と車両コード |
| なし | アーカイブ月 |
|
| 月次Excelファイルのパス |
2つの詳細が注目に値します:
ブランドリストの
VehicleBrandCodeフィールドは常に0になります。保険証券に記載されている実際のブランドコードは、GetInsuranceDatasの応答でのみ埋まっています。GetMonthListのIdフィールドは暦月ではありません。1月は2、10月は1のIDを持ちます。そのため、クライアントは月IDを計算せず、ライブリストから解決します。
プロジェクト構造
3つのインターフェースはすべて、同じコアの上に載った薄いラッパーです。そのため、すべてが1つのリポジトリに存在します:TSBがエンドポイントをリネームした場合、修正は1つのファイルで行われ、3つの別々のバージョンを同期する必要はありません。
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 installuv 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で同じ結果
このリポジトリは、3つのOSすべてで同じ動作をするように設定されています:
.python-versionはPythonバージョンを3.14に固定します。uvが必要に応じてダウンロードします。パッケージがサポートする範囲は>=3.11で、CIは4つのバージョンをすべてテストします。.gitattributesはすべてのテキストファイルをリポジトリ内でLFで保存します。Windowsでcore.autocrlfが有効でも、リポジトリにCRLFは入りません。CIのステップでこれをさらにチェックします。.editorconfigはインデント、エンコーディング、改行をエディタに依存せずに固定します。.devcontainer/を使用すると、何もインストールせずにコンテナ内で開発できます。
詳細は CONTRIBUTING.md を参照してください。
よくある質問
カスコ価格とは何ですか?どのように決定されますか? TSBが毎月発行する、ブランドとタイプに基づく基準車両価格です。 保険会社はこの価格に基づいて保険料と損害賠償を計算します。
自分の車のカスコ価格を調べるには?
tsb-kasko lookup <model_yılı> "<marka ve tip>" コマンドを実行するか、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は責任を負いません。 公式の情報源は常に tsb.org.tr です。
エンドポイントはTSBによって文書化されていないため、予告なく変更される可能性があります。その場合は、src/tsb_kasko/endpoints.py ファイルを更新するだけで十分です。
コントリビューションとライセンス
コントリビューションガイド:CONTRIBUTING.md
行動規範:CODE_OF_CONDUCT.md
セキュリティポリシー:SECURITY.md
変更履歴:CHANGELOG.md
MITライセンスで公開されています。トルコ語情報の翻訳:docs/lisans.md.
Available Tools
8 toolskasko_archive_fileARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Publication year of the list, for example 2025. | |
| month | Yes | Calendar month of the list, 1 for January. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Publication year of the list, for example 2025. | |
| month | Yes | Calendar month of the list, 1 for January. | |
| destination | No | Directory to save into. Defaults to the current working directory. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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_valueARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | Model identifier returned by kasko_list_models or kasko_lookup. | |
| model_year | Yes | Vehicle model year, for example 2025. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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_brandsARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| model_year | Yes | Vehicle model year, for example 2025. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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_modelsARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| brand | Yes | Brand name or fragment, for example 'audi' or 'vw'. | |
| model_year | Yes | Vehicle model year, for example 2025. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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_yearsARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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_lookupARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Optional brand name to restrict the search and speed it up. | |
| limit | No | Maximum number of priced matches to return. | |
| query | Yes | Free 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_year | Yes | Vehicle model year, for example 2025. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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_archiveARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Publication year of the list, for example 2025. | |
| limit | No | Maximum number of rows to return. | |
| month | Yes | Calendar month of the list, 1 for January. | |
| query | No | Optional free text filter applied to brand and model names. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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.
8 tool updates
v0.1.0- First observed
kasko_archive_file - First observed
kasko_download_archive - First observed
kasko_get_value - First observed
kasko_list_brands - First observed
kasko_list_model_years - First observed
kasko_list_models - First observed
kasko_lookup - First observed
kasko_search_archive
TDQS
Scored across 8 tools
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.
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.
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.
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
Related MCP Connectors
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
SmartMoney77 MCP v0.6.0 — 14 public tools that turn financial questions into exact numbers and citable links. New: historical_investment_return and compare_investments, which compute "what if I had invested" results from real yearly price data. Also compound interest, FIRE number, credit-card payoff, emergency fund, inflation, latte factor, investment fees, cost of waiting, plus discovery/deep-link/share-pack tools for a catalog of calculators in 6 languages (he/en/ar/es/pt/in). Public, no login. Endpoint: https://smartmoney77.com/mcp
337 MCP tools with x402 micropayments on Base. $0.001/call. No signup, no API keys.
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides 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.471MIT
- AlicenseNot gradedqualityDmaintenanceProvides 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
- AlicenseAqualityAmaintenanceMCP 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.10MIT
- AlicenseNot gradedqualityCmaintenanceRead-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