site
Drivers' Hours Calculator: the site's own MCP server — calculator, enquiry (enquiry = a human...
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"site": {
"url": "https://drivershourscalculator.co.uk/mcp"
}
}
}リモートエンドポイント
https://drivershourscalculator.co.uk/mcpstreamable-httpできること
ツール一覧
ツール(5)
🟢calculator_describe
The inputs this calculator takes (with units, ranges and defaults), the outputs it returns, and the assumptions and tables behind it.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢calculate(planned, extUsed, weekTotal, prevWeek, continuous)
Run the Driver capacity planner calculator: Additional driving you can roster today; Driving before a 45-minute break must be scheduled; Capacity left this fixed week; Capacity left in the two-week window. Missing inputs fall back to their documented defaults.
入力スキーマ
{
"type": "object",
"properties": {
"planned": {
"type": "number",
"minimum": 0,
"maximum": 10,
"description": "Driving already logged or rostered today",
"default": 7
},
"extUsed": {
"type": "string",
"enum": [
"0",
"1",
"2"
],
"description": "Extended (10-hour) driving days already used this fixed week",
"default": "1"
},
"weekTotal": {
"type": "number",
"minimum": 0,
"maximum": 56,
"description": "Driving this fixed week so far (including today)",
"default": 38
},
"prevWeek": {
"type": "number",
"minimum": 0,
"maximum": 56,
"description": "Driving in the previous fixed week",
"default": 44
},
"continuous": {
"type": "number",
"minimum": 0,
"maximum": 4.5,
"description": "Driving accumulated since the last qualifying break",
"default": 3.5
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡enquiry_describe
Read first. States plainly what submit_enquiry does on Drivers' Hours Calculator: it starts an enquiry with human providers who quote directly. Nothing is bought, ordered or paid; no quote is guaranteed; it is free. Also returns who receives the details, the consent wording, and how the person confirms.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡enquiry_fields
Every field of the Drivers' Hours Calculator enquiry: key, label, type, whether required, help text and the allowed options where there are any. Pass answers to submit_enquiry keyed by field key.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡submit_enquiry(answers, consent, confirmation)
Submits an enquiry to Drivers' Hours Calculator — NOT a purchase, NOT a guaranteed quote. Step 1: call with the answers (keyed by field key from enquiry_fields) and consent=true; it validates and returns a summary, the consent line and a confirmation token — show the person the summary and the consent line. Step 2: only if the person agrees, call again with the same answers, consent=true and the confirmation token; the enquiry is then submitted, and the person receives an email with a link they must click before any provider sees it. Consent means the person has read and agreed to: "Happy for my details to go to a relevant transport compliance consultant, who'll get in touch with me directly."
入力スキーマ
{
"type": "object",
"properties": {
"answers": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean"
]
},
"description": "the person's answers, keyed by field key"
},
"consent": {
"type": "boolean",
"description": "true only when the person has agreed to: Happy for my details to go to a relevant transport compliance consultant, who'll get in touch with me directly."
},
"confirmation": {
"type": "string",
"description": "the confirmation token from step 1, after the person has approved the summary"
}
},
"required": [
"answers",
"consent"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}コミュニティ
エビデンス