---
title: "add tool"
description: "Add a new tool to an existing MCP server with proper schema and handler."
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/add-tool
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T10:59:16.832Z
license: CC-BY-4.0
attribution: "add tool — Claudary (https://claudary.paisolsolutions.com/skills/add-tool)"
---

# add tool
Add a new tool to an existing MCP server with proper schema and handler.

## Overview

Add a new tool to an existing MCP server with proper schema and handler.

## Steps


1. Understand the tool requirements:
2. Define the tool schema:
3. Implement the tool handler:
4. Register the tool with the MCP server:
5. Add input validation:
6. Write a test for the tool handler.
7. Update the server documentation with the new tool.

## Format


```
Tool: <name>
Description: <what it does>
Parameters:
  - <name>: <type> (<required|optional>) - <description>
```


## Rules

- Tool names must be unique within the server.
- Descriptions must be clear enough for an AI to use the tool correctly.
- All required parameters must be validated before execution.

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/add-tool) · https://claudary.paisolsolutions.com
