ToolSchema Forge

Convert, lint and generate LLM tool schemas for OpenAI, Anthropic, Gemini and MCP

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
97%
命名品質
88%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,112Token(工具定義)
~1.3 KB典型回應大小
中等的注意力影響(128k 上下文的 0.87%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "toolschema-forge": {
      "url": "https://toolschema-forge.toolschemaforge.workers.dev/mcp"
    }
  }
}

遠端端點

https://toolschema-forge.toolschemaforge.workers.dev/mcpstreamable-http

它能做什麼

工具清單

工具(5)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢convert_tool_schema(tool, targets)

Convert one LLM tool/function definition between OpenAI, OpenAI strict mode, Anthropic, Gemini, MCP and plain JSON Schema. The input format is auto-detected. Every change is reported as an issue with a JSON pointer. Free: 5 calls/hour per IP with arguments up to 8 KB; then $0.01 USDC per call via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "tool": {
      "type": "object",
      "description": "Tool definition in any supported format (OpenAI chat/responses, Anthropic, Gemini, MCP, or {name, description, parameters})."
    },
    "targets": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "openai",
          "openai_strict",
          "anthropic",
          "gemini",
          "mcp",
          "jsonschema"
        ]
      },
      "minItems": 1,
      "description": "Target formats. Default: all."
    }
  },
  "required": [
    "tool"
  ]
}
🟢lint_tool_schema(tool, targets)

Check one LLM tool definition against each provider's schema rules (OpenAI strict, Anthropic, Gemini, MCP) and report errors and warnings with fixes. Free: 5 calls/hour per IP with arguments up to 8 KB; then $0.005 USDC per call via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "tool": {
      "type": "object",
      "description": "Tool definition in any supported format."
    },
    "targets": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "openai",
          "openai_strict",
          "anthropic",
          "gemini",
          "mcp",
          "jsonschema"
        ]
      },
      "minItems": 1,
      "description": "Providers to check. Default: all."
    }
  },
  "required": [
    "tool"
  ]
}
🟢openapi_to_tools(spec, target, include, maxTools)

Turn an OpenAPI 3.x or Swagger 2.0 spec (JSON object) into LLM tool definitions in the chosen format, one tool per operation. Free: 5 calls/hour per IP with arguments up to 8 KB; then $0.02 USDC per call via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "spec": {
      "type": "object",
      "description": "OpenAPI 3.x or Swagger 2.0 document as JSON."
    },
    "target": {
      "type": "string",
      "enum": [
        "openai",
        "openai_strict",
        "anthropic",
        "gemini",
        "mcp",
        "jsonschema"
      ],
      "description": "Output format. Default openai."
    },
    "include": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional operationIds or 'METHOD /path' strings to include."
    },
    "maxTools": {
      "type": "integer",
      "minimum": 1,
      "maximum": 128
    }
  },
  "required": [
    "spec"
  ]
}
🟢batch_convert_tool_schemas(tools, targets)

Convert up to 50 tool definitions at once to the chosen formats, with per-tool issues and ready-to-use bundles. Free: 5 calls/hour per IP with arguments up to 8 KB; then $0.05 USDC per call via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "tools": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "minItems": 1,
      "maxItems": 50,
      "description": "1-50 tool definitions in any supported format."
    },
    "targets": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "openai",
          "openai_strict",
          "anthropic",
          "gemini",
          "mcp",
          "jsonschema"
        ]
      },
      "minItems": 1,
      "description": "Target formats. Default: all."
    }
  },
  "required": [
    "tools"
  ]
}
🟢mcp_manifest(openapi, tools, server, include)

Generate an MCP server manifest (tools with inputSchema, titles, annotations, HTTP bindings) and a TypeScript stdio server stub from an OpenAPI spec or a list of tools. Free: 5 calls/hour per IP with arguments up to 8 KB; then $0.15 USDC per call via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "openapi": {
      "type": "object",
      "description": "OpenAPI 3.x or Swagger 2.0 document as JSON. Give this or tools."
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "minItems": 1,
      "maxItems": 100,
      "description": "Tool definitions in any supported format. Give this or openapi."
    },
    "server": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      },
      "description": "Optional server info overrides."
    },
    "include": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional operationIds or 'METHOD /path' strings to include (openapi input)."
    }
  }
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本5 個工具