Skip to content

Add tool annotations (readOnlyHint, destructiveHint) #27

@toloco

Description

@toloco

MCP clients use tool annotations to decide auto-approval vs user confirmation. All read tools should be marked readOnlyHint: true. mcp-go supports WithReadOnlyHintAnnotation(true).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions