I’m no LLM lover, i believe they are much more limited in their usefulness than the hype says.
But your example feels like a bad illustration of your point. LLMs operate on words, and can’t read your mind - if you had given me (a human) this task with these prompts i too would have failed because i can’t divine your intent even slightly.