Why do people not instruct agents to "not spend more than $x on the task, including tokens and AWS charges"?

Does this even work?