SkillsReviewed · seb1n

Tool Schema Design

Tool Schema Design is an assistant skill for developers building AI tools, but its bundled checker cannot establish runtime safety or provider compatibility. It combines tool-design instructions, JSON Schema patterns and a Python validator that flags common structural errors and risky input designs.

Researched 16 Nov 2026

In short.

Tool Schema Design is a skill for developers defining tools that AI assistants can call, with a checker whose results cover common schema mistakes rather than runtime safety. It addresses tool naming, bounded inputs, server-side authorization, confirmation, retries and error handling. The supplied code supports a concrete account of its checks, but installation, execution, provider acceptance and improvements in model behavior remain untested.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises the four supplied files in agent-engineering/tool-schema-design at revision 75865a5d037a4cdaa7f409a4ec14ab9b0292920b and the accompanying repository-level LICENSE. Other repository content, external provider documentation, host installation behavior and backend implementations are outside this scope. Findings describe the instructions and statically inspected code; no execution, integration, security certification or measured performance is established.

The overview

identity

Tool Schema Design is the agent-engineering/tool-schema-design folder in seb1n/awesome-ai-agent-skills. Its four supplied files are SKILL.md, assistant interface metadata in agents/openai.yaml, references/schema-patterns.md and scripts/validate_tool_schema.py. The original source location is [https://github.com/seb1n/awesome-ai-agent-skills/tree/main/agent-engineering/tool-schema-design].

The skill guides an assistant through designing model-facing tool definitions. A tool definition tells a model which operation is available, when to choose it and which input fields it accepts.

assessment

The resource is useful for turning backend operations into clearer choices for an AI assistant. Its main strength is connecting input design with the consequences of execution: who may act, when confirmation is needed and whether retrying can duplicate a change.

The checker provides a bounded review aid. There are no supplied execution results, model-selection evaluations or compatibility results establishing how effectively the skill reduces errors in practice.

users

The intended users are developers creating or revising function-calling tools, MCP tools, plugin actions and internal agent integrations. It also addresses existing problems such as choosing the wrong tool, inventing input fields and exposing unsafe operations.

Beginners get concrete naming rules and examples, but need basic JSON knowledge and an understanding of the underlying operation. Experienced developers get guidance on authorization boundaries, duplicate requests, partial success and implementation drift.

capabilities

The skill asks for a tool-boundary decision, a name and description, constrained parameters, execution contracts, realistic tests and validation findings. It recommends separating operations with different permissions or side effects, keeping trusted identity server-side and defining stable error codes.

The Python checker accepts a direct function definition or a nested function wrapper. Its code checks names, descriptions, parameter structure, required-property declarations, arrays, bounds and several composition keywords. Review warnings cover command execution, privilege flags, credential-like fields, unrestricted locations, unknown fields and missing input bounds.

Using it

requirements

Assistant use requires an environment that can load the skill instructions and access its reference and script files. The supplied assistant metadata defines a display name, short description and invocation prompt; it does not establish installation compatibility across hosts.

The validator requires Python 3 and imports only standard-library modules. An exact minimum Python version is not declared. Applying the design guidance also requires knowledge of backend permissions, side effects, failure modes and the target provider's supported schema features.

mechanism

The instructions organize design around one coherent user intent per tool. JSON Schema then describes the accepted input structure, while separate contracts define authorization, confirmation, timeouts, retries and recovery. An idempotency key identifies an operation so a repeated request can avoid duplicating its effects.

The checker reads a local JSON definition and produces structured findings containing structurally_valid, strict_pass, errors and warnings. Structural errors cause exit status 1. With --strict, warnings also cause exit status 1; otherwise warnings can accompany exit status 0. Unreadable input or invalid JSON produces exit status 2. This strict setting controls the checker's disposition and does not establish compatibility with a provider's strict schema mode.

setup

Obtain the complete skill folder from the captured revision, preserving its agents, references and scripts directories, together with the repository LICENSE. The pinned source is [https://github.com/seb1n/awesome-ai-agent-skills/tree/75865a5d037a4cdaa7f409a4ec14ab9b0292920b/agent-engineering/tool-schema-design]. Host-specific installation steps are not supplied.

The documented invocation from the skill directory is python3 scripts/validate_tool_schema.py tool.json --strict. The input file contains the tool definition; the script does not call the underlying tool. After addressing findings, the instructions require validation against the target provider and tests of the actual implementation.

example

The supplied calendar example separates finding an event from rescheduling it. The mutation takes an opaque event identifier, start and end timestamps with timezones, and an idempotency key. Account identity stays server-side, and notifying attendees triggers confirmation.

Suggested tests include missing timezones, an end before the start, stale events, unauthorized calendars, duplicate retries and requests that should select a neighboring create-event tool. These are proposed scenarios; no executed results are supplied.

Assessment & evidence

limitations

The checker implements selected structural checks and conservative heuristics, rather than complete JSON Schema or provider validation. For example, its code accepts $ref without resolving it and treats many nonempty patterns as constraints without establishing that they safely restrict input. It does not validate real argument instances or inspect backend behavior.

A clean result cannot establish authorization correctness, safe confirmation, sandboxing, resistance to malicious URLs or paths, or reliable model tool selection. Name-based warnings can also flag fields whose safety depends on documented runtime controls.

There is a concrete example mismatch: the reference's get_order_status definition gives order_id a minLength but no maxLength. By inspection, the checker would flag that missing maximum in strict mode. This is a source-based inference, not an observed execution result. The supplied folder contains no test suite or benchmark results.

reasoning

The practical value is its combination of model-facing clarity and execution responsibilities. Distinct intents, bounded parameters and explicit descriptions give developers concrete design decisions to review; authorization, confirmation and retry contracts address consequences that a parameter schema cannot express alone.

That combination makes it relevant when adapting an existing API for assistant use. Any improvement in model accuracy or operational safety still depends on the implementation and remains unmeasured in the supplied evidence.

alternatives

The material identifies target-provider validation and generic JSON Schema validation as additional ways to assess definitions. Provider validation addresses the accepted schema subset; implementation tests address actual authorization, confirmation, errors and side effects.

No competing skill or validator product is evaluated in the supplied files, so relative coverage, convenience and cost are unknown.

evidence

SKILL.md establishes the intended workflow and verification requirements. schema-patterns.md supplies parameter, mutation and error examples. validate_tool_schema.py establishes the implemented checks and exit behavior by source inspection. openai.yaml supplies assistant interface metadata, and the repository LICENSE supplies redistribution terms.

The evidence supports analysis of these files' contents. No code was executed. Installation behavior, actual outputs, provider acceptance, backend integration and model performance are untested.

Access & freshness

costs

No pricing, support fees or measured operating costs are supplied. The checker imports only Python standard-library modules and contains no paid-service integration. Costs for an assistant, model API, hosting or implementation work depend on the chosen environment and remain unknown.

rights

The supplied repository-level MIT License names Copyright (c) 2026 Burhan Sebin. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions.

The license supplies the material without warranty. Redistribution of the captured skill files should retain the accompanying LICENSE notice.

freshness

The supplied snapshot identifies revision 75865a5d037a4cdaa7f409a4ec14ab9b0292920b, captured on 2026-11-16 at 10:17:40 UTC. This identifies the analyzed source version, not its publication date.

The commit date, release history, later changes and current provider compatibility are unknown. The main-branch source address can change independently of this pinned revision.

actions

Before applying the skill, document the intended operation, trusted actor context, side effects and failure modes. Keep account identity and authorization decisions in the implementation, and define confirmation and duplicate-request behavior for consequential changes.

Review the checker's findings, validate the definition with the target provider and exercise neighboring-tool selection, invalid inputs, denied requests, duplicate retries and ambiguous timeouts. Treat structurally_valid and strict_pass as limited findings; evidence from implementation tests is still needed.

Evidence for this report

LICENSEnotice · checked 2026-11-16
agent-engineering/tool-schema-design/SKILL.mdselected · checked 2026-11-16