webmcp-tool-schemas

Design and refine JSON Schemas for WebMCP tool inputs and outputs.

35|16|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/OrcaQubits/agentic-commerce-claude-plugins --skill webmcp-tool-schemas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webmcp-tool-schemas
Source: https://github.com/OrcaQubits/agentic-commerce-claude-plugins/tree/main/webmcp-browser-agents/skills/webmcp-tool-schemas
Command: npx skills add https://github.com/OrcaQubits/agentic-commerce-claude-plugins --skill webmcp-tool-schemas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you define and refine JSON Schemas for WebMCP tools, ensuring proper data types, constraints, and clear documentation for agent consumption and input validation.

Core Features & Use Cases

  • Schema Definition: Create JSON Schemas for tool inputs and outputs.
  • Type and Constraint Enforcement: Specify correct data types (string, number, array, object) and apply constraints (minLength, maximum, enum, pattern).
  • Agent Guidance: Ensure agents understand parameter requirements through descriptive schema properties.
  • Input Validation: Enable browser-side validation of agent-provided inputs against defined schemas.
  • Use Case: When developing a new WebMCP tool for product search, use this Skill to design an inputSchema that requires a query string and optionally accepts maxPrice (number) and category (enum).

Quick Start

Use the webmcp-tool-schemas skill to design a JSON schema for a 'product-search' tool with 'query' and 'maxPrice' parameters.

Frequently Asked Questions about webmcp-tool-schemas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a JSON schema for WebMCP tool inputs?

To design a JSON schema for WebMCP tool inputs, you define proper data types, apply constraints like minLength or enum, and add descriptive properties so agents understand parameter requirements for input validation.

What constraints can I apply to JSON schemas for agentic tools?

You can apply constraints to JSON schemas for agentic tools by specifying correct data types such as string or object, and enforcing rules including minLength, maximum, enum, and pattern to guide agent behavior and validate inputs.

How do JSON schemas improve WebMCP input validation and agent guidance?

JSON schemas improve WebMCP input validation by adhering to JSON Schema standards, enabling browser-side validation of agent-provided inputs, and ensuring agents understand parameter requirements through descriptive schema properties.

Can I use JSON schema for commerce operations like product search and add-to-cart?

Yes, you can use JSON schema for commerce operations like product search and add-to-cart by defining an inputSchema that requires a query string and optionally accepts parameters like maxPrice as a number or category as an enum.

What is the best way to structure output schemas for WebMCP APIs?

The best way to structure output schemas for WebMCP APIs is to define and refine JSON Schemas for tool outputs, ensuring proper type specification and constraint application while maintaining agent-friendly documentation.

Why does my WebMCP tool fail to validate agent-provided inputs?

WebMCP tool input validation fails when JSON schemas lack proper type specification, missing constraints, or insufficient descriptive properties, preventing browsers from accurately validating agent-provided inputs against defined standards.