def METHOD_NAME(
    cls,
    renderer_configuration: RendererConfiguration,
) -> RendererConfiguration:
    add_param_args: AddParamArgs = (
        ("column", RendererValueType.STRING),
        ("mostly", RendererValueType.NUMBER),
    )
    for name, param_type in add_param_args:
        renderer_configuration.add_param(name=name, param_type=param_type)
    params = renderer_configuration.params
    template_str = "values must be parseable as JSON"
    if params.mostly and params.mostly.value < 1.0:  # noqa: PLR2004
        renderer_configuration = cls._add_mostly_pct_param(
            renderer_configuration=renderer_configuration
        )
        template_str += ", at least $mostly_pct % of the time."
    else:
        template_str += "."
    if renderer_configuration.include_column_name:
        template_str = f"$column {template_str}"
    renderer_configuration.template_str = template_str
    return renderer_configuration