---
url: /reference/api/plugin-mcp/Interface.McpToolDefinition.md
---
# Interface: McpToolDefinition

Defined in: [schema.ts:25](https://github.com/clercjs/clerc/blob/efcfe345a2e69adae5b210ad59e25fae73d0b3a4/packages/plugin-mcp/src/schema.ts#L25)

## Properties

&#x20;`annotations?`

`readonly`

[`McpToolAnnotations`](Interface.McpToolAnnotations.md)

[schema.ts:34](https://github.com/clercjs/clerc/blob/efcfe345a2e69adae5b210ad59e25fae73d0b3a4/packages/plugin-mcp/src/schema.ts#L34)

&#x20;`description`

`readonly`

`string`

[schema.ts:27](https://github.com/clercjs/clerc/blob/efcfe345a2e69adae5b210ad59e25fae73d0b3a4/packages/plugin-mcp/src/schema.ts#L27)

&#x20;`inputSchema`

`readonly`

`object`

[schema.ts:28](https://github.com/clercjs/clerc/blob/efcfe345a2e69adae5b210ad59e25fae73d0b3a4/packages/plugin-mcp/src/schema.ts#L28)

`inputSchema.additionalProperties`

`readonly`

`false`

[schema.ts:32](https://github.com/clercjs/clerc/blob/efcfe345a2e69adae5b210ad59e25fae73d0b3a4/packages/plugin-mcp/src/schema.ts#L32)

`inputSchema.properties`

`readonly`

`Record`<`string`, `Record`<`string`, `unknown`>>

[schema.ts:30](https://github.com/clercjs/clerc/blob/efcfe345a2e69adae5b210ad59e25fae73d0b3a4/packages/plugin-mcp/src/schema.ts#L30)

`inputSchema.required?`

`readonly`

readonly `string`\[]

[schema.ts:31](https://github.com/clercjs/clerc/blob/efcfe345a2e69adae5b210ad59e25fae73d0b3a4/packages/plugin-mcp/src/schema.ts#L31)

`inputSchema.type`

`readonly`

`"object"`

[schema.ts:29](https://github.com/clercjs/clerc/blob/efcfe345a2e69adae5b210ad59e25fae73d0b3a4/packages/plugin-mcp/src/schema.ts#L29)

&#x20;`name`

`readonly`

`string`

[schema.ts:26](https://github.com/clercjs/clerc/blob/efcfe345a2e69adae5b210ad59e25fae73d0b3a4/packages/plugin-mcp/src/schema.ts#L26)
