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 个工具