Skip to main content
Glama

get_subject_master

Retrieve subject labels and their corresponding IDs to map and organize subject data within the Manalink MCP Server, enabling efficient search and categorization.

Instructions

科目マスタを取得します。このマスタの取得を通じて、科目のラベルとIDの対応を取得します。

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • src/server.ts:19-30 (registration)
    Registration of the 'get_subject_master' tool, including its description and inline handler function that returns the subjects master as formatted JSON text.
    server.tool( "get_subject_master", "科目マスタを取得します。このマスタの取得を通じて、科目のラベルとIDの対応を取得します。", async () => { return { content: [{ type: "text" as const, text: JSON.stringify(subjects, null, 2) }] }; } );
  • The subjects master data array used by the get_subject_master tool handler.
    export const subjects: Subject[] = [ { id: 40, name: "英語", code: "english" }, { id: 45, name: "理科", code: "science" }, { id: 46, name: "化学", code: "chemistry" }, { id: 47, name: "物理", code: "physics" }, { id: 48, name: "算数", code: "math" }, { id: 49, name: "中学数学", code: "juniorhighschoolmath" }, { id: 50, name: "高校数学", code: "highschoolmath" }, { id: 51, name: "国語", code: "language" }, { id: 52, name: "古典", code: "classic" }, { id: 53, name: "社会", code: "social" }, { id: 212, name: "その他の科目", code: "others" }, { id: 2655, name: "総合型・学校推薦型対策", code: "essay" }, { id: 2657, name: "金融", code: "finance" }, { id: 2658, name: "情報", code: "information" } ];
  • Type definition (schema) for Subject entries in the master data.
    export interface Subject { id: number; name: string; code: string; }

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TeXmeijin/manalinkMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server