(a)
from typing import Optional

@mcp.tool()
async def get_time(country: Optional[str] = None) -> str:
    """
    国コードがない場合はデフォルトJPを使用
    """
    if country is None:
        country = "JP"
    ...




(b)
inputSchema={
    'properties': {
        'country': {
            'anyOf': [{'type': 'string'}, {'type': 'null'}],
            'default': None
        }
    },
    'type': 'object'
},