Tool Function Schema Designer

🌐Community
by patricio0312rev · vlatest · Repository

Automatically generates structured schemas and function definitions for databases based on natural language descriptions.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add tool-function-schema-designer npx -- -y @trustedskills/tool-function-schema-designer
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "tool-function-schema-designer": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/tool-function-schema-designer"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill automatically generates structured schemas and function definitions for databases, designed to be reliably invoked by Large Language Models (LLMs). It produces code in a format compatible with OpenAI's function calling schema, including TypeScript interfaces and Zod validation schemas. The goal is to simplify the process of creating robust tool integrations for AI agents that interact with data sources.

When to use it

  • You need to define structured inputs and outputs for an LLM-powered agent interacting with a database.
  • You want to ensure consistent data types and formats when passing information between your agent and backend functions.
  • You are building custom tools that require precise parameter validation before execution.
  • You're working on integrating multiple tools into a single AI agent workflow.

Key capabilities

  • Generates OpenAI function calling schemas (including name, description, parameters).
  • Creates corresponding TypeScript interfaces for type safety.
  • Provides Zod schemas for runtime validation of tool parameters.
  • Includes example implementation functions and a tool registry structure.

Example prompts

  • "Create a schema for a function that searches product documentation, allowing filtering by category and version."
  • "Generate a tool definition to create support tickets with fields for subject, description, and priority."
  • "Design a function schema for retrieving user profiles, including optional parameters for sorting and pagination."

Tips & gotchas

  • The generated schemas are designed for OpenAI's function calling format. Ensure your LLM is configured to utilize this format.
  • This skill focuses on generating the schema and validation logic; you will need to implement the actual backend functionality (e.g., the search_documentation function in the example).

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
patricio0312rev
Installs
30

🌐 Community

Passed automated security scans.