MCP · MCP0001

Give every MCP tool an annotations.title

Report MCP tools whose annotations have no human-readable title.
MCP0001vite-doctor/mcptoolswarnSuggestion

Run this rule

pnpm vite-doctor . --rules mcp/tools/require-annotation-title

Why it matters

Clients show a tool by its title, and MCP has carried it in annotations.title since the 2025-03-26 revision. The top-level title only arrived in 2025-06-18, so older clients never see it, and some newer client surfaces still ignore it: Claude Code's transcript shows the bare tool name. Anthropic's Connectors Directory review asks every tool for a title and hint annotations, and its portal has flagged tools that set only the top-level title. Both MCP toolkits fill the top-level title from the file name and pass annotations through as written, so a file-discovered tool ships without one unless you add it.

Set annotations.title to the same human-readable name as the top-level title.

Example

Name the tool in its annotations

Before

export default defineMcpTool({
  name: 'get_kpis',
  title: 'Get KPIs',
  annotations: { readOnlyHint: true },
  handler: () => kpis(),
})

After

export default defineMcpTool({
  name: 'get_kpis',
  title: 'Get KPIs',
  annotations: { title: 'Get KPIs', readOnlyHint: true },
  handler: () => kpis(),
})
Copyright © 2026