Skip to main content
Glama
mo666-med

Enhanced Miyabi MCP Server

by mo666-med

miyabi__generate_article

Generate medical AI academic articles with LLM countermeasures and thumbnail instructions using article metadata, key concepts, and author perspectives.

Instructions

医療AI関連の学術記事を生成します(LLMO対策、サムネイル指示付き)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
articleTitleYes参照元の論文/記事のタイトル
articleAuthorNo著者名
articleSourceNo出典
articleUrlYes参照元のURL
keyConceptsNoキーコンセプト(箇条書き)
perspectiveYes執筆者のペルソナ・専門分野
angleYes論文の切り口
deepDivePointsNo特に深掘りしたい論点

Implementation Reference

  • The main handler logic for the 'miyabi__generate_article' tool within the callToolHandler switch statement. It returns a structured JSON response indicating success, echoing input parameters, and providing a detailed multi-step plan for generating a medical AI academic article.
    case "miyabi__generate_article": {
      return {
        content: [{
          type: "text",
          text: JSON.stringify({
            status: "success",
            message: "記事生成を開始します",
            article: {
              title: args.articleTitle,
              author: args.articleAuthor || "不明",
              source: args.articleSource || "不明",
              url: args.articleUrl,
              perspective: args.perspective,
              angle: args.angle,
              deepDivePoints: args.deepDivePoints || "指定なし"
            },
            nextSteps: [
              "1. 参照元の完全読解と分析",
              "2. 超詳細な論文構成案の策定",
              "3. 補足情報の調査と引用準備",
              "4. 品格ある文体での本文執筆(8000字以上)",
              "5. 引用文献リストの作成(最大10本)",
              "6. 最終校正と整形",
              "7. 末尾LLMOまとめ",
              "8. ハッシュタグ(10個)",
              "9. サムネイル画像の生成prompt(3点)"
            ]
          }, null, 2)
        }]
      };
    }
  • src/handlers.js:93-134 (registration)
    The tool registration entry in listToolsHandler function, including the tool name, description, and detailed inputSchema defining parameters for generating medical AI articles.
    {
      name: "miyabi__generate_article",
      description: "医療AI関連の学術記事を生成します(LLMO対策、サムネイル指示付き)",
      inputSchema: {
        type: "object",
        properties: {
          articleTitle: {
            type: "string",
            description: "参照元の論文/記事のタイトル"
          },
          articleAuthor: {
            type: "string",
            description: "著者名"
          },
          articleSource: {
            type: "string",
            description: "出典"
          },
          articleUrl: {
            type: "string",
            description: "参照元のURL"
          },
          keyConcepts: {
            type: "string",
            description: "キーコンセプト(箇条書き)"
          },
          perspective: {
            type: "string",
            description: "執筆者のペルソナ・専門分野"
          },
          angle: {
            type: "string",
            description: "論文の切り口"
          },
          deepDivePoints: {
            type: "string",
            description: "特に深掘りしたい論点"
          }
        },
        required: ["articleTitle", "articleUrl", "perspective", "angle"]
      }
    }
  • Helper function to detect if a prompt is an article writing task, which triggers dispatching to the miyabi__generate_article tool via auto_dispatch.
    export function isArticleWritingTask(prompt) {
      const articleKeywords = [
        '記事', '論文', 'note', 'ブログ', '執筆', '書いて', '作成',
        'article', 'paper', 'blog', 'write', 'create', 'post',
        '医療AI', '医療', 'AI', 'LLMO', 'サムネイル', 'ハッシュタグ'
      ];
    
      const lowerPrompt = prompt.toLowerCase();
      return articleKeywords.some(keyword => lowerPrompt.includes(keyword.toLowerCase()));
    }

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/mo666-med/enhanced-miyabi-mcp'

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