MCP Tool Schema Generator

Generate an MCP, OpenAI or Anthropic tool schema from example arguments.

Support
Works Offline
Privacy First
No Login
No API

Tool definition

Example arguments

Paste a sample arguments object — the schema is inferred from it.

Generated tool schema

Properties
3
Required
3
Format
MCP
JSON
{
  "name": "get_weather",
  "description": "Get the current weather for a city.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "city": {
        "type": "string",
        "description": "The city."
      },
      "units": {
        "type": "string",
        "description": "The units."
      },
      "include_forecast": {
        "type": "boolean",
        "description": "The include forecast."
      }
    },
    "required": [
      "city",
      "units",
      "include_forecast"
    ],
    "additionalProperties": false
  }
}

About the MCP Tool Schema Generator

Paste a sample arguments object and get a complete tool definition with an inferred JSON Schema: types, integer detection, string formats such as email, uri, uuid and date-time, required fields and optional generated descriptions. Export as an MCP tools/list entry, an OpenAI function tool or an Anthropic tool block.

Examples

Weather tool

JSON{"city":"Berlin","units":"metric"}

Output

{"name":"get_weather","inputSchema":{"type":"object", ...}}

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Comments

No login needed. Comments appear after a quick review.

Protected by an on-site captcha — no third-party trackers.

Optional: get an alert when your comment is published or replied to, plus new tool announcements. No sign-up.

Loading comments…

Version 1.0.0 · Updated 2026-08-16 · Runs entirely in your browser