It is acting as a local signaling agent. It allows for more platelets to be attracted to the damaged area, instead of having them sent all over the body. As a local signal, it is also acting on the behavior of nearby cells, which is seen by the vascular spasm that is being instigated at the site of the damage.