〜たつもり・〜つもりで
thought I had; as if; meant it as
Verb た-form / ている / Noun + の + つもり(で)
Sign up free to review this point on a spaced schedule.
At N5, つもり was an intention: 行くつもりだ, "I plan to go". After a た-form or a state, it's what someone believes is true, often wrongly: 鍵をかけたつもりだったが、開いていた, "I thought I'd locked it, but it was open".
About someone else, it can be critical: 彼は何でも知っているつもりだ, "he thinks he knows everything".
With で, it means acting "as if": 旅行したつもりで、お金を貯金した, "I saved the money as if I'd gone on the trip".
After a noun with の, it's what you meant something as: 冗談のつもりだった, "I meant it as a joke". Compare ふり, which is pretending to others; つもり is what's in your own head.
Examples
鍵をかけたつもりだったが、開いていた。
I thought I'd locked it, but it was open.
旅行したつもりで、お金を貯金した。
I saved the money as if I'd gone on the trip.
自分では丁寧に書いたつもりです。
I believe I wrote it carefully.
彼は何でも知っているつもりだ。
He thinks he knows everything.
冗談のつもりだったのに、怒られた。
I meant it as a joke, but they got angry.