~つもりだった/~たつもり
(1) I meant to … (but didn't); (2) I thought I had … (but actually hadn't)
N4
V (dictionary / ない form) + つもりでした (intended but didn't) / V (た form) + つもりでした (thought I had done it)
~つもりでした (つもりだった) means you intended to do something but in the end didn't, usually followed by が/のに and a reason ({電話|でんわ}するつもりでしたが、{忘|わす}れてしまいました). With the た form, ~たつもり means 'I thought I had done it' when in fact you hadn't, or not properly ({鍵|かぎ}を{閉|し}めたつもりでした). At work this pattern helps you explain a mistake politely: {確認|かくにん}したつもりでしたが、{間違|まちが}えました。すみません. Learners often use present つもりです to talk about past plans; when the plan did not happen, switch to つもりでした. Unlike plain つもり (an intention from now on), this pattern looks back at the past and usually carries regret or surprise.
Examples
店長に電話するつもりでしたが、忘れてしまいました。
I meant to call the store manager, but I forgot.
鍵を閉めたつもりでしたが、ドアが開いていました。
I thought I had locked it, but the door was open.
今日は早く寝るつもりだったのに、残業で遅くなりました。
I meant to go to bed early today, but overtime made me late.
Exercises
1.先週、国へ帰る が、仕事が忙しくて帰れませんでした。
2.ちゃんと数を確認した でしたが、一つ足りませんでした。