Optimizely
WebMCP Studio
Back to overview
Typed MCP tools

Every tool is typed, validated, and ready for an SDK.

JSON Schema in, TypeScript out. The agent gets runtime validation, your team gets autocompletion.

Every generated tool ships with a named input schema and a strongly-typed execute() signature. The same schema powers agent discovery, runtime validation, test fixtures, and copy-paste TypeScript for your backend.

01

JSON Schema, not prose

Claude discovers each tool with a strict `inputSchema` — enum unions, required fields, format hints — so malformed calls fail fast instead of reaching your DOM.

02

Generated .d.ts files

The Dev tab exposes a `.d.ts` per tool: `{ToolName}Input`, `{ToolName}Result`, `{ToolName}Tool`. Drop into your agent app for typed calls.

03

Test skeletons out of the box

Every tool gets a Vitest `test.spec.ts` covering happy path, missing-required rejection, and result shape — so CI catches regressions before agents do.

Generated Zod/JSON schema
inputSchema: {
type: "object",
properties: {
projectName: { type: "string", minLength: 1 },
template: {
type: "string",
enum: ["blank", "react", "node"]
},
},
required: ["projectName"]
}