教檢試卷檢索 (教育部 / TQA)
tw_search_teacher_exam
台灣專屬MIT
**關鍵字 / Keywords**: 教檢 教資考 教師資格考 教育部 師培 幼兒園 特教 國小 中等學校 teacher qualification exam
以關鍵字 + 過濾條件,檢索台灣**教師資格考試 (教檢)** 試卷.
Corpus: 教育部 (受託臺師大心測中心) 主辦, 民國 094-115 (西元 2005-2026),
~110 份試卷 (5 類科 × ~22 年). 上游 tqa.rcpet.edu.tw.
**與 tw_search_exam 區隔**:
- tw_search_exam = 考選部 國家考試 (律師 / 司法官 / 高普考 等)
- tw_search_teacher_exam = 教育部 教師資格考試 (教檢, 培養師資)
兩者主管機關不同、法源不同、考生池不同, 故拆分 corpus.
參數:
query: subject_name / category 子字串 (paper 級無 embedding, 走 keyword)
exid: 應試類科 (10=幼兒園, 21=身心障礙組, 22=資賦優異組,
30=國民小學, 40=中等學校)
category_contains: 類科名子字串 (例「幼兒園」「特殊」「中等」)
subject_contains: 科目名子字串 (例「教育原理」「國語文」)
year_from / year_to: 西元年範圍
limit: top-K (1..100, 預設 20)
回傳 schema:
{n_corpus, n_returned, query,
hits: [{paper_id, exam_year (民國), exam_year_西元, exam_name,
exid, category, subject_name, question_type,
question_count, has_answers,
question_pdf_url, answer_pdf_url}, ...]}
後續取單一試卷 全部題目 + 答案: tw_get_teacher_exam_paper(paper_id=...)
題目級語意檢索: tw_search_teacher_exam_questions("白話 query", ...)
典型用法:
tw_search_teacher_exam(exid="10", year_from=2023)
tw_search_teacher_exam(subject_contains="特殊教育", category_contains="特殊")
tw_search_teacher_exam(query="課程與教學")輸入 schema
{
"properties": {
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Query"
},
"exid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Exid"
},
"category_contains": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Category Contains"
},
"subject_contains": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Subject Contains"
},
"year_from": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Year From"
},
"year_to": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Year To"
},
"limit": {
"default": 20,
"title": "Limit",
"type": "integer"
}
},
"title": "tw_search_teacher_examArguments",
"type": "object"
}呼叫方式
配置好 Twinkle Hub 的 MCP client 後,agent 會看到 tw_search_teacher_exam。直接讓它呼叫即可,例如:
# Ask Claude / any MCP client: 請用 tw_search_teacher_exam 處理 "…"。 # It will call: tw_search_teacher_exam(input="…")
尚未設定 Client?
Claude Desktop 約 3 分鐘即可完成設定 — 下載 .mcpb 檔案並雙擊即可,或參閱文件中的各 Client 安裝步驟。
查看使用者設定文件