← Back to directory

MCP Tool Schema: Definitions from API Docs — skill file for AI agents (AISkills402)

https://api.aiskills402.com/v1/skills/mcp-tool-schema/file

Overview

Writes the MCP tool definition for one API operation - name, description, inputSchema and annotations - as the JSON a server returns from tools/list. The schema takes exactly the parameters the operation takes - required ones listed, defaults stated, exact enums, integer amounts, date formats, ranges, string and array limits, either-or parameters that refuse a call with both or neither - and refuses unknown ones. Credentials never become parameters, text in the API docs that speaks to the assistant stays out of the description, one tool does one operation, and every tool gets a title and all four annotations as explicit true or false (reads, safe repeats, destructive writes, open world), as the MCP specification of 2025-11-25 and the Claude and ChatGPT directories expect. Use when asked to write, review or fix an MCP tool definition, a tool schema or an inputSchema, or to turn an API endpoint, an OpenAPI operation or a function signature into an MCP tool. One-time purchase of the SKILL.md file itself (Agent Skills format), not an API call: $0.03 USDC on Base over x402, yours forever incl. free re-downloads and new versions. No account, no API key. Tested with a strong and a weak model; the card tells you where the weak one fails: https://aiskills402.com/skills/mcp-tool-schema

Protocol x402
Price $0.03
Payment Asset USD Coin
Payment Network Base
Category ai/agent-skills
Provider aiskills402
Source bazaar
Indexed 2026-10-15 19:19:16

Health

Status healthy
Latency (p50) 573ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-12-03 13:31:01
Last Healthy 2026-12-03 13:31:01
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "type": "http" }

Output Schema

{ "example": { "file": { "content": "<the SKILL.md file>", "encoding": "utf-8", "name": "SKILL.md" }, "name": "MCP Tool Schema: Definitions from API Docs", "ok": true, "receipt": { "settled": true, "tx": "0x<settlement transaction>" }, "redownload": { "token": "<64 hex chars>", "url": "<api>/v1/purchases/<token>" }, "sha256": "<sha256 of SKILL.md>", "skill": "mcp-tool-schema", "version": "1.0.0" }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-12-03 13:31:01 healthy 402 3061ms
2026-12-03 10:46:47 healthy 402 573ms
2026-12-03 04:21:21 healthy 402 429ms
2026-12-02 21:54:39 healthy 402 305ms
2026-12-02 16:39:51 healthy 402 762ms
2026-12-02 10:42:45 healthy 402 555ms
2026-12-02 03:36:27 healthy 402 2815ms