Back to list
abhishekmmgn

mcp-tool-definition

by abhishekmmgn

agent skills

0🍴 0📅 Jan 20, 2026

SKILL.md


name: mcp-tool-definition description: best practices for defining MCP tools using JSON schemas. Use this to design robust inputSchema, outputSchema, and annotations that guide the model effectively.

MCP Tool Definition Standards

Goal

Design "Model-Ready" tools that self-document their purpose, validation logic, and side effects, enabling agents to use them autonomously and correctly.

The Tool Schema

Every tool must adhere to a strict JSON structure. While inputSchema is required, best practice dictates including outputSchema and annotations for robustness.

{
  "name": "create_ticket",
  "description": "Creates a new support ticket in the Jira system. Use this when a user reports a bug or feature request.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "title": { "type": "string", "description": "Concise summary of the issue" },
      "priority": { "type": "string", "enum": ["low", "high"], "description": "Severity level" }
    },
    "required": ["title", "priority"]
  },
  "outputSchema": {
    "type": "object",
    "properties": {
      "ticket_id": { "type": "string" },
      "status": { "type": "string" }
    }
  },
  "annotations": {
    "destructiveHint": true
  }
}

Score

Total Score

40/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon