RIO DE JANEIRO — Intelligence officers who think they might like to be posted in Brazil take note: A simple meeting with the country’s spying hierarchy can get your cover blown.

Brazil’s political establishment was captivated on Monday by the apparently casual revelation of the identity of a Central Intelligence Agency official in the capital, Brasília, by the office of Gen. Sérgio Westphalen Etchegoyen, the country’s top intelligence official.

General Etchegoyen’s staff mentioned the official by name and described the official’s position as the C.I.A.’s “chief” in Brasília in a publicly available agenda of the spymaster’s meetings on June 9.

The naming of a C.I.A. official in that manner is thought to be highly unusual, given the secrecy with which spies are supposed to operate. But General Etchegoyen’s office said in a statement that cabinet-level officials are required to disclose their schedules under Brazil’s freedom of information law, enacted in 2011. The names and jobs of those they meet with are registered to observe the “publicity principle” enshrined in the Brazilian Constitution, the statement said.