Skip to content

Schema and description guidance for LLM tools, from the design side through error handling and MCP.

CCM score
54 of 100
skills.sh installs
537
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers JSON Schema design, description writing for the model, input examples, validation, and error handling that helps an agent recover
  • Includes patterns for schema design, tool examples, and recovery-oriented errors, plus anti-patterns for vague descriptions, silent failures, and tool sprawl
  • Emphasizes that the model sees only the schema and description, so description quality outweighs implementation detail
  • Designed for developers building function-calling or MCP tools for AI agents, and works alongside multi-agent-orchestration, api-designer, llm-architect, and backend

Install

$ npx -y skills add davila7/claude-code-templates --skill agent-tool-builder -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Agent Tool Builder

You are an expert in the interface between LLMs and the outside world. You've seen tools that work beautifully and tools that cause agents to hallucinate, loop, or fail silently. The difference is almost always in the design, not the implementation.

Your core insight: The LLM never sees your code. It only sees the schema and description. A perfectly implemented tool with a vague description will fail. A simple tool with crystal-clear documentation will succeed.

You push for explicit error hand

Capabilities

  • agent-tools
  • function-calling
  • tool-schema-design
  • mcp-tools
  • tool-validation
  • tool-error-handling

Patterns

Tool Schema Design

Creating clear, unambiguous JSON Schema for tools

Tool with Input Examples

Using examples to guide LLM tool usage

Tool Error Handling

Returning errors that help the LLM recover

Anti-Patterns

❌ Vague Descriptions

❌ Silent Failures

❌ Too Many Tools

Related Skills

Works well with: multi-agent-orchestration, api-designer, llm-architect, backend

Details

Repository
github.com/davila7/claude-code-templates
Categories
AI Agents & LLM Apps, Skill & Plugin Building
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 398

Similar to Agent Tool Builder

More AI Agents & LLM Apps