Why does this /give command not work?

I have an /give command that does not work: give @p baked_potato[attribute_modifiers=[{id:"attack_speed",type:"attack_speed",amount:1,operation:"add_value",slot:"mainhand",display:{type:"default"}},{id:"attack_damage",type:"attack_damage",amount:5,operation:"add_value",slot:"mainhand",display:{type:"default"}}],tool={can_destroy_blocks_in_creative:true,default_mining_speed:1,damage_per_block:1,rules:[{speed:100,correct_for_drops:true,blocks:"#screwdriver:metalic_blocks"}]},custom_name={"color":"dark_red","text":"Screwdriver"},lore=[{"color":"white","text":"Screwdriver Datapack (by Tostbroti)"}],item_model="screwdriver:screwdriver",!consumable,max_damage=250] If I remove the max_damage component it works but why cant I add that?

Continue to help post